joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404190
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402784
test ecx, ecx
je fcn.004040ac
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404094
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404210
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x404224
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404094
ret

Function at 0x404298
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4042d7
cmp al, 0xb
je 0x4042d7
cmp al, 0xc
je 0x4042e1
cmp al, 0xd
je 0x4042f4
cmp al, 0xe
je 0x404312
cmp al, 0xf
je 0x4042d7
cmp al, 0x11
je 0x4042d7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402784
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4042d7
jmp 0x404326
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4042e1
jmp 0x404326
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x404298
dec edi
jg 0x4042f7
pop ebp
jmp 0x404326
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040426c
dec edi
jg 0x404315
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404298

Function at 0x40432c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x4042d7
cmp al, 0xb
je 0x4042d7
cmp al, 0xc
je 0x4042e1
cmp al, 0xd
je 0x4042f4
cmp al, 0xe
je 0x404312
cmp al, 0xf
je 0x4042d7
cmp al, 0x11
je 0x4042d7
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402784
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4042d7
jmp 0x404326
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4042e1
jmp 0x404326
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x404298
dec edi
jg 0x4042f7
pop ebp
jmp 0x404326
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040426c
dec edi
jg 0x404315
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x404298
Function at 0x404364
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x40444a
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x4043b4
cmp al, 0xb
je 0x4043ce
cmp al, 0xc
je 0x4043e5
cmp al, 0xd
je 0x4043f4
cmp al, 0xe
je 0x404412
cmp al, 0xf
je 0x404428
cmp al, 0x11
je 0x404437
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402784
cmp ecx, 1
mov eax, ebx
jg 0x4043c5
call fcn.00403ac4
jmp 0x404446
mov edx, ecx
call fcn.00403ae8
jmp 0x404446
cmp ecx, 1
mov eax, ebx
jg 0x4043dc
call fcn.004040ac
jmp 0x404446
mov edx, ecx
call fcn.004040c4
jmp 0x404446
mov eax, ebx
add ebx, 0x10
call fcn.00404bd4
dec edi
jg 0x4043e5
jmp 0x404446
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404364
dec edi
jg 0x4043f7
pop ebp
jmp 0x404446
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404338
dec edi
jg 0x404415
pop ebp
jmp 0x404446
mov eax, ebx
add ebx, 4
call fcn.004053fc
dec edi
jg 0x404428
jmp 0x404446
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404dc8
dec edi
jg 0x404437
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x40444c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404364

Function at 0x404458
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x404484
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402810
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x4044c3
cmp cl, 0xb
je 0x4044d4
cmp cl, 0xc
je 0x4044e5
cmp cl, 0xd
je 0x4044f6
cmp cl, 0xe
je 0x404516
cmp cl, 0xf
je 0x40452f
cmp cl, 0x11
je 0x404540
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402784
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b18
mov eax, 4
jmp 0x404551
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004040e8
mov eax, 4
jmp 0x404551
lea edx, [esi + eax]
add eax, ebx
call fcn.0040481c
mov eax, 0x10
jmp 0x404551
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.00404574
pop eax
jmp 0x404551
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404458
pop eax
jmp 0x404551
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405414
mov eax, 4
jmp 0x404551
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404e04
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x404472
pop ecx
sub ecx, eax
jle 0x40456d
lea edx, [ebx + eax]
add eax, esi
call fcn.00402810
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404574
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x4045ba
cmp cl, 0xb
je 0x4045d1
cmp cl, 0xc
je 0x4045e5
cmp cl, 0xd
je 0x4045f9
cmp cl, 0xe
je 0x40461a
cmp cl, 0xf
je 0x404637
cmp cl, 0x11
je 0x40464b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402784
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b18
add ebx, 4
add esi, 4
dec ebp
jne 0x4045ba
jmp 0x40465f
mov eax, ebx
mov edx, dword [esi]
call fcn.004040e8
add ebx, 4
add esi, 4
dec ebp
jne 0x4045d1
jmp 0x40465f
mov eax, ebx
mov edx, esi
call fcn.0040481c
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4045e5
jmp 0x40465f
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.00404574
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404602
jmp 0x40465f
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404458
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40461a
jmp 0x40465f
mov eax, ebx
mov edx, dword [esi]
call fcn.00405414
add ebx, 4
add esi, 4
dec ebp
jne 0x404637
jmp 0x40465f
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404e04
add ebx, 4
add esi, 4
dec ebp
jne 0x40464b
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x40481c
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402784
cmp eax, edx
je 0x4048b4
cmp word [eax], 8
jb 0x404854
push eax
push edx
cmp word [eax], 0x100
je 0x40484a
cmp word [eax], 0x101
je 0x404842
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404852
call dword [0x4443e8]
jmp 0x404852
add eax, 8
call fcn.00403ac4
pop edx
pop eax
cmp word [edx], 8
jae 0x40486b
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404886
cmp word [edx], 0x101
jne 0x4048a0
push eax
call 0x40485a
pop eax
jmp dword [0x4443f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x404897
mov ecx, dword [edx - 8]
inc ecx
jle 0x404897
lock inc dword [edx - 8]
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4047d0
ret

Function at 0x404ba0
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x404bae
push edx
call fcn.004047d8
pop edx
xor eax, eax
test edx, edx
je 0x404bca
mov eax, dword [edx - 4]
shr eax, 1
je 0x404bca
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404094
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret
Function at 0x40503c
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 0x4051f8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40509d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405214
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40510f
xor eax, eax
push ebp
push 0x405108
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.00404e94
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4050f1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405234
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 0x40510f
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 0x4051f0
cmp byte [ebp - 0xd], 0
jne 0x405151
cmp byte [ebp - 0x12], 0
je 0x4051f0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40516a
dec ebx
cmp byte [ebx], 0x2e
je 0x405179
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405169
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4051f0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4051a6
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 0x4051f0
cmp byte [ebp - 0xd], 0
je 0x4051f0
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 0x4051f0
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 0x405430
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.004053fc
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x40544a
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x405459
mov al, 0x17
jmp fcn.00402784
ret

Function at 0x4054f8
Capabilities:
Terminate process

Disassembly:
test eax, eax
jns 0x405512
mov ecx, dword [0x444014]
test ecx, ecx
je 0x40550b
mov edx, dword [esp]
call ecx
mov al, 0x18
jmp fcn.00402784
ret
Function at 0x408994
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 0x4089cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bac
jmp 0x4089d6
mov eax, ebx
mov edx, esi
call fcn.00403b18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x413fb4
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 0x413fba
ret

Function at 0x416324
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 0x416375
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41635c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41634c
jmp 0x416375
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 0x41635d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ed84
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 [0x444780], 0
sete dl
or al, dl
jne 0x41eec4
mov eax, dword [0x444784]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x444780]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x41ee93
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x444780]
call fcn.0040d860
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x41ee8b
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x41ee8b
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x41ee8b
mov eax, dword [ebp - 0x14]
call fcn.00426fb0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x41ee8b
push ebp
call fcn.0041ed40
pop ecx
test al, al
jne 0x41ee8b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x41ee47
mov eax, dword [ebp - 0x14]
call fcn.0042593c
dec eax
jle 0x41ee8b
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.00402fa4
cmp byte [ebp - 1], 0
je 0x41ee8b
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x41ee8b
mov edx, dword [ebp - 0x14]
mov eax, dword [0x444784]
call fcn.0041e58c
inc edi
dec esi
jne 0x41edda
mov eax, dword [0x444784]
cmp dword [eax + 8], 0
jle 0x41eeab
mov eax, dword [0x444784]
call fcn.0041e61c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41eec4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0041eba8
pop ecx
test al, al
jne 0x41eec4
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 0x424948
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 0x424979
je 0x4249d3
sub eax, 7
je 0x42499a
dec eax
je 0x4249c4
sub eax, 0x17
je 0x424a78
jmp 0x424ab6
add eax, 0xffffff00
sub eax, 9
jb 0x424a64
add eax, 0xffffff09
sub eax, 0xb
jb 0x424a2c
jmp 0x424ab6
mov eax, ebx
call fcn.0043644c
mov edi, eax
test edi, edi
je 0x424b16
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x424b1f
jmp 0x424b16
test byte [ebx + 0x44], 0x20
jne 0x424b1f
jmp 0x424b16
mov edx, esi
mov eax, ebx
call fcn.00422014
cmp dword [esi + 0xc], 0xffffffff
jne 0x424b1f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406bb0
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00420b60
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00424820
test eax, eax
je 0x424b1f
mov dword [esi + 0xc], 1
jmp 0x424b1f
mov edx, esi
mov eax, ebx
call fcn.004248b4
test al, al
je 0x424b16
cmp dword [esi + 0xc], 0
jne 0x424b1f
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.00426fb0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x424b1f
mov eax, ebx
call fcn.004216b0
test al, al
jne 0x424b1f
jmp 0x424b16
mov eax, ebx
call fcn.00426fb0
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x424b16
cmp dword [0x4436b4], 0
je 0x424b16
mov eax, dword [0x4436b4]
cmp ebx, dword [eax + 0x24]
jne 0x424b16
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4436b4]
call fcn.00421f48
jmp 0x424b16
mov eax, dword [0x444748]
cmp byte [eax + 0x20], 0
je 0x424b16
mov eax, dword [0x444748]
cmp dword [eax + 0x1c], 0
je 0x424b16
mov eax, dword [esi]
mov edx, dword [0x444748]
cmp eax, dword [edx + 0x1c]
jne 0x424b16
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.00436390
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.00402fa4
jmp 0x424b1f
mov edx, esi
mov eax, ebx
call fcn.00422014
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424fe0
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 0x424ffc
cmp dword [esi + 4], 0
je 0x425029
test byte [ebx + 0x45], 1
jne 0x42501b
mov eax, ebx
call fcn.00423f84
test eax, eax
jne 0x42501b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x425139
mov edx, esi
mov eax, ebx
call fcn.00424c58
jmp 0x425139
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 0x425132
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00426fb0
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.00421f48
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00424fe0
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.00426fb0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425139
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 0x42e78c
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.00403ac4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42e7db
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.00403cf4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436168
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4447e0
cmp dword [edi], 0
jne 0x4361e4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4447dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x443848
mov ecx, 2
call fcn.00402810
mov edx, 0x436140
lea eax, [esi + 5]
call fcn.00436160
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00436160
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 0x4361b9
mov dword [0x4447dc], 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 0x436300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436350]
test si, 4
je 0x436314
or bl, 1
test si, 8
je 0x43631e
or bl, 4
test si, 1
je 0x436328
or bl, 8
test si, 2
je 0x436332
or bl, 0x10
test si, 0x10
je 0x43633c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43634b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436354
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43638c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43636d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43637c
or bl, 4
test esi, 0x20000000
je 0x436387
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43c534
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x43c546
add esp, 0xfffffff0
call fcn.004030c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041208c
mov eax, ebx
call fcn.0043c880
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x40c19c]
call fcn.00402d98
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x40c19c]
call fcn.00402d98
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x40c19c]
call fcn.00402d98
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x40c19c]
call fcn.00402d98
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40c19c]
call fcn.00402d98
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, 0x43c504
push eax
push 0
push 0
mov eax, dword [0x443ba0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x413554]
call fcn.00414a14
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x413554]
call fcn.00414a14
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x413554]
call fcn.00414a14
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0043cc60
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43cb7c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43cb7c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43cb7c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43c655
call fcn.00403120
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret