joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c4d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x2a7
mov esi, 0x19b7a3
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x401c5d
pop esi
ret

Function at 0x401db9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x401e00
push 7
push str..custom
push edi
call fcn.00401894
add esp, 0xc
test eax, eax
je 0x401e07
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x401ddd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00402225
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x401c76
mov dword [ebp - 0x14], 0x401c81
call fcn.00403b6c
add esp, 0x28
test eax, eax
je 0x401e67
push dword [ebp - 4]
call fcn.0040223c
pop ecx
jmp 0x401e00
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x401e02

Function at 0x402179
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x4021b8
push edi
mov edi, dword [esp + 0x14]
sub edi, 0xac77b8
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + 0xac77b8]
inc esi
mov byte [esi + 0xac77b7], al
cmp esi, ebx
jb 0x402194
pop edi
pop esi
mov byte [ebx + 0xac77b8], 0
mov eax, 0xac77b8
pop ebx
ret

Function at 0x4021c7
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x402205
mov eax, dword [esp + 0x10]
sub eax, 0xac77b8
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + 0xac77b8]
inc esi
mov byte [esi + 0xac77b7], bl
cmp esi, edi
jb 0x4021e1
pop ebx
mov byte [edi + 0xac77b8], 0
mov byte [edi + 0xac77b9], 0
pop edi
mov eax, 0xac77b8
pop esi
ret
Function at 0x4022bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x4022d5
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x4022f8
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4022fd
inc edi
cmp edi, dword [ebp - 4]
jb 0x4022ef
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x4023f5
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x402354
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x402328
cmp cl, 0xff
jne 0x40237f
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x40238d
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x402394
dec ecx
shl edx, cl
and edx, 7
je 0x402319
movzx ecx, byte [edx + 0x92b39c]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x92b394], 0
mov cl, byte [ebx + 4]
je 0x40237c
test cl, cl
je 0x40237c
cmp cl, 0xff
jne 0x402319
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x4022ea
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x4023c8
movzx esi, byte [edx + 0x92b39c]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x4023b3
cmp al, 0xff
jne 0x4023c5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x402346
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4022ea
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x4e8630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
or ebp, 0xffffffff
jmp 0x4e8652
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e8659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e8648
mov eax, 1
add ebx, ebx
jne 0x4e866b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e867c
jne 0x4e868c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e868c
dec eax
add ebx, ebx
jne 0x4e8688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e8660
xor ecx, ecx
sub eax, 3
jb 0x4e86a4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e8716
sar eax, 1
mov ebp, eax
jmp 0x4e86af
add ebx, ebx
jne 0x4e86af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4e86bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4e86e0
inc ecx
add ebx, ebx
jne 0x4e86cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e86c1
jne 0x4e86dd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e86c1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e8700
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e86f1
jmp 0x4e864e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e8700
add edi, ecx
jmp 0x4e864e
pop esi
mov edi, esi
mov ecx, 0xa8a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e871e
cmp byte [edi], 9
jne 0x4e871e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4e8723
lea edi, [esi + 0xe6000]
mov eax, dword [edi]
or eax, eax
je 0x4e879b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe874c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe8788]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e8750
mov ecx, edi
jns 0x4e877f
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe878c]
or eax, eax
je 0x4e8795
mov dword [ebx], eax
add ebx, 4
jmp 0x4e876d
call dword [esi + 0xe8790]
popal
jmp 0x40660c
Function at 0x40d610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push es
cmp ax, bx
jbe 0x40d631
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x40d62b
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x40d61c
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040d3d7
out 0xa9, al
mov bl, 0xed
lea eax, [ebp - 0x58]
push eax
call fcn.0040d3e7
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040d39c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40d6c5
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040d3d7
jg 0x40d70c
sbb al, 0x1e
lea eax, [ebp - 0x40]
push eax
call fcn.0040d3e7
push eax
push esi
push dword [ebp + 8]
call fcn.0040d39c
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040d3d7
aas
push cs
iretd

Function at 0x40dc15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edx + 0x51fffffc], esi
invalid
invalid
invalid
Function at 0x4028b4
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 0x4028e3
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.00403b14
jmp 0x402901
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040283c
mov edi, eax
test ebx, ebx
je 0x402901
cmp dword [esi], 0
je 0x402901
dec ebx
jmp 0x4028ea
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402c44
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 0x402cdc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402cbc
xor eax, eax
push ebp
push 0x402cb5
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 0x402cf8
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 0x402cbc
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 0x4039e4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026e4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x467045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4039ac
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405418
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 0x4055d0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405479
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4055ec
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4054e6
xor eax, eax
push ebp
push 0x4054df
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054c8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40560c
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 0x4054e6
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 0x4055c7
cmp byte [ebp - 0xd], 0
jne 0x405528
cmp byte [ebp - 0x12], 0
je 0x4055c7
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405541
dec ebx
cmp byte [ebx], 0x2e
je 0x405550
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405540
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4055c7
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40557d
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 0x4055c7
cmp byte [ebp - 0xd], 0
je 0x4055c7
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 0x4055c7
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 0x409f38
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 0x409f71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403b14
jmp 0x409f7a
mov eax, ebx
mov edx, esi
call fcn.00403ac8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409f84
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 0x409fa5
mov al, byte [esp]
jmp 0x409fa7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417ed8
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 0x417ede
ret

Function at 0x41a4b8
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 0x41a509
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41a4f0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41a4e0
jmp 0x41a509
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 0x41a4f1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d17c
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x467764], 0
sete dl
or al, dl
jne 0x42d2c0
mov eax, dword [0x467768]
mov bx, 0xffff
call fcn.00402fa8
mov eax, dword [0x467764]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42d28f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x467764]
call fcn.0040f438
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42d287
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42d287
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d287
mov eax, dword [ebp - 0x10]
call fcn.00435010
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d287
push ebp
call fcn.0042d138
pop ecx
test al, al
jne 0x42d287
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x42d243
mov eax, dword [ebp - 0x10]
call fcn.00433954
dec eax
jle 0x42d287
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402fa8
cmp byte [ebp - 0x15], 0
je 0x42d287
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d287
mov edx, dword [ebp - 0x10]
mov eax, dword [0x467768]
call fcn.0042c9e8
inc edi
dec esi
jne 0x42d1d6
mov eax, dword [0x467768]
cmp dword [eax + 8], 0
jle 0x42d2a7
mov eax, dword [0x467768]
call fcn.0042ca78
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42d2c0
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0042cff0
pop ecx
test al, al
jne 0x42d2c0
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432ae0
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 0x432b11
je 0x432b6b
sub eax, 7
je 0x432b32
dec eax
je 0x432b5c
sub eax, 0x17
je 0x432bec
jmp 0x432c2a
add eax, 0xffffff00
sub eax, 9
jb 0x432bd8
add eax, 0xffffff09
sub eax, 0xb
jb 0x432bc2
jmp 0x432c2a
mov eax, ebx
call fcn.00443304
mov edi, eax
test edi, edi
je 0x432c8a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x432c93
jmp 0x432c8a
test byte [ebx + 0x44], 0x20
jne 0x432c93
jmp 0x432c8a
mov edx, esi
mov eax, ebx
call fcn.004303cc
cmp dword [esi + 0xc], 0xffffffff
jne 0x432c93
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040709c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042ee74
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00432990
test eax, eax
je 0x432c93
mov dword [esi + 0xc], 1
jmp 0x432c93
mov edx, esi
mov eax, ebx
call fcn.00432a54
test al, al
jne 0x432c93
jmp 0x432c8a
mov eax, ebx
call fcn.0042fa44
test al, al
jne 0x432c93
jmp 0x432c8a
mov eax, ebx
call fcn.00435010
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x432c8a
cmp dword [0x465820], 0
je 0x432c8a
mov eax, dword [0x465820]
cmp ebx, dword [eax + 0x24]
jne 0x432c8a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x465820]
call fcn.004302e8
jmp 0x432c8a
mov eax, dword [0x46772c]
cmp byte [eax + 0x20], 0
je 0x432c8a
mov eax, dword [0x46772c]
cmp dword [eax + 0x1c], 0
je 0x432c8a
mov eax, dword [esi]
mov edx, dword [0x46772c]
cmp eax, dword [edx + 0x1c]
jne 0x432c8a
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.00443218
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, 0xffb9
call fcn.00402fa8
jmp 0x432c93
mov edx, esi
mov eax, ebx
call fcn.004303cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433124
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 0x433140
cmp dword [esi + 4], 0
je 0x43316d
test byte [ebx + 0x45], 1
jne 0x43315f
mov eax, ebx
call fcn.00432194
test eax, eax
jne 0x43315f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43327d
mov edx, esi
mov eax, ebx
call fcn.00432d9c
jmp 0x43327d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x433276
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00435010
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.004302e8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433124
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.00435010
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43327d
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 0x43cc2c
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.00403a30
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43cc8d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x43cc8d
cmp byte [ebp - 0x102], 0
je 0x43cc8d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403c5c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442fe8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4677e0
cmp dword [edi], 0
jne 0x443064
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4677dc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4659c4
mov ecx, 2
call fcn.004027fc
mov edx, 0x442fc0
lea eax, [esi + 5]
call fcn.00442fe0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00442fe0
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 0x443039
mov dword [0x4677dc], 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 0x443188
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4431d8]
test si, 4
je 0x44319c
or bl, 1
test si, 8
je 0x4431a6
or bl, 4
test si, 1
je 0x4431b0
or bl, 8
test si, 2
je 0x4431ba
or bl, 0x10
test si, 0x10
je 0x4431c4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4431d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4431dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443214]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4431f5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443204
or bl, 4
test esi, 0x20000000
je 0x44320f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret