joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b54
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x407c2f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 8]
mov eax, 0x407c44
call fcn.00409454
mov eax, dword [ebp - 8]
call fcn.00404664
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
je 0x407b96
mov eax, dword [0x40b16c]
add dword [eax], 0xa
jmp loc.00415554

Function at 0x408250
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
jmp loc.0041717b

Function at 0x408a40
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xffffffff
je fcn.00408a58
push eax
call sub.kernel32.dll_FindClose
jmp loc.0041561a

Function at 0x408aac
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, eax
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
je 0x408ac9
mov eax, ebx
call fcn.004089dc
pop ebx
ret
jmp loc.00416f2e

Function at 0x408e20
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov eax, ebx
mov edx, 0x408f50
call fcn.00404240
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
jmp loc.0041a6e4

Function at 0x408fc8
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebx
push ecx
mov ebx, eax
mov dword [esp], 2
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je fcn.00408ffa
mov eax, dword [esp]
and eax, 2
cmp eax, 2
jne fcn.00408ffa
mov eax, ebx
mov edx, 0x409034
jmp loc.004167ca

Function at 0x409048
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x198], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x40918f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
jmp loc.00413440

Function at 0x409208
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
jmp loc.00416de7

Function at 0x409304
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x409393
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
jmp loc.00418944

Function at 0x4093ac
Capabilities:
Get common file path
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x40943b
jmp loc.00418b3c
Function at 0x409454
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x4094e3
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x101
call fcn.0040444c
push dword [ebp - 0x10c]
push 0x4094f8
jmp loc.0041594b

Function at 0x4094fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404654
xor eax, eax
push ebp
push 0x40958b
jmp loc.00417afb

Function at 0x4097b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa88
push ebx
push esi
push edi
xor ebx, ebx
jmp loc.004173d9

Function at 0x409afc
Capabilities:
Initialize winsock library
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
push ebx
xor edx, edx
mov dword [ebp - 0x194], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409b71
jmp loc.004151e8

Function at 0x409c74
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], edx
mov edi, eax
xor eax, eax
push ebp
jmp loc.0041378b

Function at 0x409dd8
Capabilities:
Check if file exists
Get file attributes
Packed with generic packer

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00404664
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409df5
jmp loc.00416cb4
xor eax, eax
jmp 0x409dfb
neg al
sbb eax, eax
pop ebx
ret

Function at 0x409e04
Capabilities:
Packed with generic packer

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
jmp loc.00413807

Function at 0x40a060
Capabilities:
Connect network resource
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404654
xor eax, eax
push ebp
push 0x40a2f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
jmp loc.004186d8

Function at 0x40a62c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
xor ebp, ebp
xor edi, edi
lea eax, [ebx + 0x10]
jmp loc.00419317
Function at 0x40a7e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push 0x40a850
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0x40a860
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40c800], eax
push 0x40a870
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40c804], eax
call fcn.00409e04
test eax, eax
je 0x40a83c
push 0x40a884
push ebx
call sub.kernel32.dll_GetProcAddress
mov dword [0x40c80c], eax
push 0x40a894
push ebx
call sub.kernel32.dll_GetProcAddress
jmp loc.0041c62b
jmp loc.0041445a

Function at 0x413dc4
Capabilities:
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40a264
push 0x40a24c
push 0x476aa0
push eax
mov edi, 0x4cf0a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
mov ebx, 0xa
jmp loc.00408699

Function at 0x414db2
Capabilities:
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
pop eax
push ebx
dec edi
pop edi
dec edi
mov dh, 2
push ebx
dec ecx
xchg edx, eax
xor al, 0
leave
popal
popfd
jne 0x4086f1
jmp loc.00408667

Function at 0x4198ea
Capabilities:
Copy file

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
push 0x8001
push 8
push 0x2b4
push eax
push 0x40861c
push 0x408604
push 0x4685a0
push eax
mov edi, 0x4c10a0
push edi
mov eax, edi
add esp, 0x30
leave
popal
popfd
call fcn.00408ad0
jmp fcn.00407c11

Function at 0x41c3c9
Capabilities:
Packed with generic packer

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
push ebx
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
and eax, 0xbfffffff
cmp ax, 6
add esp, 0xc
leave
popal
popfd
mov edx, 5
jmp loc.00408157

Function at 0x41cded
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
pushfd
pushal
push ebp
mov ebp, esp
dec eax
pop eax
push ebx
dec edi
pop edi
dec edi
mov dh, 2
push ebx
dec ecx
xchg edx, eax
xor al, 0
leave
popal
popfd
call fcn.00405694
jmp fcn.0040750a
Function at 0x401068
Capabilities:
Get common file path

Disassembly:
push edi
sub esp, 0x200
mov edi, esp
push 0x7c
push edi
call sub.KERNEL32.dll_GetSystemDirectoryA
lea ecx, [edi + 0x7c]
xor edx, edx
push edx
push edx
push edx
push ecx
push edx
push edi
add edi, eax
mov eax, 0x69636d5c
stosd dword es:[edi], eax
mov eax, 0x337a7471
stosd dword es:[edi], eax
mov eax, 0x6c642e32
stosd dword es:[edi], eax
mov eax, 0x6c
stosd dword es:[edi], eax
call sub.KERNEL32.dll_FindFirstFileExA
add esp, 0x200
pop edi
cmp eax, 0
jg 0x4010b0
ret
pushal
jmp fcn.00401290
Function at 0x402a70
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404630
test esi, esi
jne 0x402aa6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404720
jmp 0x402ac4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402984
mov edi, eax
test esi, esi
je 0x402ac4
cmp dword [ebx], 0
je 0x402ac4
dec esi
jmp 0x402aad
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403654
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x468020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036ec
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036cc
xor eax, eax
push ebp
push 0x4036c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403708
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x468020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x468020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404430
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x46a04c], 0
je 0x404491
cmp word [0x46a220], 0xd7b2
jne 0x404459
cmp dword [0x46a228], 0
jbe 0x404459
mov eax, 0x46a21c
call dword [0x46a238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x468090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4044b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x468030], 0
jne 0x4044ad
push 0
push 0x468088
push 0x468090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4045e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040273c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x46a04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4045ac
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405b14
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d44
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b97
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405b97
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405d60
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405c20
xor eax, eax
push ebp
push 0x405c19
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040595c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405bfe
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405d80
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405bfe
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405c20
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405d3a
cmp byte [ebp - 0xd], 0
jne 0x405c67
cmp byte [ebp - 0x12], 0
je 0x405d3a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405c80
dec ebx
cmp byte [ebx], 0x2e
je 0x405c8f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405c7f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405d3a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405ccc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d3a
cmp byte [ebp - 0xd], 0
je 0x405d3a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405d3a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40640c
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 0x406472
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.004048a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403218
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40645c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406479
lea eax, [ebp - 0x10]
call fcn.00404630
ret

Function at 0x408c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404af0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408c89
test al, 0x10
jne 0x408c8d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b8b8
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b8f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404720
jmp 0x40b8fa
mov eax, ebx
mov edx, esi
call fcn.00404684
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b904
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 0x40b925
mov al, byte [esp]
jmp 0x40b927
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bfac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40be24
mov eax, dword [0x469cc4]
cmp byte [eax], 0
je 0x40c028
mov eax, dword [0x469a18]
call fcn.00402e24
call fcn.004028a4
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.00408fac
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 0x40c070
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c05e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4699a8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46a668]
call fcn.00405920
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 0x40c90c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c9e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004046c8
lea eax, [ebp - 8]
call fcn.00404b40
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404af0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c9cc
mov eax, ebx
call fcn.0040273c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c9c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404af0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c9af
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c9f4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c9af
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9cc
mov eax, dword [ebp - 0x10]
call fcn.0040275c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c9e9
lea eax, [ebp - 8]
call fcn.00404630
ret

Function at 0x40cf18
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 0x40cf7c
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.004048a0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408890
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf83
lea eax, [ebp - 0xc]
call fcn.00404630
ret

Function at 0x41d7e4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041d63c
dec esi
jne 0x41d806
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41e948
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46a890
cmp dword [edi], 0
jne 0x41e9c4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46a88c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46842c
mov ecx, 2
call fcn.00402944
mov edx, 0x41e920
lea eax, [esi + 5]
call fcn.0041e940
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041e940
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41e999
mov dword [0x46a88c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x420574
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42057a
ret

Function at 0x4229bc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x422a0d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4229f4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4229e4
jmp 0x422a0d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4229f5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b6d0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42b61c
call sub.user32.dll_EnumWindows
ret

Function at 0x42b7f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42b86d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042b250
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42b815
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042ae50
cmp dword [ebp - 4], 0
je 0x42b857
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404af0
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b874
lea eax, [ebp - 4]
call fcn.00404630
ret

Function at 0x42ed40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42ed90]
test si, 4
je 0x42ed54
or bl, 1
test si, 8
je 0x42ed5e
or bl, 4
test si, 1
je 0x42ed68
or bl, 8
test si, 2
je 0x42ed72
or bl, 0x10
test si, 0x10
je 0x42ed7c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42ed8b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42ed94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42edcc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42edad
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42edbc
or bl, 4
test esi, 0x20000000
je 0x42edc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret