joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100932fb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1009b0b9
call fcn.100799b8
sub esp, 0x124
mov eax, dword [0x100c0bcc]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov dword [ebp - 0x120], edi
call fcn.10091976
cmp eax, edi
mov dword [ebp - 0x128], eax
je 0x10093355
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
lea edx, [ebp - 0x128]
push edx
call dword [eax + 0x14]
cmp eax, edi
je 0x1009334d
mov edx, dword [eax]
push edi
push edi
push 0xfffffffffffffffc
push edi
mov ecx, eax
call dword [edx + 0xc]
cmp dword [ebp - 0x128], edi
jne 0x1009332e
cmp dword [esi + 0x50], edi
je 0x10093455
push str.Software_
lea ecx, [ebp - 0x11c]
call fcn.10011f50
push dword [esi + 0x50]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], edi
call fcn.10002df0
push 0x1009e1a8
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
call dword [eax - 0x18]
fldenv [edi - 7]
invalid
push dword [esi + 0x64]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10029b70
add esp, 0x18
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001160
lea eax, [ebp - 0x124]
push eax
mov esi, reloc.WSOCK32.dll_accept
push esi
call fcn.100931e7
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10093423

Function at 0x100933ea
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x104
lea eax, [ebp - 0x118]
push eax
push edi
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x10093417
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.100931e7
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea ecx, [edi - 0x10]
call fcn.10001160
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.10001160
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
inc eax
pop esi
call fcn.100799a8
leave
ret

Function at 0x100935a8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x100935dd
cmp edi, dword [esi + 0xc]
jge 0x100935dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100935dd
cmp edi, dword [eax + 8]
jge 0x100935dd
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x100935df
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x10093736
Capabilities:
Allocate thread local storage

Disassembly:
add byte [edi + 0x33c3100a], bl
rcl byte [esi - 0x75], 0xf1
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x10093770
jmp fcn.10088eb8
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x1009373c
Capabilities:
Allocate thread local storage

Disassembly:
add byte [edi + 0x33c3100a], bl
rcl byte [esi - 0x75], 0xf1
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x10093770
jmp fcn.10088eb8
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x100937e1
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x100938da
cmp eax, dword [edi + 0xc]
jge 0x100938da
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x10093832
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x100938c3
cmp dword [ebp + 0xc], ebx
je 0x100938c3
jmp 0x1009385c
push 0x10
call fcn.10093474
cmp eax, ebx
je 0x10093848
mov ecx, eax
call fcn.10093733
mov esi, eax
jmp 0x1009384a
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
push esi

Function at 0x10093859
Capabilities:
Set thread local storage value

Disassembly:
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x10093873
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x10093883
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x10093895
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.10088eb8
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.100799e0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x100938d5
cmp ecx, dword [esi + 8]
jge 0x100938d5
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x100938db
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1009393f
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1009393a
mov ecx, dword [edi + 0x10]
cmp dword [ecx + ebx*8 + 4], eax
je 0x1009393a
mov eax, dword [esi + 0xc]
cmp dword [eax + ebx*4], 0
je 0x10093951
and dword [ebp - 4], 0
jmp 0x10093951
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + ebx*4]
cwde
cwde
test ecx, ecx
je 0x1009394a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xc]
and dword [eax + ebx*4], 0
inc ebx
cmp ebx, dword [esi + 8]
jl 0x1009391b
cmp dword [ebp - 4], 0
je 0x10093992
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [edi + 0x14]
call fcn.100936f5
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10095a0d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x10095a25
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x10095aa2
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
or bh, bh
jno 0x10095ab1

Function at 0x10095aa9
Capabilities:
Connect socket

Disassembly:
or bh, bh
jno 0x10095ab1
call dword [sym.imp.WS2_32.dll_connect]
or dword [eax], edx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8
Function at 0x10095cbe
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x10095cdb
cmp dword [ebp + 0xc], edi
je 0x10095dd0
push 1
push ebx
call fcn.10095a40
test eax, eax
jne 0x10095dd0
push esi
push edi
push ebx
call fcn.10095a40
mov esi, eax
cmp esi, edi
jne 0x10095d27
call fcn.100929b7
mov ecx, dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.10089708
mov esi, eax
cmp esi, edi
je 0x10095dcf
push edi
push 0xffffffffffffffff
mov dword [esi + 4], ebx
call fcn.10095bde
push edi
push esi
push dword [esi + 4]
call fcn.10095b17
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x10
dec eax
je 0x10095d80
dec eax
je 0x10095d76
dec eax
dec eax
je 0x10095d6c
sub eax, 4
je 0x10095d62
sub eax, 8
je 0x10095d58
sub eax, 0x10
jne 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
jmp 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
jmp 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
jmp 0x10095dcf
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x10095dbd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp dword [ebp + 0xc], 1
je 0x10095dc7
cmp ebx, edi
je 0x10095dcf
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x1009b3bb
Capabilities:
Get common file path

Disassembly:
inc esp
and al, 8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp]
push ecx
push 0x1009d7f4
push 0x100b71ec
call fcn.10077098
add esp, 0x110
ret
Function at 0x402a44
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.00403fbc
test esi, esi
jne 0x402a7a
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.004040ac
jmp 0x402a98
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004028f8
mov edi, eax
test esi, esi
je 0x402a98
cmp dword [ebx], 0
je 0x402a98
dec esi
jmp 0x402a81
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030fc
Capabilities:
Query or enumerate registry value

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

Function at 0x403e40
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x44f048], 0
je 0x403ea1
cmp word [0x44f21c], 0xd7b2
jne 0x403e69
cmp dword [0x44f224], 0
jbe 0x403e69
mov eax, 0x44f218
call dword [0x44f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44d06c
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 0x403ec8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44d030], 0
jne 0x403ebd
push 0
push 0x44d064
push 0x44d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405b14
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 0x405b7a
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.0040422c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cc0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405b64
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b81
lea eax, [ebp - 0x10]
call fcn.00403fbc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040447c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40823d
test al, 0x10
jne 0x408241
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40ace0
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 0x40ad19
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004040ac
jmp 0x40ad22
mov eax, ebx
mov edx, esi
call fcn.00404010
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b3d4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b24c
mov eax, dword [0x44e014]
cmp byte [eax], 0
je 0x40b450
mov eax, dword [0x44de3c]
call fcn.00402b2c
call fcn.00402824
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.00408554
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 0x40b498
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b486
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44ddec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44f664]
call fcn.00405028
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 0x40bcec
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 0x40bdc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404054
lea eax, [ebp - 8]
call fcn.004044cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040447c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bdac
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bda5
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.0040447c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bd8f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bdd4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bd8f
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 0x40bdac
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdc9
lea eax, [ebp - 8]
call fcn.00403fbc
ret

Function at 0x40c2f0
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 0x40c354
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.0040422c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407ea4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c35b
lea eax, [ebp - 0xc]
call fcn.00403fbc
ret

Function at 0x41a430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44f884
cmp dword [edi], 0
jne 0x41a4ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x44f880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44d3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41a408
lea eax, [esi + 5]
call fcn.0041a428
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a428
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 0x41a481
mov dword [0x44f880], 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 0x41b6c0
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 0x41b6c6
ret
Function at 0x4270dc
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 0x427028
call sub.user32.dll_EnumWindows
ret

Function at 0x4271fc
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 0x427279
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00426c5c
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 0x427221
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042685c
cmp dword [ebp - 4], 0
je 0x427263
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040447c
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 0x427280
lea eax, [ebp - 4]
call fcn.00403fbc
ret

Function at 0x4294b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x429508]
test si, 4
je 0x4294cc
or bl, 1
test si, 8
je 0x4294d6
or bl, 4
test si, 1
je 0x4294e0
or bl, 8
test si, 2
je 0x4294ea
or bl, 0x10
test si, 0x10
je 0x4294f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429503
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42950c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x429544]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429525
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x429534
or bl, 4
test esi, 0x20000000
je 0x42953f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x42fbec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x42fbfe
add esp, 0xfffffff0
call fcn.00403590
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004193a0
mov eax, dword [0x44ddf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x42ff90
mov eax, dword [0x44de00]
mov dword [eax + 4], ebx
mov dword [eax], 0x42ff9c
mov eax, ebx
call fcn.0042ffa8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403254
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403254
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403254
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403254
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411698]
call fcn.00403254
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x42c3c4
push eax
push 0
push 0
mov eax, dword [0x44df40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41adc4]
call fcn.0041c208
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41adc4]
call fcn.0041c208
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41adc4]
call fcn.0041c208
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004303c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4302a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4302a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4302a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x42fd3b
call fcn.004035e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret