joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4baa66
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov dword [esi], edi
mov dword [esi + 4], ebp
lea eax, [edi + ebp]
mov dword [esi + 0xc], eax
cmp ebp, 8
jb 0x4bac00
mov eax, dword [edi]
mov dword [esi + 0x10], eax
mov ax, word [edi + 4]
mov word [esi + 0x1c], ax
mov eax, 0x7fff
and ax, word [edi + 6]
mov word [esi + 0x23], ax
mov cx, word [edi + 6]
shr cx, 0xf
movzx edx, ax
test cl, cl
je 0x4baabc
lea eax, [edx*4]
movzx eax, ax
jmp 0x4baac0
movzx eax, word [edi + 8]
movzx edx, cl
mov ecx, edi
add edx, edx
mov word [esi + 0x25], ax
sub ecx, edx
mov dword [esi + 0x46], 0
mov byte [esi + 0x1f], 0
push ebx
mov al, byte [ecx + 0xa]
mov byte [esi + 0x1f], al
mov bl, byte [ecx + 0xb]
mov ecx, 1
sub ecx, edx
mov byte [esi + 0x1e], bl
mov al, bl
mov dword [esi + 0x46], ecx
mov dl, bl
mov dword [esi + 0x14], 0xffffffff
and al, 0x50
and dl, 0x70
cmp al, 0x50
jne 0x4bab16
sub bl, 0x10
mov byte [esi + 0x1e], bl
mov eax, dword [ecx + edi + 0xb]
add ecx, 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x46], ecx
mov dword [esi + 0x18], 0
cmp dl, 0x70
jne 0x4bab35
sub bl, 0x20
mov byte [esi + 0x1e], bl
mov eax, dword [edi + ecx + 0xb]
add ecx, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x46], ecx
lea edx, [edi + ecx]
mov byte [esi + 0x20], 0
mov bl, byte [edx + 0xb]
mov byte [esi + 0x21], bl
cmp bl, 0xff
jne 0x4bab88
mov al, byte [edx + 0xc]
mov byte [esi + 0x21], al
add al, al
movzx edi, al
mov byte [esi + 0x20], al
lea eax, [edi + 0xd]
add eax, ecx
cmp ebp, eax
jb 0x4babff
lea eax, [edx + 0xd]
push edi
push eax
lea eax, [esi + 0x4a]
push eax
call fcn.004d634d
movzx eax, byte [esi + 0x21]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax*2 + 0x4a], cx
mov al, byte [esi + 0x20]
inc al
mov byte [esi + 0x21], al
jmp 0x4babc5
mov al, bl
add al, al
mov byte [esi + 0x20], al
movzx eax, bl
add eax, 0xc
add eax, ecx
cmp ebp, eax
jb 0x4babff
add edx, 0xc
lea ecx, [esi + 0x4a]
xor edi, edi
test bl, bl
je 0x4babc0
mov al, byte [edx]
lea edx, [edx + 1]
xor al, 0xea
inc edi
movzx eax, al
mov word [ecx], ax
add ecx, 2
movzx eax, byte [esi + 0x21]
cmp edi, eax
jb 0x4baba7
xor eax, eax
mov word [ecx], ax
movzx ecx, byte [esi + 0x21]
mov eax, dword [esi]
add ecx, dword [esi + 0x46]
add eax, 0xc
add eax, ecx
mov dword [esi + 0x31], 0xffffffff
mov dword [esi + 8], eax
mov al, byte [esi + 0x1e]
and al, 0xf
mov byte [esi + 0x2c], 0
cmp al, 4
je 0x4babfa
cmp al, 8
je 0x4babfa
pop ebx
xor al, al
pop edi
mov byte [esi + 0x22], al
pop esi
pop ebp
ret 8
mov al, 1
mov byte [esi + 0x22], al
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x4bcf83
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x6c], 0
jne 0x4bd0cc
push ebx
mov ebx, dword [esi + 0x74]
test bl, bl
jns 0x4bcfa2
mov dword [esi + 0x94], 0xeaea0001
test bl, 0x40
je 0x4bcfb1
mov dword [esi + 0x90], 0xeaea0002
test ebx, 0x100
je 0x4bcfc3
mov dword [esi + 0x98], 0xeaea0003
test bl, 4
je 0x4bcfd2
mov dword [esi + 0x80], 0xeaea0004
test ebx, 0x800
je 0x4bcfe4
mov dword [esi + 0xa8], 0xeaea0005
test bl, 1
je 0x4bcff0
mov dword [esi + 0x78], 0xeaea0006
test bl, 2
je 0x4bcffc
mov dword [esi + 0x7c], 0xeaea0007
test bl, 8
je 0x4bd00b
mov dword [esi + 0x84], 0xeaea0008
test bl, 0x20
je 0x4bd01a
mov dword [esi + 0x8c], 0xeaea0009
test bl, 0x10
je 0x4bd029
mov dword [esi + 0x88], 0xeaea000a
test ebx, 0x200
je 0x4bd045
mov dword [esi + 0x9c], 0xeaea000b
mov dword [esi + 0xa0], 0xeaea000c
test ebx, 0x400
je 0x4bd057
mov dword [esi + 0xa4], 0xeaea000d
test ebx, 0x40000000
je 0x4bd067
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x54]
test ebx, 0x20000000
je 0x4bd077
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0x54]
test ebx, ebx
jns 0x4bd081
mov eax, dword [esi]
push esi
call dword [eax + 0x48]
test ebx, 0x8000000
je 0x4bd08f
mov eax, dword [esi]
push esi
call dword [eax + 0x58]
test ebx, 0x10000000
je 0x4bd0a2
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0x80]
test ebx, 0x4000000
je 0x4bd0b9
test dword [esi + 0x50], 0x10000
je 0x4bd0b9
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
test ebx, 0x2000000
pop ebx
je 0x4bd0c8
mov eax, dword [esi]
push esi
call dword [eax + 0x7c]
mov byte [esi + 0x6c], 1
xor eax, eax
pop esi
ret
Function at 0x4c1359
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push 0x3000
push 0x16
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0xb4], eax
lea ecx, [esi + 0xb0]
mov byte [eax], 0x8b
mov eax, dword [esi + 0xb4]
mov byte [eax + 1], 0x44
mov eax, dword [esi + 0xb4]
mov byte [eax + 2], 0x24
mov eax, dword [esi + 0xb4]
mov byte [eax + 3], 4
mov eax, dword [esi + 0xb4]
mov byte [eax + 4], 0xa3
mov eax, dword [esi + 0xb4]
mov dword [eax + 5], ecx
mov eax, dword [esi + 0xb4]
mov byte [eax + 9], 0xc7
mov eax, dword [esi + 0xb4]
mov byte [eax + 0xa], 0x44
mov eax, dword [esi + 0xb4]
mov byte [eax + 0xb], 0x24
mov eax, dword [esi + 0xb4]
mov byte [eax + 0xc], 4
mov eax, dword [esi + 0xb4]
mov dword [eax + 0xd], esi
mov eax, dword [esi + 0xb4]
mov byte [eax + 0x11], 0xe9
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_IsWindowUnicode]
mov ecx, dword [esi + 0xb4]
test eax, eax
je 0x4c1421
mov eax, 0x4c1233
sub eax, ecx
sub eax, 0x16
mov dword [ecx + 0x12], eax
push dword [esi + 0xb4]
push 0xfffffffffffffffc
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esi + 0xac], eax
pop esi
ret
mov eax, 0x4bd65d
mov byte [esi + 0x5c], 1
sub eax, ecx
sub eax, 0x16
mov dword [ecx + 0x12], eax
push dword [esi + 0xb4]
push 0xfffffffffffffffc
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [esi + 0xac], eax
pop esi
ret
Function at 0x4c3646
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call fcn.004d6912
mov esi, eax
mov eax, dword [esi + 0x102]
test eax, eax
je 0x4c3665
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 0x24]
push dword [eax + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x102], eax
test eax, eax
je 0x4c3692
cmp word [eax], 0
jne 0x4c36d2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x102], 0
call fcn.004d6912
mov esi, eax
mov eax, dword [esi + 0xee]
test eax, eax
je 0x4c36ce
push 1
push eax
mov dword [esi + 0xf2], 0
mov dword [esi + 0xf6], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0xee]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xf6], eax
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x54]
mov dword [esi + 0xf2], eax
test edi, edi
je 0x4c36fc
mov eax, dword [edi]
mov dword [esi + 0xfa], eax
mov eax, dword [edi + 4]
mov dword [esi + 0xfe], eax
cmp byte [esp + 0x10], 0
je 0x4c370b
pop edi
pop esi
pop ebx
jmp fcn.004c3419
push 0
push 0x2bc
push 1
push dword [esi + 0xee]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
ret
Function at 0x4cd7a7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, ecx
or ecx, 0xffffffff
push edi
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
movzx edi, byte [edx + esi + 8]
lea ebx, [edx + 4]
movzx eax, byte [edx + esi + 9]
shl edi, 8
or edi, eax
movzx eax, byte [edx + esi + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [edx + esi + 0xb]
shl edi, 8
xor edx, edx
or edi, eax
test ebx, ebx
je 0x4cd812
movzx eax, byte [esi + edx + 4]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x55a6e0]
cmp edx, ebx
jb 0x4cd7f9
not ecx
xor eax, eax
cmp edi, ecx
pop edi
pop esi
setne al
pop ebx
ret

Function at 0x4cdd31
Capabilities:
Enumerate pe sections

Disassembly:
cmp dword [esp + 4], 0x20
push esi
mov esi, ecx
je 0x4cdd42
mov eax, 0x61
pop esi
ret
mov dword [esi + 0x90], 1
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
add ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x94], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
movzx eax, byte [edx + 5]
add ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x98], ecx
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x9c], ecx
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa0], ecx
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa4], ecx
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xa8], ecx
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
add ecx, eax
mov dword [esi + 0xac], ecx
movzx ecx, byte [edx + 0x1c]
movzx eax, byte [edx + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
add ecx, eax
xor eax, eax
mov dword [esi + 0xb0], ecx
pop esi
ret
Function at 0x402bec
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x49d03c], 0x8088405
inc edx
mov dword [0x49d03c], edx
fld qword [0x49602c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
ret

Function at 0x402d80
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 0x402e18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402df8
xor eax, eax
push ebp
push 0x402df1
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 0x402e34
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 0x402df8
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 0x4055a4
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 0x405760
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405605
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40577c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405677
xor eax, eax
push ebp
push 0x405670
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.004053fc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405659
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40579c
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 0x405677
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 0x405758
cmp byte [ebp - 0xd], 0
jne 0x4056b9
cmp byte [ebp - 0x12], 0
je 0x405758
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4056d2
dec ebx
cmp byte [ebx], 0x2e
je 0x4056e1
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4056d1
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405758
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40570e
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 0x405758
cmp byte [ebp - 0xd], 0
je 0x405758
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 0x405758
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 0x40a3dc
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 0x40a415
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cb8
jmp 0x40a41e
mov eax, ebx
mov edx, esi
call fcn.00403c24
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a428
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 0x40a449
mov al, byte [esp]
jmp 0x40a44b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x418354
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 0x41835a
ret

Function at 0x41a838
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 0x41a889
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41a870
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41a860
jmp 0x41a889
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 0x41a871
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cd00
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 [0x49d77c], 0
sete dl
or al, dl
jne 0x42ce40
mov eax, dword [0x49d780]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x49d77c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42ce0f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x49d77c]
call fcn.0040fad8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ce07
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42ce07
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42ce07
mov eax, dword [ebp - 0x14]
call fcn.00435010
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ce07
push ebp
call fcn.0042ccbc
pop ecx
test al, al
jne 0x42ce07
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x42cdc3
mov eax, dword [ebp - 0x14]
call fcn.0043399c
dec eax
jle 0x42ce07
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.004030e4
cmp byte [ebp - 1], 0
je 0x42ce07
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ce07
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49d780]
call fcn.0042c508
inc edi
dec esi
jne 0x42cd56
mov eax, dword [0x49d780]
cmp dword [eax + 8], 0
jle 0x42ce27
mov eax, dword [0x49d780]
call fcn.0042c598
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ce40
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042cb24
pop ecx
test al, al
jne 0x42ce40
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 0x4329a8
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 0x4329d9
je 0x432a33
sub eax, 7
je 0x4329fa
dec eax
je 0x432a24
sub eax, 0x17
je 0x432ad8
jmp 0x432b16
add eax, 0xffffff00
sub eax, 9
jb 0x432ac4
add eax, 0xffffff09
sub eax, 0xb
jb 0x432a8c
jmp 0x432b16
mov eax, ebx
call fcn.00444820
mov edi, eax
test edi, edi
je 0x432b76
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x432b7f
jmp 0x432b76
test byte [ebx + 0x44], 0x20
jne 0x432b7f
jmp 0x432b76
mov edx, esi
mov eax, ebx
call fcn.0042ffa8
cmp dword [esi + 0xc], 0xffffffff
jne 0x432b7f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004071a4
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042eadc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00432880
test eax, eax
je 0x432b7f
mov dword [esi + 0xc], 1
jmp 0x432b7f
mov edx, esi
mov eax, ebx
call fcn.00432914
test al, al
je 0x432b76
cmp dword [esi + 0xc], 0
jne 0x432b7f
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.00435010
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x432b7f
mov eax, ebx
call fcn.0042f644
test al, al
jne 0x432b7f
jmp 0x432b76
mov eax, ebx
call fcn.00435010
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x432b76
cmp dword [0x49681c], 0
je 0x432b76
mov eax, dword [0x49681c]
cmp ebx, dword [eax + 0x24]
jne 0x432b76
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x49681c]
call fcn.0042fedc
jmp 0x432b76
mov eax, dword [0x49d744]
cmp byte [eax + 0x20], 0
je 0x432b76
mov eax, dword [0x49d744]
cmp dword [eax + 0x1c], 0
je 0x432b76
mov eax, dword [esi]
mov edx, dword [0x49d744]
cmp eax, dword [edx + 0x1c]
jne 0x432b76
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.00444764
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.004030e4
jmp 0x432b7f
mov edx, esi
mov eax, ebx
call fcn.0042ffa8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433040
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 0x43305c
cmp dword [esi + 4], 0
je 0x433089
test byte [ebx + 0x45], 1
jne 0x43307b
mov eax, ebx
call fcn.00431f78
test eax, eax
jne 0x43307b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x433199
mov edx, esi
mov eax, ebx
call fcn.00432cb8
jmp 0x433199
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 0x433192
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.0042fedc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00433040
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.00435010
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433199
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 0x43cb24
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.00403bd0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43cb73
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.00403e00
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456850
Capabilities:
Encode data using xor

Disassembly:
sub byte [edx - 0x5dcf7e50], bl
aas
xchg ebx, eax
xchg ebx, eax
mov dword [0x6a4d1590], eax
dec eax
xor byte [ecx], al
add ebx, edi
add ebx, edi
mov cl, 0x59
mov dl, cl
arpl word [eax - 0x448e7f45], ax
aaa
fxch st(7)
dec edi
sal esp, cl
jbe 0x456840
invalid
Function at 0x458aac
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
test byte [esi], 0x41
pop ss
fidiv dword [ebp - 0x37f4e04a]
mov ch, 0xb6
pop ds
or ecx, eax
xor edi, dword [ecx]
push es
adc eax, 0xaa4f0b81
sub byte [ecx + ecx*4 - 4], bh
mov dl, byte [0x6f8774a3]
test dword [edi - 0x25], edi
aam 0xe7
adc al, 0x4c
dec esp
adc byte [ebx + ebx*2 + 0x35], 0xfe
test ch, al
loop 0x458a2b
and bl, byte [ebx]
mov edx, 0x317948c0
in al, 0xd6
mov esi, 0xd0601759
xor edi, ecx
push esi
cmpsd dword [esi], dword es:[edi]
mov ah, 0xc0
xchg byte [esi + 0x2b230946], dh
daa
jns 0x458a31
add dword [eax], esi
jae 0x458aec
sbb al, 0xa7
ljmp 0xbb0a:0x7e3c4c02
in al, 0x38
xor dword [eax], eax
iretd

Function at 0x45cec8
Capabilities:
Encode data using xor

Disassembly:
ror byte [0x9fa9201d], 1
mov eax, dword [0x3d70358b]
or al, 0x34
sub dword [ebx], 0x75
mov dl, 0x97
invalid

Function at 0x46a5cc
Capabilities:
Encode data using xor

Disassembly:
test dword [edi], edi
fcom qword [eax + esi*2 + 0x31859d0c]
in al, 0x2b
and cl, byte [ebx + 0x45479e94]
scasb al, byte es:[edi]
sub byte [ebp + 0x32900870], bl
in eax, dx
adc cl, byte [esi + 0x3f21e30d]
aas
aas
inc ebp
bound esp, qword [ebp - 0x26]
xor esp, dword [eax]
nop
in al, 0x32
adc byte [ecx + 0xd], ah
in al, dx
inc esi
or eax, 0xfdd1c1bc
sahf
loope 0x46a5ad
mov eax, 0xea65604e
add edx, edx
ret