joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180a0059
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
push ebx
mov ebx, edx
push esi
mov esi, ecx
mov dword [ebp - 0x184], ebx
push edi
mov edx, esi
mov byte [ebx], 0
lea ecx, [ebp - 0xc]
call fcn.180a020a
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push dword [esi]
lea eax, [ebp - 8]
push 0xbff
push eax
call fcn.18044187
xor eax, eax
mov dword [ebp - 0x44], 0x181a1c78
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
push 0x138
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x180]
push eax
call fcn.181370e0
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x180]
call fcn.1811693e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x180]
call fcn.18116a6f
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test eax, eax
jns 0x180a013a
push 4
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete cl
test eax, eax
mov byte [ebx], cl
setne bl
jmp 0x180a016a
push 0
lea ecx, [ebp - 0x17c]
call fcn.1800bc34
xor ebx, ebx
inc ebx
push ebx
push dword [ebp - 0x17c]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x44]
call fcn.1809f83b
mov ecx, dword [ebp - 0x184]
mov al, byte [ebp - 0x54]
mov byte [ecx], al
lea ecx, [ebp - 0x180]
call fcn.181169f5
lea ecx, [ebp - 0x44]
call fcn.18046493
lea ecx, [edi - 0x10]
call fcn.18006f72
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret
Function at 0x180a32d1
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.1801f853
mov edi, eax
call fcn.18011f9e
xor ebx, ebx
push ebx
push 0x989680
push edx
push eax
call fcn.1815dc00
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdate_
lea esi, [eax + 0x49ef6f00]
cmp byte [ebp - 8], bl
jne 0x180a3317
mov ecx, str.HKCUSoftwareMicrosoftEdgeUpdate_
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 4
mov edx, str.RetryAfter
call fcn.1801a4f1
mov ecx, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
jns 0x180a3337
mov ecx, ebx
cmp esi, ecx
jae 0x180a3345
lea eax, [esi + 0x15180]
cmp ecx, eax
jbe 0x180a3394
push ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xe], bl
push eax
mov ecx, edi
call fcn.18021779
mov esi, eax
test esi, esi
jne 0x180a339b
movzx ecx, byte [0x181dc05a]
neg ecx
sbb ecx, ecx
and ecx, 0x181dbf50
je 0x180a3394
push 7
pop edx
inc eax
mov dword [ebp - 0x20], ecx
push eax
push edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.18008b5d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push str._ShouldCheckForUpdates_returned_0__checks_disabled_
push eax
call fcn.18007230
pop ecx
pop ecx
xor al, al
jmp 0x180a3438
push dword [ebp - 8]
call fcn.18021ab9
mov edi, eax
call fcn.1801f853
push ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
call fcn.18024374
test eax, eax
js 0x180a33cf
cmp byte [ebp - 0xd], bl
jne 0x180a3436
cmp edi, esi
jl 0x180a3436
lea eax, [esi + 0xe10]
cmp edi, eax
jge 0x180a3434
cmp byte [ebp - 0xe], bl
jne 0x180a3434
push ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 4
mov edx, str.DisableUpdateAppsHourlyJitter
mov ecx, str.HKLMSoftwareMicrosoftEdgeUpdateDev_
call fcn.1801a4f1
add esp, 0xc
test eax, eax
js 0x180a340c
cmp dword [ebp - 8], ebx
setne al
test al, al
jne 0x180a3434
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx eax, al
neg eax
push 0x64
sbb eax, eax
xor edx, edx
and eax, dword [ebp - 8]
pop ecx
div ecx
cmp edx, 0x5a
setb bl
jmp 0x180a3436
mov bl, 1
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret
Function at 0x180ac411
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x14]
call fcn.180076af
push str.F3C4FE00_EFD5_403B_9569_398A20F1BA4A
lea ecx, [ebp - 0x10]
call fcn.180074fa
mov cl, byte [esi]
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
call fcn.1803438a
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x14]
call fcn.1800c099
cmp edx, 0x10003
ja 0x180ac483
jb 0x180ac479
cmp eax, ebx
jae 0x180ac483
mov ebx, 0x80004001
jmp 0x180ac591
mov edx, edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
call fcn.18012790
mov dword [ebp - 8], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.180130bd
push 0x34
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.181370e0
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0x1e
call fcn.1803a708
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, edi
push dword [edi - 0xc]
call fcn.18012851
pop ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.18009e8a
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.1803a87a
mov cl, byte [esi]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
xor edx, edx
mov dword [ebp - 0xc], ebx
inc edx
call fcn.18027372
mov esi, dword [ebp - 0xc]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
js 0x180ac560
cmp dword [ebp + 0xc], 0
je 0x180ac55e
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 0xc], 0
test eax, eax
jne 0x180ac544
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180ac557
mov ebx, dword [ebp - 0xc]
jmp 0x180ac560
cmp eax, 0x102
jne 0x180ac557
push 0xa0432501
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x80004005
jmp 0x180ac560
xor ebx, ebx
test esi, esi
je 0x180ac56b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea ecx, [ebp - 0x48]
call fcn.1803a7a5
lea ecx, [edi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret 8
Function at 0x180b5e8c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
xor ebx, ebx
mov byte [ebp - 9], cl
call fcn.1801f853
cmp byte [ebp - 9], bl
je 0x180b5efc
mov dword [ebp - 0x14], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 0x14]
call fcn.180076af
lea eax, [ebp - 0x14]
push eax
xor eax, eax
lea ecx, [ebp - 0x18]
inc eax
push eax
push str.MicrosoftCrashReports
mov dword [ebp - 0x10], eax
call fcn.180074fa
push 0x26
mov edx, eax
pop ecx
call fcn.1801ea42
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x18], ebx
jmp 0x180b5f46
mov dword [ebp - 8], ebx
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
lea eax, [ebp - 8]
push eax
push 1
push str.MicrosoftCrashReports
lea ecx, [ebp - 0x10]
call fcn.180074fa
push 0x1c
mov edx, eax
pop ecx
call fcn.1801ea42
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov edi, dword [ebp - 8]
mov eax, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], 2
lea ecx, [eax - 0x10]
call fcn.1800a0da
lea esi, [eax + 0x10]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x18], ebx
je 0x180b5f61
lea ecx, [edi - 0x10]
call fcn.18006f72
cmp dword [ebp - 0x10], ebx
je 0x180b5f71
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.18006f72
cmp byte [ebp - 9], bl
je 0x180b5f91
cmp dword [esi - 0xc], ebx
je 0x180b5f96
lea ecx, [ebp - 8]
call fcn.180b5d1c
mov esi, dword [ebp - 8]
test eax, eax
jns 0x180b5f91
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esi - 0xc], ebx
jne 0x180b5fc1
lea ecx, [ebp - 0x10]
call fcn.18015061
push eax
lea ecx, [ebp - 8]
call fcn.18009e8a
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], ebx
jne 0x180b5fc1
mov ebx, 0x8004fffc
jmp 0x180b5fd3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x180b5fd3
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.18009e8a
lea ecx, [esi - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret
Function at 0x180cbc06
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x180cbd5d
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x180cbd5d
cmp ecx, 0x29
jne 0x180cbc46
cmp dword [esi + 0x10], 0
jne 0x180cbd5d
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x180cbd61
jmp 0x180cbd1b
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x180cbc64
push 5
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov ecx, esi
call fcn.180cbbde
jmp 0x180cbd4b
cmp ecx, 0x5c
jne 0x180cbcb5
mov ecx, esi
call fcn.180cbbde
test byte [edi], 0x80
je 0x180cbca9
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x180cbc92
push 4
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov ecx, esi
call fcn.180cbbde
jmp 0x180cbd52
cmp al, 0x42
jne 0x180cbca9
push 4
lea ecx, [esi + 0x24]
call fcn.18062eeb
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x180cbc86
mov ecx, esi
call fcn.180cc172
jmp 0x180cbd4b
cmp ecx, 0x5b
jne 0x180cbcd5
mov ecx, esi
call fcn.180cbbde
mov ecx, esi
call fcn.180cc126
cmp dword [esi + 0x4c], 0x5d
je 0x180cbc58
push 4
jmp 0x180cbd63
cmp ecx, 0x28
jne 0x180cbcf2
mov ecx, esi
call fcn.180cbbde
mov ecx, esi
call fcn.180cc243
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x180cbd61
jmp 0x180cbd40
cmp ecx, 0x5e
jne 0x180cbcfb
push 2
jmp 0x180cbc7e
cmp ecx, 0x24
jne 0x180cbd07
push 3
jmp 0x180cbc7e
cmp ecx, 0x2a
je 0x180cbd59
cmp ecx, 0x2b
je 0x180cbd59
cmp ecx, 0x3f
je 0x180cbd59
cmp ecx, 0x7b
je 0x180cbd59
cmp ecx, 0x7d
jne 0x180cbd28
test dword [edi], edx
jne 0x180cbd31
push 6
jmp 0x180cbd63
cmp ecx, 0x5d
jne 0x180cbd31
test dword [edi], edx
je 0x180cbcce
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.180cc388
mov bl, 1
mov ecx, esi
call fcn.180cbbde
test bl, bl
je 0x180cbd52
mov ecx, esi
call fcn.180cc2c8
mov al, 1
jmp 0x180cbc0d
push 0xa
jmp 0x180cbd63
pop edi
pop esi
pop ebx
ret
push 5
call fcn.1806238f
int3

Function at 0x180d0f90
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.180d0fea
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, eax
lea ecx, [edi + 8]
call fcn.180187c5
xor eax, eax
push eax
push eax
push edi
push 0x180d1040
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [edi + 4]
call fcn.180187c5
cmp dword [edi + 8], 0
je 0x180d0fdd
cmp dword [edi + 4], 0
je 0x180d0fdd
mov al, 1
jmp 0x180d0fe6
mov ecx, edi
call fcn.180d0fea
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x180da7ad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
push 0x181a5dc4
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 0xf
call fcn.1801e33d
push 0x20a
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.181370e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x180da8ad
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], edi
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], 7
call fcn.1800fd04
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x250]
call fcn.180dfe93
push eax
mov ecx, esi
call fcn.1803a005
lea ecx, [ebp - 0x250]
call fcn.18014b5c
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x180da8ad
mov ecx, dword [ebp - 0x238]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], ecx
cmp eax, 0x1000
jb 0x180da8a4
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.18007b92
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
push eax
push ecx
call fcn.18122966
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.18122438
leave
ret
Function at 0x180e535f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
cmp dword [edi + 0x10], eax
je 0x180e54b4
cmp dword [edi + 0x10], 0x20
jne 0x180e54b4
mov dword [ebp - 0x18], ebx
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180e53b7
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180e52b3
cmp al, 0xff
je 0x180e54b4
mov ecx, dword [ebp - 0x18]
shl ecx, 4
movzx eax, al
add ecx, eax
inc edx
mov dword [ebp - 0x18], ecx
cmp edx, 8
jl 0x180e53ad
jmp 0x180e540a
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180e53e7
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180e52b3
cmp al, 0xff
je 0x180e54b4
mov ecx, dword [ebp - 0x1c]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x1c], ecx
cmp edx, 0xc
jl 0x180e53dd
cmp edx, 0x10
jae 0x180e5446
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x180e541e
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180e52b3
cmp al, 0xff
je 0x180e54b4
mov ecx, dword [ebp - 0x20]
shl ecx, 4
movzx eax, al
add cx, ax
inc edx
movzx ecx, cx
mov dword [ebp - 0x20], ecx
cmp edx, 0x10
jl 0x180e5414
mov byte [ebp - 0xd], bl
mov al, 1
cmp edx, 0x20
jae 0x180e5496
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], ecx
xor al, 1
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 0xe], al
mov eax, edi
jb 0x180e5465
mov eax, dword [edi]
mov cl, byte [eax + edx]
call fcn.180e52b3
mov cl, byte [ebp - 0xd]
shl cl, 4
add cl, al
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xd], cl
test al, al
je 0x180e548a
mov esi, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov byte [ebp - 0xd], bl
mov byte [esi], cl
inc edx
cmp edx, 0x20
jl 0x180e5456
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 6], ax
mov eax, dword [ebp - 8]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
jmp 0x180e54ba
mov eax, dword [ebp - 0x14]
mov byte [eax], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret
Function at 0x180f1b33
Capabilities:
Create http request

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
inc eax
push 0x102
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x14]
push eax
mov dword [esi], 0x181a3fdc
mov dword [esi + 0xc], 0x181a3adc
call fcn.1815e835
xor ebx, ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
push 0x2c
lfence
call fcn.18122ce8
add esp, 0xc
mov dword [eax], eax
push 0x10000000
push ebx
push ebx
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push ebx
mov dword [esi + 0x44], eax
push ebx
mov byte [esi + 0x4c], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x10], eax
mov eax, esi
pop esi
pop ebx
ret
Function at 0x180f82c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x102
mov dword [edi], 0x181a4254
lea eax, [edi + 0xc]
mov dword [edi + 4], ebx
push eax
mov dword [edi + 8], ebx
call fcn.1815e835
lea esi, [edi + 0x3c]
push 2
push esi
call fcn.1815e835
lea eax, [esi + 0x30]
push eax
call fcn.1815ec5e
mov dword [esi + 0x58], ebx
mov dword [edi + 0x98], ebx
mov dword [edi + 0x9c], ebx
push 0xc
lfence
call fcn.18122ce8
push 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
lfence
call fcn.18122ce8
add esp, 0x1c
lea ecx, [edi + 0xa8]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0xa0], eax
call fcn.180e4b21
push 8
mov dword [edi + 0x108], ebx
mov dword [edi + 0x104], ebx
call fcn.18122ce8
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x180f89f0
push ebx
push ebx
mov dword [eax], edi
mov dword [eax + 4], 0x180f8630
call fcn.181605ec
add esp, 0x1c
mov dword [ebp - 8], eax
test eax, eax
je 0x180f839e
cmp dword [edi + 8], ebx
jne 0x180f83a8
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, edi
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
leave
ret
push 6
mov dword [ebp - 4], ebx
call fcn.1815e490
call fcn.180f8256
int3
Function at 0x180fd1ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x181d600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 0x28], 0xf
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x3c], ebx
lea esi, [edx + 1]
mov dword [ebp - 0x2c], ebx
mov al, byte [edx]
inc edx
test al, al
jne 0x180fd225
sub edx, esi
push edx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1801e33d
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x20]
call fcn.180dfe33
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x180fd27a
mov ecx, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], ecx
cmp eax, 0x1000
jb 0x180fd271
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.18007b92
mov eax, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.18122966
pop ecx
pop ecx
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
jb 0x180fd286
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180fd298
test al, 0x10
jne 0x180fd298
mov bl, 1
lea ecx, [ebp - 0x20]
call fcn.1800fcd6
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.18122438
leave
ret

Function at 0x18106e1b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
fild dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
fstp qword [esi + 8]
fild dword [ebp + 0xc]
mov dword [esi], 0x181a441c
fstp qword [esi + 0x10]
fld qword [ebp + 0x10]
fstp qword [esi + 0x18]
fld qword [ebp + 0x18]
fstp qword [esi + 0x20]
fldz
fst qword [esi + 0x28]
fst qword [esi + 0x30]
fstp qword [esi + 0x38]
call fcn.1815ee0d
or dword [esi + 0x13c4], 0xffffffff
lea edi, [esi + 0x48]
mov ecx, eax
xor edx, edx
mov dword [esi + 0x44], ecx
inc edx
mov ebx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jb 0x18106e69
fldz
mov ecx, esi
mov dword [esi + 0x40], ebx
fstp qword [esi + 0x13c8]
fld1
fstp qword [esi + 0x13d0]
call fcn.18106f16
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x18109868
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x181098b0
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x18109878
jmp 0x181098bd
cmp dword [esi], 0x4e0
jb 0x181098bd
call fcn.181098f7
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x181098f7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x18109909
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x1810994e
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], 0
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
ret