joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4413f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441423
push esi
call fcn.004444f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44141c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4414a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441492
mov eax, dword [esi + 8]
test eax, eax
je 0x441447
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44148e
cmp eax, 2
je 0x441492
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44143a
cmp eax, 3
je 0x44146d
cmp eax, 1
jne 0x44143a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44143a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44143a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004414d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4414b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004414d0
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44e1d6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44e1d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44e1b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44e960
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44e998
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44f650
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044f7a0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44f670
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44f651
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044f7a0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44f670
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44f6a0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44f6f7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44f70d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044f730
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44f730
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44f7c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44f809
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44fc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47c7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044f830
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044f8b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044f8b0
lea ecx, [esi + 0xc]
call fcn.0046be15
lea ecx, [esi + 0x10]
call fcn.0046be15
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004520e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004520e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004520e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046be8a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046be8a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x450928
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47c9d8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x450938
call fcn.00450e50
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x450a1b
cmp byte [edi], 0
je 0x450a1b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45095d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044f650
test eax, eax
jne 0x45097d
push 0x56ef54
lea ecx, [esi + 0x38]
call fcn.0046c013
jmp 0x450a1b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044f6a0
test eax, eax
jne 0x4509ac
mov ecx, esi
call fcn.0044f7a0
push edi
add esi, 0x38
push 0x56ef30
push esi
call fcn.00469955
add esp, 0xc
jmp 0x450a1b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004516d0
test eax, eax
je 0x450a14
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00450af0
test eax, eax
jne 0x450a30
push edi
lea eax, [esi + 0x38]
push 0x56ef0c
push eax
call fcn.00469955
add esp, 0xc
mov ecx, esi
call fcn.00450e50
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x450ad8
mov ecx, dword [0x56f254]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00469955
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044f750
test eax, eax
jne 0x450a9a
push 0x56eef0
lea ecx, [esi + 0x38]
call fcn.0046c013
jmp 0x450aaa
push 0xfa
mov ecx, esi
call fcn.004516d0
test eax, eax
jne 0x450ac7
mov ecx, esi
call fcn.00450e50
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046be8a
jmp 0x450a1b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046be8a
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46e27d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46e2b5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046c331
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046c309
jmp 0x46e2c1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f96f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f9b1
call fcn.0047591c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f9b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f9a8
xor eax, eax
jmp 0x46f9b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f9bf
pop edi
pop esi
pop ebx
ret 4

Function at 0x475e4c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x475e7a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475e98
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475db2
jmp 0x475e98
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475e98
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475db2
test edi, edi
mov eax, edi
jne 0x475e82
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4ffdbb
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004ffe3a
jae 0x4ffdc7
xor ecx, ecx
call fcn.004ffe3a
jae 0x4ffdf1
xor eax, eax
call fcn.004ffe3a
jae 0x4ffe02
mov al, 0x10
call fcn.004ffe3a
adc al, al
jae 0x4ffde3
jne 0x4ffe2f
stosb byte es:[edi], al
jmp 0x4ffdc8
call fcn.004ffe46
dec ecx
loop 0x4ffe0e
mov eax, ebp
call fcn.004ffe44
jmp 0x4ffe30
lodsb al, byte [esi]
shr eax, 1
je 0x4ffe56
adc ecx, 2
mov ebp, eax
jmp 0x4ffe30
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004ffe44
cmp eax, 0x7d00
jae 0x4ffe2e
cmp eax, 0x500
jae 0x4ffe2f
cmp eax, 0x7f
ja 0x4ffe30
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4ffdc8
pop ebp
ret 8
Function at 0x404dc0
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 0x404f7c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404e21
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404f98
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404e93
xor eax, eax
push ebp
push 0x404e8c
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.00404c18
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404e75
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404fb8
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 0x404e93
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 0x404f74
cmp byte [ebp - 0xd], 0
jne 0x404ed5
cmp byte [ebp - 0x12], 0
je 0x404f74
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404eee
dec ebx
cmp byte [ebx], 0x2e
je 0x404efd
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404eed
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404f74
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404f2a
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 0x404f74
cmp byte [ebp - 0xd], 0
je 0x404f74
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 0x404f74
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 0x4084b8
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 0x4084f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040399c
jmp 0x4084fa
mov eax, ebx
mov edx, esi
call fcn.00403908
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408504
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 0x408525
mov al, byte [esp]
jmp 0x408527
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x413628
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 0x41362e
ret

Function at 0x41598c
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 0x4159dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4159c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4159b4
jmp 0x4159dd
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 0x4159c5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dd7c
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 [0x441778], 0
sete dl
or al, dl
jne 0x41debc
mov eax, dword [0x44177c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x441778]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x41de8b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x441778]
call fcn.0040d0b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x41de83
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x41de83
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x41de83
mov eax, dword [ebp - 0x14]
call fcn.00426034
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x41de83
push ebp
call fcn.0041dd38
pop ecx
test al, al
jne 0x41de83
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x41de3f
mov eax, dword [ebp - 0x14]
call fcn.004249c0
dec eax
jle 0x41de83
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.00402e20
cmp byte [ebp - 1], 0
je 0x41de83
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x41de83
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44177c]
call fcn.0041d584
inc edi
dec esi
jne 0x41ddd2
mov eax, dword [0x44177c]
cmp dword [eax + 8], 0
jle 0x41dea3
mov eax, dword [0x44177c]
call fcn.0041d614
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41debc
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0041dba0
pop ecx
test al, al
jne 0x41debc
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 0x4239cc
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 0x4239fd
je 0x423a57
sub eax, 7
je 0x423a1e
dec eax
je 0x423a48
sub eax, 0x17
je 0x423afc
jmp 0x423b3a
add eax, 0xffffff00
sub eax, 9
jb 0x423ae8
add eax, 0xffffff09
sub eax, 0xb
jb 0x423ab0
jmp 0x423b3a
mov eax, ebx
call fcn.00435510
mov edi, eax
test edi, edi
je 0x423b9a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x423ba3
jmp 0x423b9a
test byte [ebx + 0x44], 0x20
jne 0x423ba3
jmp 0x423b9a
mov edx, esi
mov eax, ebx
call fcn.0042100c
cmp dword [esi + 0xc], 0xffffffff
jne 0x423ba3
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004067b4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0041fb58
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004238a4
test eax, eax
je 0x423ba3
mov dword [esi + 0xc], 1
jmp 0x423ba3
mov edx, esi
mov eax, ebx
call fcn.00423938
test al, al
je 0x423b9a
cmp dword [esi + 0xc], 0
jne 0x423ba3
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.00426034
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x423ba3
mov eax, ebx
call fcn.004206a8
test al, al
jne 0x423ba3
jmp 0x423b9a
mov eax, ebx
call fcn.00426034
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x423b9a
cmp dword [0x440698], 0
je 0x423b9a
mov eax, dword [0x440698]
cmp ebx, dword [eax + 0x24]
jne 0x423b9a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x440698]
call fcn.00420f40
jmp 0x423b9a
mov eax, dword [0x441740]
cmp byte [eax + 0x20], 0
je 0x423b9a
mov eax, dword [0x441740]
cmp dword [eax + 0x1c], 0
je 0x423b9a
mov eax, dword [esi]
mov edx, dword [0x441740]
cmp eax, dword [edx + 0x1c]
jne 0x423b9a
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.00435454
mov byte [ebp - 0xc], al
mov ax, word [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.00402e20
jmp 0x423ba3
mov edx, esi
mov eax, ebx
call fcn.0042100c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424064
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 + 0x1e8], 0
je 0x424080
cmp dword [esi + 4], 0
je 0x4240ad
test byte [ebx + 0x45], 1
jne 0x42409f
mov eax, ebx
call fcn.00422f9c
test eax, eax
jne 0x42409f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4241bd
mov edx, esi
mov eax, ebx
call fcn.00423cdc
jmp 0x4241bd
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 0x4241b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00426034
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.00420f40
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00424064
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.00426034
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4241bd
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 0x42d814
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.004038b4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42d863
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.00403ae4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43522c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4417d8
cmp dword [edi], 0
jne 0x4352a8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4417d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44082c
mov ecx, 2
call fcn.004027d0
mov edx, 0x435204
lea eax, [esi + 5]
call fcn.00435224
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00435224
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 0x43527d
mov dword [0x4417d4], 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 0x4353c4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x435414]
test si, 4
je 0x4353d8
or bl, 1
test si, 8
je 0x4353e2
or bl, 4
test si, 1
je 0x4353ec
or bl, 8
test si, 2
je 0x4353f6
or bl, 0x10
test si, 0x10
je 0x435400
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43540f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x435418
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x435450]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435431
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x435440
or bl, 4
test esi, 0x20000000
je 0x43544b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret