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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
test ebx, ebx
push edi
mov ebp, ecx
jle 0x466b07
mov eax, 0xfffefb0f
lea ebx, [ebx + ebp + 0x104f0]
sub eax, ebp
mov dword [esp + 0x18], eax
mov eax, 0xfffefb10
sub eax, ebp
mov dword [esp + 0x10], eax
mov ecx, 0x3c
lea esi, [ebp + 0x10311]
lea edi, [ebp + 0x10401]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + ebx]
cmp edi, 1
mov esi, edi
jle 0x466a3c
push esi
mov ecx, ebp
call fcn.00466b21
dec esi
cmp esi, 1
jg 0x466a2e
mov cl, byte [ebp + 0x10401]
test cl, cl
je 0x466b14
mov al, byte [ebp + 0x10402]
test al, al
jne 0x466a58
xor eax, eax
jmp 0x466a8c
and eax, 0xff
xor edx, edx
and ecx, 0xff
mov dl, byte [eax + 0x1001cdf4]
mov eax, edx
xor edx, edx
mov dl, byte [ecx + 0x1001cdf4]
mov ecx, 0xff
sub eax, edx
add eax, 0xff
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x1001ccf4]
mov edx, dword [esp + 0x18]
mov byte [edi + ebp + 0x104f0], al
lea eax, [edx + ebx]
test eax, eax
jle 0x466af7
lea esi, [ebx - 0x1e0]
mov edi, eax
mov cl, byte [esi]
test cl, cl
je 0x466ae3
mov al, byte [ebx]
test al, al
je 0x466ae3
and eax, 0xff
xor edx, edx
and ecx, 0xff
mov dl, byte [eax + 0x1001cdf4]
mov eax, edx
xor edx, edx
mov dl, byte [ecx + 0x1001cdf4]
mov ecx, 0xff
add eax, edx
cdq
idiv ecx
xor eax, eax
mov al, byte [edx + 0x1001ccf4]
jmp 0x466ae5
xor eax, eax
mov byte [esi], al
mov dl, byte [esi + 0xf1]
xor dl, al
mov byte [esi], dl
add esi, 0x10
dec edi
jne 0x466aa6
mov eax, dword [esp + 0x10]
dec ebx
lea ecx, [eax + ebx]
test ecx, ecx
jg 0x466a11
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x466b21
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], edx
lea eax, [ecx - 1]
test eax, eax
jle 0x466c17
push ebx
push ebp
push esi
push edi
lea edi, [edx + 0x10402]
mov dword [esp + 0x14], eax
mov al, byte [edi - 1]
xor esi, esi
test ecx, ecx
mov byte [esp + 0x10], al
jle 0x466c01
mov eax, ecx
shl eax, 4
lea ebp, [eax + edx]
mov dl, byte [ebp + 0x103f1]
test dl, dl
je 0x466ba0
mov al, byte [edi + esi]
test al, al
je 0x466ba0
and eax, 0xff
xor ebx, ebx
and edx, 0xff
mov bl, byte [eax + 0x1001cdf4]
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx + 0x1001cdf4]
add eax, ebx
mov ebx, 0xff
cdq
idiv ebx
mov bl, byte [edx + 0x1001ccf4]
jmp 0x466ba2
xor bl, bl
mov al, byte [esp + 0x10]
test al, al
je 0x466bec
mov al, byte [esi + ebp + 0x103f2]
test al, al
je 0x466bec
mov edx, dword [esp + 0x10]
and eax, 0xff
xor ecx, ecx
and edx, 0xff
mov cl, byte [eax + 0x1001cdf4]
mov eax, ecx
xor ecx, ecx
mov cl, byte [edx + 0x1001cdf4]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov ecx, dword [esp + 0x20]
mov dl, byte [edx + 0x1001ccf4]
jmp 0x466bee
xor dl, dl
xor dl, bl
mov byte [edi + esi - 1], dl
inc esi
cmp esi, ecx
jl 0x466b60
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edi, 0x10
dec eax
mov dword [esp + 0x14], eax
jne 0x466b47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x469e31
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x469e61
push esi
call fcn.0046d411
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x469e5a
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x469ee4
mov eax, dword [esi + 0x18c]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x469ed0
mov eax, dword [esi + 8]
test eax, eax
je 0x469e85
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x18c]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x469ecc
cmp eax, 2
je 0x469ed0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x469e78
cmp eax, 3
je 0x469eab
cmp eax, 1
jne 0x469e78
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x469e78
mov edx, dword [esi + 0x118]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x469e78
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.00469f11
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x469f04
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x10], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x14], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00469f11
add esp, 4
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403048
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403028
xor eax, eax
push ebp
push 0x403021
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 0x403064
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 0x403028
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x462020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d0c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x464048], 0
je 0x403d6d
cmp word [0x46421c], 0xd7b2
jne 0x403d35
cmp dword [0x464224], 0
jbe 0x403d35
mov eax, 0x464218
call dword [0x464234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46206c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d94
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x462030], 0
jne 0x403d89
push 0
push 0x462064
push 0x46206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ec0
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.004026f8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x464049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e88
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405a94
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405afa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040417c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b74
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ae4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405b01
lea eax, [ebp - 0x10]
call fcn.00403f0c
ret

Function at 0x40ab84
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 0x40abbd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403ffc
jmp 0x40abc6
mov eax, ebx
mov edx, esi
call fcn.00403f60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b278
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b0f0
mov eax, dword [0x4632d4]
cmp byte [eax], 0
je 0x40b2f4
mov eax, dword [0x4630e8]
call fcn.004029e0
call fcn.00402860
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004083f8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b33c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b32a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x463090]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x464664]
call fcn.00404fa8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40bb90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bc66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fa4
lea eax, [ebp - 8]
call fcn.0040441c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043cc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bc50
mov eax, ebx
call fcn.004026f8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bc49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043cc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bc33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bc78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bc33
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc50
mov eax, dword [ebp - 0x10]
call fcn.00402718
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bc6d
lea eax, [ebp - 8]
call fcn.00403f0c
ret

Function at 0x40c170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c1d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040417c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f40
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1db
lea eax, [ebp - 0xc]
call fcn.00403f0c
ret

Function at 0x419750
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041957c
dec esi
jne 0x419772
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41a8b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x464888
cmp dword [edi], 0
jne 0x41a930
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x464884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x462408
mov ecx, 2
call fcn.004028f4
mov edx, 0x41a88c
lea eax, [esi + 5]
call fcn.0041a8ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a8ac
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 0x41a905
mov dword [0x464884], 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 0x41bebc
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 0x41bec2
ret

Function at 0x41e494
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 0x41e4e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e4cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e4bc
jmp 0x41e4e5
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 0x41e4cd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42876c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004285b4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004043cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4287ca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x463200]
mov dl, 1
mov eax, dword [0x428528]
call fcn.0040b438
call fcn.004038c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4287d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004043cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42882c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4633ec]
mov dl, 1
mov eax, dword [0x428528]
call fcn.0040b438
call fcn.004038c4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004285e4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432f0c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x432e58
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4330a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432a8c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x433051
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043268c
cmp dword [ebp - 4], 0
je 0x433093
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004043cc
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4330b0
lea eax, [ebp - 4]
call fcn.00403f0c
ret
Function at 0x436390
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 - 9]
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
cmp dword [0x464b58], 0
je 0x4364df
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x463274]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4364df
mov eax, dword [0x464b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x464b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4364ae
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x464b58]
call fcn.00413950
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4364a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4364a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4364a6
mov eax, dword [ebp - 0x14]
call fcn.0043f028
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4364a6
push ebp
call fcn.0043634c
pop ecx
test al, al
jne 0x4364a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x436462
mov eax, dword [ebp - 0x14]
call fcn.0043db58
dec eax
jle 0x4364a6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403334
cmp byte [ebp - 1], 0
je 0x4364a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4364a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x464b5c]
call fcn.00435b18
inc edi
dec ebx
jne 0x4363f5
mov eax, dword [0x464b5c]
cmp dword [eax + 8], 0
jle 0x4364c6
mov eax, dword [0x464b5c]
call fcn.00435ba8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4364df
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004361b4
pop ecx
test al, al
jne 0x4364df
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 0x439ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x439b0c
mov eax, esi
call fcn.0044f2b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439b0c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439b0c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x439c4b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439b4c
cmp eax, 0x108
ja 0x439b4c
mov eax, esi
call fcn.0044f2b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439c42
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439c4b
jmp 0x439c42
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439c2b
cmp eax, 0x20a
ja 0x439c2b
test byte [esi + 0x50], 0x80
jne 0x439b7e
sub eax, 0x203
je 0x439b7b
sub eax, 3
je 0x439b7b
sub eax, 3
jne 0x439b7e
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x439b92
dec eax
je 0x439ba7
dec eax
je 0x439bc4
dec eax
je 0x439ba7
jmp 0x439bcb
mov ecx, ebx
mov eax, dword [0x463274]
mov eax, dword [eax]
mov edx, esi
call fcn.00458a5c
jmp 0x439c42
cmp byte [esi + 0x5d], 1
jne 0x439bbd
mov eax, esi
mov si, 0xffed
call fcn.00403334
jmp 0x439c4b
or word [esi + 0x54], 1
jmp 0x439c42
and word [esi + 0x54], 0xfffe
jmp 0x439c42
mov eax, dword [0x464b14]
cmp byte [eax + 0x20], 0
je 0x439c42
mov eax, dword [0x464b14]
cmp dword [eax + 0x1c], 0
je 0x439c42
mov eax, dword [ebx]
mov edx, dword [0x464b14]
cmp eax, dword [edx + 0x1c]
jne 0x439c42
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044f1f4
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403334
jmp 0x439c4b
cmp eax, 0xb00b
jne 0x439c42
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004383e0
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43d1b8
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 + 0x1f8], 0
je 0x43d1d4
cmp dword [esi + 4], 0
je 0x43d201
test byte [ebx + 0x55], 1
jne 0x43d1f3
mov eax, ebx
call fcn.0043bd58
test eax, eax
jne 0x43d1f3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d311
mov edx, esi
mov eax, ebx
call fcn.0043ccdc
jmp 0x43d311
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 0x43d30a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f028
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.004399f4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d1b8
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.0043f028
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d311
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