joyce8/EMBER2024-capa huggingface dataset:
Function at 0x558090
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x55827d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28000]
push edi
or ebp, 0xffffffff
jmp 0x5580ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5580c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580b0
mov eax, 1
add ebx, ebx
jne 0x5580d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5580e4
jne 0x558103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x558103
dec eax
add ebx, ebx
jne 0x5580f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5580c8
add ebx, ebx
jne 0x5580ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x558155
xor ecx, ecx
sub eax, 3
jb 0x55811b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55818a
sar eax, 1
mov ebp, eax
jmp 0x558126
add ebx, ebx
jne 0x558126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580f4
inc ecx
add ebx, ebx
jne 0x558134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5580f4
add ebx, ebx
jne 0x558141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x558136
jne 0x558152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x558136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x558174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x558166
jmp 0x5580b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x558174
add edi, ecx
jmp 0x5580b6
pop esi
mov edi, esi
mov ecx, 0xd28
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x558192
cmp byte [edi], 6
jne 0x558192
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x558197
lea edi, [esi + 0x155000]
mov eax, dword [edi]
or eax, eax
je 0x558206
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1585cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x158630]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5581c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x158634]
or eax, eax
je 0x558200
mov dword [ebx], eax
add ebx, 4
jmp 0x5581e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x558240
cmp al, 0xef
ja 0x55822a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x55820c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x558219
mov eax, dword [edi]
add edi, 4
jmp 0x558219
mov ebp, dword [esi + 0x158638]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x558274
sub esp, 0xffffff80
jmp 0x419aa4
Function at 0x405fc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x405fd1
jmp dword [eax*4 + 0x4089d4]
cmp dword [0x40c088], 0
je 0x4060d3
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40c0a4]
test edi, edi
je 0x4060c8
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40601b
mov edi, dword [edi + 8]
test edi, edi
je 0x4060c8
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x406010
test esi, esi
je 0x406010
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x406010
cmp dword [0x40c088], 0
jne 0x406050
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x40c088], 1
jmp case.default.0x405fd1
call fcn.00405950
jmp case.default.0x405fd1
cmp dword [0x40c088], 0
je case.default.0x405fd1
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40c0a4]
test edi, edi
je 0x406123
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4060a7
mov edi, dword [edi + 8]
test edi, edi
je 0x406123
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x4060a0
test esi, esi
je 0x4060a0
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4060a0
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x40c088]
cmp eax, 1
jne case.default.0x405fd1
mov eax, dword [0x40c0a4]
test eax, eax
je 0x406102
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x4060f0
mov dword [0x40c0a4], 0
mov dword [0x40c088], 0
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp case.default.0x405fd1
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406260
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x407004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x4062c6
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x4062c6
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x4062c6
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x4062c6
mov edx, dword [esp + 0xc]
sub edx, dword [0x407004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x4062b6
add esi, 0x28
dec ecx
je 0x4062c6
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x4062b0
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x4062b0
mov eax, esi
pop esi
pop edi
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x127d4a09
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x60143958
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4474f0
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
mov esi, edx
lea edx, [ebp - 0x438]
call fcn.00403955
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.00403955
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
pop esi
test eax, eax
jne 0x447567
cmp byte [ebp + 8], al
je 0x447563
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00422cf3
pop ecx
pop ecx
test eax, eax
je 0x44755f
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
lea ecx, [ebp - 0x438]
call fcn.0044870a
test al, al
je 0x447563
lea ecx, [ebp - 0x22c]
call fcn.0044870a
test al, al
je 0x447611
cmp byte [ebp + 8], 0
je 0x447563
lea eax, [ebp - 0x438]
push 0x4b47b4
push eax
call fcn.00422404
lea eax, [ebp - 0x438]
push eax
call fcn.004223eb
xor ecx, ecx
mov word [ebp + eax*2 - 0x436], cx
lea eax, [ebp - 0x22c]
push eax
call fcn.004223eb
xor ecx, ecx
mov word [ebp + eax*2 - 0x22a], cx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0x20], eax
mov eax, 0x614
add esp, 0x10
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
leave
ret
lea ecx, [ebp - 0x22c]
call fcn.00447864
test al, al
je 0x447563
lea ecx, [ebp - 0x22c]
call fcn.0044870a
test al, al
jmp 0x44758d
Function at 0x4483e5
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
lea eax, [ebp - 0x298]
push esi
push edi
push eax
push 0x101
mov edi, edx
mov esi, ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x4484a8
push 0x100
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4484a8
mov edx, dword [eax + 0xc]
xor ecx, ecx
cmp dword [edx], ecx
je 0x448445
mov eax, edx
lea eax, [eax + 4]
inc ecx
cmp dword [eax], 0
jne 0x44843c
cmp esi, ecx
jle 0x448458
push 0x4b47c8
push edi
call fcn.00422433
pop ecx
pop ecx
jmp 0x4484a0
push 4
push dword [edx + esi*4 - 4]
lea eax, [ebp - 4]
push eax
call fcn.00420590
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00423d10
or edx, 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00449032
mov esi, eax
push esi
push edi
call fcn.00422433
push esi
call fcn.00420c6e
add esp, 0x14
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x4484b5
push 0x49ebf0
push edi
call fcn.00422433
pop ecx
pop ecx
pop edi
pop esi
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44871d
test al, 0x10
je 0x44871d
mov al, 1
ret
xor al, al
ret

Function at 0x448743
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [0x4c44d9], 0
test edi, edi
je 0x448795
mov byte [0x4c44da], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
push eax
xor ecx, ecx
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x448b8b
push ecx
push ecx
mov dword [ebp - 8], edi
call fcn.00423947
mov esi, eax
mov eax, dword [ebp - 4]
add esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
or ebx, 0xffffffff
mov edi, eax
test esi, esi
je 0x4487c2
push ebx
push esi
mov byte [0x4c44da], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4c44d9], 1
cmove edi, ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403840
Capabilities:
Query or enumerate registry value

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

Function at 0x4046dc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47004c], 0
je 0x40473d
cmp word [0x470220], 0xd7b2
jne 0x404705
cmp dword [0x470228], 0
jbe 0x404705
mov eax, 0x47021c
call dword [0x470238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x404764
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46d02c], 0
jne 0x404759
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4089cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408a1e
test eax, edx
je 0x408a21
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4089e1
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408a07
add ecx, 4
js 0x4089f7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408a04
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408a2d
test edx, edx
jne 0x4089d4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c040
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 0x40c079
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040494c
jmp 0x40c082
mov eax, ebx
mov edx, esi
call fcn.004048b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c08c
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 0x40c0ae
movzx eax, byte [esp]
jmp 0x40c0b0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c740
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c5b8
mov eax, dword [0x46eeac]
cmp byte [eax], 0
je 0x40c7bc
mov eax, dword [0x46ec30]
call fcn.00403208
call fcn.00402fbc
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.004096c8
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 0x40c804
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c7f2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46eba4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4727f8]
call fcn.00405c1c
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 0x40d0bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d192
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048f4
lea eax, [ebp - 4]
call fcn.00404d44
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d17c
mov eax, ebx
call fcn.00402e60
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d175
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 - 4]
call fcn.00404cec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d15f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d1a4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d15f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d17c
mov eax, dword [ebp - 0x10]
call fcn.00402e7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d199
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x41f180
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4749ec
cmp dword [edi], 0
jne 0x41f1fc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4749e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46dae4
mov ecx, 2
call fcn.00403050
mov edx, 0x41f158
lea eax, [esi + 5]
call fcn.0041f178
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f178
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 0x41f1d1
mov dword [0x4749e8], 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 0x4218b0
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.00404cec
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x421908
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46f03c]
mov dl, 1
mov eax, dword [0x4213bc]
call fcn.0040c90c
call fcn.004042a4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004214c4
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 0x422764
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 0x42276a
ret
Function at 0x433e38
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040485c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x433e86
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404acc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x437f08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43803b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42141c]
call fcn.004214ec
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x438011
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042158c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404acc
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x438050
call fcn.00404b74
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004215f0
lea ecx, [ebp - 4]
mov edx, 0x43808c
mov eax, dword [ebp - 0xc]
call fcn.00421838
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e408
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x437ff4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x438098
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x46e508]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437ffb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4380e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43812f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438112
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x438123
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43812f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43d350
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 [0x474c54], 0
je 0x43d499
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46ee20]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43d499
mov eax, dword [0x474c58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x474c54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43d468
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x474c54]
call fcn.00417fdc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43d460
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43d460
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43d460
mov eax, dword [ebp - 0x14]
call fcn.00447b40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43d460
push ebp
call fcn.0043d30c
pop ecx
test al, al
jne 0x43d460
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403c44
test al, al
je 0x43d460
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, 0xffbc
call fcn.00403c44
cmp byte [ebp - 1], 0
je 0x43d460
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43d460
mov edx, dword [ebp - 0x14]
mov eax, dword [0x474c58]
call fcn.0043ca7c
inc edi
dec ebx
jne 0x43d3b5
mov eax, dword [0x474c58]
cmp dword [eax + 8], 0
jle 0x43d480
mov eax, dword [0x474c58]
call fcn.0043cb34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43d499
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043d170
pop ecx
test al, al
jne 0x43d499
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