joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eea45
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
cmp dword [0x10158758], 0
jne 0x100eea6a
lea eax, [esp]
push eax
push 2
call sub.WSOCK32.dll_WSAStartup
mov dword [0x10158758], 1
mov al, 1
add esp, 0x190
ret

Function at 0x100eea8b
Capabilities:
Create udp socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
sub eax, 0
je 0x100eea9d
dec eax
jne 0x100eeaa0
push 2
jmp 0x100eea9f
push 1
pop ecx
push 0
push ecx
push 2
call sub.WSOCK32.dll_socket
ret

Function at 0x100eeab5
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100eeb17
cmp byte [esi], 0
je 0x100eeb17
cmp dword [ebp + 0x10], 0
je 0x100eeb17
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.1009a010
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.1009a010
push 0x2e
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.100eeb99
add esp, 0x24
test eax, eax
je 0x100eeb0e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100eeb51
test eax, eax
pop ecx
pop ecx
jne 0x100eeb1d
push dword [ebp + 8]
call fcn.100eeaab
pop ecx
or eax, 0xffffffff
pop esi
leave
ret
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10099c40
add esp, 0xc
push dword [ebp + 0x10]
mov word [ebp - 0x10], 2
call sub.WSOCK32.dll_htons
mov word [ebp - 0xe], ax
push 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call sub.WSOCK32.dll_connect
jmp 0x100eeb1a

Function at 0x100eeb51
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push str._d._d._d._d
push dword [ebp + 8]
call fcn.100f8add
add esp, 0x18
cmp eax, 4
jge 0x100eeb80
xor eax, eax
leave
ret
push dword [ebp + 8]
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
leave
ret

Function at 0x100eeb99
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
call fcn.100eebec
test eax, eax
pop ecx
je 0x100eebc5
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
call fcn.100d1c5b
add esp, 0xc
and byte [esi + edi - 1], 0
jmp 0x100eebe6
push dword [ebp + 8]
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x100eebe4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.WSOCK32.dll_inet_ntoa
mov edi, dword [ebp + 0x10]
push edi
push eax
jmp 0x100eebb2
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x100ef8c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
je 0x100ef957
mov edx, dword [eax]
mov byte [edx + 0x16], cl
mov edx, dword [eax]
mov byte [edx + 0x17], cl
mov edx, dword [eax]
mov byte [edx + 0x18], cl
mov edx, dword [eax]
push ebx
push esi
mov byte [edx + 0x19], cl
mov esi, dword [eax + 4]
xor edx, edx
cmp esi, ecx
push edi
jle 0x100ef90c
mov edi, dword [eax]
movzx edi, byte [edi + edx]
mov ebx, ecx
shr ebx, 0x18
xor edi, ebx
mov edi, dword [edi*4 + 0x1012346c]
shl ecx, 8
xor ecx, edi
inc edx
cmp edx, esi
jl 0x100ef8ee
xor edx, edx
cmp dword [eax + 0xc], edx
jle 0x100ef933
mov esi, dword [eax + 8]
movzx edi, byte [esi + edx]
mov ebx, ecx
shr ebx, 0x18
xor edi, ebx
mov edi, dword [edi*4 + 0x1012346c]
shl ecx, 8
xor ecx, edi
inc edx
cmp edx, dword [eax + 0xc]
jl 0x100ef916
mov edx, dword [eax]
mov byte [edx + 0x16], cl
mov esi, dword [eax]
mov edx, ecx
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [eax]
mov edx, ecx
shr edx, 0x10
mov byte [esi + 0x18], dl
mov eax, dword [eax]
pop edi
shr ecx, 0x18
pop esi
mov byte [eax + 0x19], cl
pop ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4028a8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028d7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bd4
jmp 0x4028f5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402830
mov edi, eax
test ebx, ebx
je 0x4028f5
cmp dword [esi], 0
je 0x4028f5
dec ebx
jmp 0x4028de
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b24
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x460040], 0x8088405
inc edx
mov dword [0x460040], edx
mul edx
mov eax, edx
ret

Function at 0x402cd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d4c
xor eax, eax
push ebp
push 0x402d45
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 0x402d88
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 0x402d4c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x40501c
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 0xf003f
push 0
push 0x4051d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40507d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4051f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4050ef
xor eax, eax
push ebp
push 0x4050e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404e74
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050d1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405214
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4050ef
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x4051d0
cmp byte [ebp - 0xd], 0
jne 0x405131
cmp byte [ebp - 0x12], 0
je 0x4051d0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40514a
dec ebx
cmp byte [ebx], 0x2e
je 0x405159
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405149
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4051d0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405186
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4051d0
cmp byte [ebp - 0xd], 0
je 0x4051d0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4051d0
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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 0x408690
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4088dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403b40
cmp dword [0x45e0c4], 1
jne 0x4086db
cmp dword [0x45e0c8], 4
jle 0x40871a
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00403f30
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x4088bf
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.00403ca4
jmp 0x4088bf
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402940
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x4088bf
cmp byte [ebp - 0x15], 0x5a
ja 0x4088bf
mov eax, dword [ebp - 4]
call fcn.00403d6c
cmp eax, 3
jl 0x4088bf
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x4088bf
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x4088bf
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x4088bf
xor edx, edx
push ebp
push 0x4088b8
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.004026d8
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x40889a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x4087e9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00402708
jmp 0x4087ad
test eax, eax
je 0x4087fc
call fcn.0040365c
call fcn.0040365c
jmp 0x4088bf
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x4087ad
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x408878
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402940
cmp al, byte [ebp - 0x15]
jne 0x408878
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403d6c
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00403f74
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.00403ca4
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00403db8
call fcn.0040365c
call fcn.0040365c
jmp 0x4088bf
inc edi
dec esi
jne 0x408807
jmp 0x4087ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4088e4
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403b10
ret
Function at 0x40a2e4
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 0x40a31d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bd4
jmp 0x40a326
mov eax, ebx
mov edx, esi
call fcn.00403b40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x415e30
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 0x415e36
ret

Function at 0x418344
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 0x418395
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41837c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41836c
jmp 0x418395
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 0x41837d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4237a4
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x460780], 0
sete dl
or al, dl
jne 0x4238ed
mov eax, dword [0x460784]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460780]
mov esi, dword [eax + 8]
sub esi, 1
jno 0x4237f8
call fcn.00402da4
test esi, esi
jl 0x4238bc
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x460780]
call fcn.0040f2d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4238b4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x178], 0
je 0x4238b4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4238b4
mov eax, dword [ebp - 0x14]
call fcn.0042c0a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4238b4
push ebp
call fcn.00423760
pop ecx
test al, al
jne 0x4238b4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x423870
mov eax, dword [ebp - 0x14]
call fcn.0042a974
dec eax
jle 0x4238b4
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403040
cmp byte [ebp - 1], 0
je 0x4238b4
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4238b4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460784]
call fcn.00422f68
inc edi
dec esi
jne 0x423803
mov eax, dword [0x460784]
cmp dword [eax + 8], 0
jle 0x4238d4
mov eax, dword [0x460784]
call fcn.00423000
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4238ed
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004235c8
pop ecx
test al, al
jne 0x4238ed
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
Function at 0x4298c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x4298f9
je 0x429953
sub eax, 7
je 0x42991a
dec eax
je 0x429944
sub eax, 0x17
je 0x4299f8
jmp 0x429a36
add eax, 0xffffff00
sub eax, 9
jb 0x4299e4
add eax, 0xffffff09
sub eax, 0xb
jb 0x4299ac
jmp 0x429a36
mov eax, ebx
call fcn.0043c874
mov edi, eax
test edi, edi
je 0x429a95
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x429a9e
jmp 0x429a95
test byte [ebx + 0x44], 0x20
jne 0x429a9e
jmp 0x429a95
mov edx, esi
mov eax, ebx
call fcn.00426c4c
cmp dword [esi + 0xc], 0xffffffff
jne 0x429a9e
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406f30
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00425674
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00429780
test eax, eax
je 0x429a9e
mov dword [esi + 0xc], 1
jmp 0x429a9e
mov edx, esi
mov eax, ebx
call fcn.00429828
test al, al
je 0x429a95
cmp dword [esi + 0xc], 0
jne 0x429a9e
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.0042c0a0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x429a9e
mov eax, ebx
call fcn.00426278
test al, al
jne 0x429a9e
jmp 0x429a95
mov eax, ebx
call fcn.0042c0a0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x429a95
cmp dword [0x45e6e8], 0
je 0x429a95
mov eax, dword [0x45e6e8]
cmp ebx, dword [eax + 0x24]
jne 0x429a95
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45e6e8]
call fcn.00426b74
jmp 0x429a95
mov eax, dword [0x460748]
cmp byte [eax + 0x20], 0
je 0x429a95
mov eax, dword [0x460748]
cmp dword [eax + 0x1c], 0
je 0x429a95
mov eax, dword [esi]
mov edx, dword [0x460748]
cmp eax, dword [edx + 0x1c]
jne 0x429a95
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0043c7b8
mov byte [ebp - 0xc], al
mov eax, dword [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403040
jmp 0x429a9e
mov edx, esi
mov eax, ebx
call fcn.00426c4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429fe4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x42a000
cmp dword [esi + 4], 0
je 0x42a02d
test byte [ebx + 0x45], 1
jne 0x42a01f
mov eax, ebx
call fcn.00428e18
test eax, eax
jne 0x42a01f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42a16f
mov edx, esi
mov eax, ebx
call fcn.00429be4
jmp 0x42a16f
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42a168
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov edi, eax
push 0
push edi
mov eax, ebx
call fcn.0042c0a0
push eax
call sub.user32.dll_GetUpdateRgn
dec eax
je 0x42a0b7
push edi
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
push edi
call sub.gdi32.dll_DeleteObject
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c0a0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00426b74
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00429fe4
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c0a0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a16f
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434608
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.00403aec
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x434657
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.00403d1c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c580
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4607e0
cmp dword [edi], 0
jne 0x43c60a
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4607dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45e87c
mov ecx, 2
call fcn.004027f0
mov edx, 0x43c548
lea eax, [esi + 5]
call fcn.0043c568
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c568
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
jno 0x43c5f2
call fcn.00402da4
mov eax, ebx
sub eax, esi
jno 0x43c5fd
call fcn.00402da4
cmp eax, 0xffc
jl 0x43c5d1
mov dword [0x4607dc], 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 0x43c728
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c778]
test si, 4
je 0x43c73c
or bl, 1
test si, 8
je 0x43c746
or bl, 4
test si, 1
je 0x43c750
or bl, 8
test si, 2
je 0x43c75a
or bl, 0x10
test si, 0x10
je 0x43c764
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c773
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43c77c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c7b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c795
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43c7a4
or bl, 4
test esi, 0x20000000
je 0x43c7af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442d60
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x442d72
add esp, 0xfffffff0
call fcn.00403164
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413e40
mov eax, ebx
call fcn.004430b4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402e34
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402e34
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402e34
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402e34
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40db58]
call fcn.00402e34
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x442d30
push eax
push 0
push 0
mov eax, dword [0x45eea4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.004168c0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.004168c0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.004168c0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00443534
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443400
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443400
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443400
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x442e81
call fcn.004031bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret