joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4615fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x491c34]
cmp dword [eax + 0x30], 0
je 0x4616a6
cmp dword [ebx + 0x94], 0
jne 0x4616a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46158c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4616a0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x461666
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4616a0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415d88
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461675
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462184
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4621b9
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045fc
jmp 0x4621c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404560
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46328c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4632cd
mov eax, esi
call fcn.00449320
test al, al
je 0x4632cd
mov eax, dword [ebx + 0x84]
call fcn.0044901c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4632cd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044901c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4641cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00463e30
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004049bc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46422a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4902e8]
mov dl, 1
mov eax, dword [0x463d28]
call fcn.0040b7b0
call fcn.00403f6c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x464234
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004049bc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46428c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4904f0]
mov dl, 1
mov eax, dword [0x463d28]
call fcn.0040b7b0
call fcn.00403f6c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00463e60
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x47500c
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x410], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47512e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040450c
push 0
push 0
push 0
push 0
push 0x47513c
call sub.wininet.dll_InternetOpenA
mov esi, eax
test esi, esi
je 0x4750ff
push 0
push 0x80000300
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004049bc
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov edi, eax
test edi, edi
je 0x4750c8
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x409]
push eax
push edi
call sub.wininet.dll_InternetReadFile
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x409], 0
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x409]
mov ecx, 0x401
call fcn.00404774
mov edx, dword [ebp - 0x410]
mov eax, ebx
call fcn.004047cc
cmp dword [ebp - 8], 0
jne 0x475076
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x4750f7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x418], eax
mov byte [ebp - 0x414], 0xb
lea eax, [ebp - 0x418]
push eax
push 0
mov ecx, 0x47514c
mov dl, 1
mov eax, dword [0x474fb4]
call fcn.0040b6f4
call fcn.00403f6c
push esi
call sub.wininet.dll_InternetCloseHandle
jmp 0x475115
mov ecx, 0x475168
mov dl, 1
mov eax, dword [0x474fb4]
call fcn.0040b6b8
call fcn.00403f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475135
lea eax, [ebp - 0x410]
call fcn.0040450c
ret
Function at 0x47ee98
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x47ef56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x3df], 0
je 0x47ef40
lea ebx, [esi + 0x384]
mov dword [ebx], 0x58
mov eax, esi
call fcn.0044901c
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0x474
mov eax, dword [0x490354]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.00427b74
mov dword [ebx + 0x14], eax
lea edx, [ebp - 4]
mov eax, esi
call fcn.00442850
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x18]
mov ecx, 0x3f
call fcn.00409158
mov eax, dword [0x490354]
mov eax, dword [eax]
call fcn.00461f98
push 0
mov eax, dword [0x490354]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
lea eax, [esi + 0x384]
push eax
push 0
call sub.shell32.dll_Shell_NotifyIconA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ef5d
lea eax, [ebp - 4]
call fcn.0040450c
ret

Function at 0x484500
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x484508
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x484662
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
xor eax, eax
push ebp
push 0x4845c6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x3de], 0
je 0x48459b
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0048492c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 0x48467c
call fcn.00408ed8
mov eax, dword [ebp - 0x10]
call fcn.00408e40
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0048492c
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov edx, 0x48467c
call fcn.00408ed8
mov eax, dword [ebp - 0x18]
call fcn.004049bc
push eax
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.0048492c
mov eax, dword [ebp - 0x20]
call fcn.004049bc
push eax
call sub.kernel32.dll_MoveFileA
push 0xffff
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.0048492c
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x413d88]
call fcn.0041870c
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4845e7
mov dl, 1
mov eax, dword [0x413e78]
call fcn.00403770
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.0041e0d8
mov edi, eax
dec edi
test edi, edi
jl 0x48461e
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.0041e0ac
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004185e0
inc ebx
dec edi
jne 0x484607
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov cl, 2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00478478
mov eax, dword [ebp - 0xc]
call fcn.004037a0
mov eax, dword [ebp - 8]
call fcn.004037a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484669
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.00404530
ret
Function at 0x484d48
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ac
xor eax, eax
push ebp
push 0x484d9d
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0x484da8
push 0
mov eax, dword [ebp - 4]
call fcn.004049bc
push eax
push 0x484dac
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484da4
lea eax, [ebp - 4]
call fcn.0040450c
ret

Function at 0x484db4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049ac
xor eax, eax
push ebp
push 0x484e3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047c4
mov edx, eax
test edx, edx
jle 0x484e0b
mov eax, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + eax - 1]
mov esi, ebx
add esi, esi
xor ecx, esi
mov esi, ebx
shr esi, 0x1f
shr ebx, 5
xor esi, ebx
and esi, 1
xor ecx, esi
mov ebx, ecx
inc eax
dec edx
jne 0x484de8
mov eax, 0xa
mov edx, ebx
shr edx, 0x1f
mov ecx, ebx
shr ecx, 5
xor edx, ecx
and edx, 1
add ebx, ebx
xor edx, ebx
mov ebx, edx
dec eax
jne 0x484e10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484e45
lea eax, [ebp - 4]
call fcn.0040450c
ret
Function at 0x485c28
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412b80]
call fcn.00404f1c
xor eax, eax
push ebp
push 0x485d6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490034], 0
jne 0x485c7b
mov ecx, dword [0x4900c0]
mov dl, 1
mov eax, dword [0x407a5c]
call fcn.0040b774
call fcn.00403f6c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403098
mov eax, ebx
call fcn.00404d8c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485d7c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406284
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404d9c
test eax, eax
jle 0x485d13
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x485d0c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040478c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404774
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408908
test eax, eax
jne 0x485d0c
mov ebx, 0x15
jmp 0x485d18
mov ebx, 0x10
jmp 0x485d18
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x490034]
call fcn.00485b80
mov eax, dword [ebp - 8]
call fcn.00485b80
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040629c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485d73
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404530
lea eax, [ebp - 0x10]
mov edx, dword [0x412b80]
call fcn.00404fec
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
Function at 0x402f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x461020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402ff8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fd8
xor eax, eax
push ebp
push 0x402fd1
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 0x403014
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 0x402fd8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x461020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x461020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ca4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x463048], 0
je 0x403d05
cmp word [0x46321c], 0xd7b2
jne 0x403ccd
cmp dword [0x463224], 0
jbe 0x403ccd
mov eax, 0x463218
call dword [0x463234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46106c
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 0x403d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x461030], 0
jne 0x403d21
push 0
push 0x461064
push 0x46106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e58
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.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x463049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e20
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4059fc
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 0x405a62
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.00404114
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b24
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a69
lea eax, [ebp - 0x10]
call fcn.00403ea4
ret

Function at 0x40acac
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 0x40ace5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f94
jmp 0x40acee
mov eax, ebx
mov edx, esi
call fcn.00403ef8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b3a0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b218
mov eax, dword [0x462850]
cmp byte [eax], 0
je 0x40b41c
mov eax, dword [0x462574]
call fcn.00402990
call fcn.00402834
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.00408460
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 0x40b464
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b452
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x462508]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x463664]
call fcn.00404f10
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 0x40bcb8
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 0x40bd8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f3c
lea eax, [ebp - 8]
call fcn.004043b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404364
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bd78
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bd71
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.00404364
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bd5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bda0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bd5b
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 0x40bd78
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bd95
lea eax, [ebp - 8]
call fcn.00403ea4
ret

Function at 0x40c280
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 0x40c2e4
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.00404114
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c2eb
lea eax, [ebp - 0xc]
call fcn.00403ea4
ret

Function at 0x41a33c
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41a389
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041a150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a3a1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41a3a8
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.0041a150
dec esi
jne 0x41a3ca
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41b50c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x463888
cmp dword [edi], 0
jne 0x41b588
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x463884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x461408
mov ecx, 2
call fcn.004028c8
mov edx, 0x41b4e4
lea eax, [esi + 5]
call fcn.0041b504
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b504
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 0x41b55d
mov dword [0x463884], 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 0x41c7a4
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 0x41c7aa
ret

Function at 0x41ec28
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 0x41ec79
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ec60
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ec50
jmp 0x41ec79
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 0x41ec61
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c7b0
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 0x42c6fc
call sub.user32.dll_EnumWindows
ret

Function at 0x42c8d0
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 0x42c94d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042c330
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 0x42c8f5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bf30
cmp dword [ebp - 4], 0
je 0x42c937
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404364
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 0x42c954
lea eax, [ebp - 4]
call fcn.00403ea4
ret

Function at 0x42f7e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x463b58], 0
je 0x42f933
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4627bc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42f933
mov eax, dword [0x463b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x463b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42f902
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x463b58]
call fcn.00413d34
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42f8fa
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42f8fa
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42f8fa
mov eax, dword [ebp - 0x14]
call fcn.0043847c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42f8fa
push ebp
call fcn.0042f7a0
pop ecx
test al, al
jne 0x42f8fa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42f8b6
mov eax, dword [ebp - 0x14]
call fcn.00436fac
dec eax
jle 0x42f8fa
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032e4
cmp byte [ebp - 1], 0
je 0x42f8fa
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42f8fa
mov edx, dword [ebp - 0x14]
mov eax, dword [0x463b5c]
call fcn.0042ef6c
inc edi
dec ebx
jne 0x42f849
mov eax, dword [0x463b5c]
cmp dword [eax + 8], 0
jle 0x42f91a
mov eax, dword [0x463b5c]
call fcn.0042effc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f933
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042f608
pop ecx
test al, al
jne 0x42f933
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret