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

Disassembly:
cmp ecx, 0
je 0x40435e
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 0x4042c8
cmp al, 0xb
je 0x4042e2
cmp al, 0xc
je 0x4042f9
cmp al, 0xd
je 0x404308
cmp al, 0xe
je 0x404326
cmp al, 0xf
je 0x40433c
cmp al, 0x11
je 0x40434b
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402758
cmp ecx, 1
mov eax, ebx
jg 0x4042d9
call fcn.004039d0
jmp 0x40435a
mov edx, ecx
call fcn.004039f4
jmp 0x40435a
cmp ecx, 1
mov eax, ebx
jg 0x4042f0
call fcn.00404000
jmp 0x40435a
mov edx, ecx
call fcn.00404018
jmp 0x40435a
mov eax, ebx
add ebx, 0x10
call fcn.00404ae0
dec edi
jg 0x4042f9
jmp 0x40435a
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.00404278
dec edi
jg 0x40430b
pop ebp
jmp 0x40435a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040424c
dec edi
jg 0x404329
pop ebp
jmp 0x40435a
mov eax, ebx
add ebx, 4
call fcn.00405338
dec edi
jg 0x40433c
jmp 0x40435a
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404cd4
dec edi
jg 0x40434b
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404360
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404278

Function at 0x40436c
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 0x404398
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402828
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x4043d7
cmp cl, 0xb
je 0x4043e8
cmp cl, 0xc
je 0x4043f9
cmp cl, 0xd
je 0x40440a
cmp cl, 0xe
je 0x40442a
cmp cl, 0xf
je 0x404443
cmp cl, 0x11
je 0x404454
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402758
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403a24
mov eax, 4
jmp 0x404465
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040403c
mov eax, 4
jmp 0x404465
lea edx, [esi + eax]
add eax, ebx
call fcn.00404728
mov eax, 0x10
jmp 0x404465
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.00404488
pop eax
jmp 0x404465
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.0040436c
pop eax
jmp 0x404465
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405350
mov eax, 4
jmp 0x404465
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404d10
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x404386
pop ecx
sub ecx, eax
jle 0x404481
lea edx, [ebx + eax]
add eax, esi
call fcn.00402828
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404488
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 0x4044ce
cmp cl, 0xb
je 0x4044e5
cmp cl, 0xc
je 0x4044f9
cmp cl, 0xd
je 0x40450d
cmp cl, 0xe
je 0x40452e
cmp cl, 0xf
je 0x40454b
cmp cl, 0x11
je 0x40455f
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402758
mov eax, ebx
mov edx, dword [esi]
call fcn.00403a24
add ebx, 4
add esi, 4
dec ebp
jne 0x4044ce
jmp 0x404573
mov eax, ebx
mov edx, dword [esi]
call fcn.0040403c
add ebx, 4
add esi, 4
dec ebp
jne 0x4044e5
jmp 0x404573
mov eax, ebx
mov edx, esi
call fcn.00404728
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4044f9
jmp 0x404573
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.00404488
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404516
jmp 0x404573
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.0040436c
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40452e
jmp 0x404573
mov eax, ebx
mov edx, dword [esi]
call fcn.00405350
add ebx, 4
add esi, 4
dec ebp
jne 0x40454b
jmp 0x404573
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404d10
add ebx, 4
add esi, 4
dec ebp
jne 0x40455f
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x404728
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402758
cmp eax, edx
je 0x4047c0
cmp word [eax], 8
jb 0x404760
push eax
push edx
cmp word [eax], 0x100
je 0x404756
cmp word [eax], 0x101
je 0x40474e
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40475e
call dword [0x45b3e4]
jmp 0x40475e
add eax, 8
call fcn.004039d0
pop edx
pop eax
cmp word [edx], 8
jae 0x404777
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 0x404792
cmp word [edx], 0x101
jne 0x4047ac
push eax
call 0x404766
pop eax
jmp dword [0x45b3ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x4047a3
mov ecx, dword [edx - 8]
inc ecx
jle 0x4047a3
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 0x4046dc
ret
Function at 0x404f48
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 0x405104
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404fa9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405120
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40501b
xor eax, eax
push ebp
push 0x405014
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.00404da0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404ffd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405140
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 0x40501b
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 0x4050fc
cmp byte [ebp - 0xd], 0
jne 0x40505d
cmp byte [ebp - 0x12], 0
je 0x4050fc
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405076
dec ebx
cmp byte [ebx], 0x2e
je 0x405085
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405075
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4050fc
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4050b2
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 0x4050fc
cmp byte [ebp - 0xd], 0
je 0x4050fc
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 0x4050fc
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 0x40893c
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 0x408975
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ab8
jmp 0x40897e
mov eax, ebx
mov edx, esi
call fcn.00403a24
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408988
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 0x4089a9
mov al, byte [esp]
jmp 0x4089ab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x413f78
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 0x413f7e
ret

Function at 0x4166c8
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 0x416719
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x416700
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4166f0
jmp 0x416719
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 0x416701
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a3ec
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41a38f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41a3ad
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41a40b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41a3f2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41a3fb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41a405
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41a3e7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41a371
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41a458
dec eax
je 0x41a44f
sub eax, 3
je 0x41a446
mov dword [ebp - 4], 0x40
jmp 0x41a475
mov dword [ebp - 4], 4
jmp 0x41a45b
mov dword [ebp - 4], 0x20
jmp 0x41a45b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41a4a7
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41a427
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00419cb8
pop eax
mov esp, 0x75ff0a0e
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x41a4b3
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a53c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00419cc8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419c7d
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00419cc8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419c7d
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00419cc8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419c7d
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00419cb8
dec ecx
pushfd
cmpsb byte [esi], byte es:[edi]
mov byte [0xfacca580], al
invalid
Function at 0x4229a4
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 [0x45b778], 0
sete dl
or al, dl
jne 0x422ae4
mov eax, dword [0x45b77c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45b778]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x422ab3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45b778]
call fcn.0040d73c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x422aab
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x422aab
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x422aab
mov eax, dword [ebp - 0x14]
call fcn.0042acb4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x422aab
push ebp
call fcn.00422960
pop ecx
test al, al
jne 0x422aab
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x422a67
mov eax, dword [ebp - 0x14]
call fcn.00429640
dec eax
jle 0x422aab
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.00402f24
cmp byte [ebp - 1], 0
je 0x422aab
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x422aab
mov edx, dword [ebp - 0x14]
mov eax, dword [0x45b77c]
call fcn.004221ac
inc edi
dec esi
jne 0x4229fa
mov eax, dword [0x45b77c]
cmp dword [eax + 8], 0
jle 0x422acb
mov eax, dword [0x45b77c]
call fcn.0042223c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x422ae4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004227c8
pop ecx
test al, al
jne 0x422ae4
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 0x42864c
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 0x42867d
je 0x4286d7
sub eax, 7
je 0x42869e
dec eax
je 0x4286c8
sub eax, 0x17
je 0x42877c
jmp 0x4287ba
add eax, 0xffffff00
sub eax, 9
jb 0x428768
add eax, 0xffffff09
sub eax, 0xb
jb 0x428730
jmp 0x4287ba
mov eax, ebx
call fcn.0043a594
mov edi, eax
test edi, edi
je 0x42881a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x428823
jmp 0x42881a
test byte [ebx + 0x44], 0x20
jne 0x428823
jmp 0x42881a
mov edx, esi
mov eax, ebx
call fcn.00425c4c
cmp dword [esi + 0xc], 0xffffffff
jne 0x428823
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406a5c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00424780
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00428524
test eax, eax
je 0x428823
mov dword [esi + 0xc], 1
jmp 0x428823
mov edx, esi
mov eax, ebx
call fcn.004285b8
test al, al
je 0x42881a
cmp dword [esi + 0xc], 0
jne 0x428823
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.0042acb4
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x428823
mov eax, ebx
call fcn.004252e8
test al, al
jne 0x428823
jmp 0x42881a
mov eax, ebx
call fcn.0042acb4
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42881a
cmp dword [0x45a6e0], 0
je 0x42881a
mov eax, dword [0x45a6e0]
cmp ebx, dword [eax + 0x24]
jne 0x42881a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45a6e0]
call fcn.00425b80
jmp 0x42881a
mov eax, dword [0x45b740]
cmp byte [eax + 0x20], 0
je 0x42881a
mov eax, dword [0x45b740]
cmp dword [eax + 0x1c], 0
je 0x42881a
mov eax, dword [esi]
mov edx, dword [0x45b740]
cmp eax, dword [edx + 0x1c]
jne 0x42881a
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.0043a4d8
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.00402f24
jmp 0x428823
mov edx, esi
mov eax, ebx
call fcn.00425c4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428ce4
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 0x428d00
cmp dword [esi + 4], 0
je 0x428d2d
test byte [ebx + 0x45], 1
jne 0x428d1f
mov eax, ebx
call fcn.00427c1c
test eax, eax
jne 0x428d1f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x428e3d
mov edx, esi
mov eax, ebx
call fcn.0042895c
jmp 0x428e3d
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 0x428e36
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042acb4
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.00425b80
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00428ce4
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.0042acb4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428e3d
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 0x432898
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.004039d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4328e7
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.00403c00
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a2b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45b7d8
cmp dword [edi], 0
jne 0x43a32c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45b7d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45a874
mov ecx, 2
call fcn.00402828
mov edx, 0x43a288
lea eax, [esi + 5]
call fcn.0043a2a8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043a2a8
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 0x43a301
mov dword [0x45b7d4], 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 0x43a448
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a498]
test si, 4
je 0x43a45c
or bl, 1
test si, 8
je 0x43a466
or bl, 4
test si, 1
je 0x43a470
or bl, 8
test si, 2
je 0x43a47a
or bl, 0x10
test si, 0x10
je 0x43a484
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a493
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43a49c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43a4d4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a4b5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a4c4
or bl, 4
test esi, 0x20000000
je 0x43a4cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret