joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443cb2
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x497160
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c87c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call fcn.00440f72
add esp, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.00449002
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 2
call fcn.00449042
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219
Function at 0x405610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4056f6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4056e5
jg 0x405650
test edx, edx
je 0x4056e5
nop dword [eax]
call fcn.00407370
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4056a4
jg 0x405667
test esi, esi
je 0x4056a4
cmp ebx, eax
jg 0x405677
jl 0x405671
cmp edi, esi
jae 0x405677
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004a1e00
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4056c9
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x4056df
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x405650
jl 0x4056df
test edi, edi
jne 0x405650
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x405718
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x40571a
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x405798
jg 0x40572d
test esi, esi
je 0x405798
test eax, eax
jl 0x40577c
jg 0x405737
test ebx, ebx
je 0x40577c
cmp edi, eax
jg 0x405747
jl 0x405741
cmp esi, ebx
jae 0x405747
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004a1e00
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x405798
jg 0x40577f
test esi, esi
je 0x405798
jmp 0x40577f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x405798
push eax
push esi
push 1
push edx
call fcn.004aed1f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6e47f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x405d60
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x405d9c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x405d9c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x405e7e
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x405dc4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x405df7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004adb5b
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x405e7e
cmp eax, 1
jle 0x405e51
cmp eax, 3
jne 0x405e7e
mov edx, dword [esi + 0x4c]
mov cl, byte [ebp - 0x25]
call fcn.00404f40
or ecx, 0xffffffff
test al, al
pop edi
cmovne ecx, ebx
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405e6e
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004aed1f
add esp, 0x10
cmp edi, eax
jne 0x405e7e
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x405d87
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret 4
Function at 0x406f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6e47f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x406fba
cmp byte [esi + 0x3d], 0
je 0x406fba
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x406fa8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x406f70
sub eax, 1
je 0x406f74
sub eax, 2
jne 0x406fa8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x406f91
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004aed1f
add esp, 0x10
cmp edi, eax
jne 0x406fa8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0049f7c1
mov esp, ebp
pop ebp
ret

Function at 0x418895
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x654a04
push dword [ebp + 8]
call fcn.004bddf9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4188f2
push ebx
push edi
push esi
call fcn.004bdec0
push eax
call fcn.004be1c2
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x4188d1
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4188e7
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.004aef85
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.004af315
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x418951
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.00419528
mov ebx, eax
test ebx, ebx
je 0x418987
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x418987
cmp dword [ebp + 0x14], edi
jae 0x418990
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418987
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x418987
push edi
push eax
push dword [ebp + 0x10]
call fcn.004a1e00
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x418989
Function at 0x429e9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x164]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x429ec2
call fcn.00424d2f
jmp 0x429eee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004241e0
mov eax, dword [esi + 0x174]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x429eee
push 1
push ecx
push ecx
push eax
push 0x657838
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc
Function at 0x432bf1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ax, word [ecx + 0x204]
add ax, word [ebp + 0xc]
push ebx
push esi
cwde
push edi
cdq
xor edi, edi
push 0x78
pop esi
idiv esi
mov dword [ebp - 4], ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [ecx + 0x204], dx
cdq
xor eax, edx
sub eax, edx
movzx esi, ax
xor eax, eax
cmp ax, si
jge 0x432c8d
xor ebx, ebx
cmp word [ebp + 0xc], ax
setle bl
movzx eax, di
push 0
mov dword [ebp - 8], eax
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0xfc]
test eax, eax
je 0x432c58
mov ecx, dword [ebp - 4]
inc edi
cmp di, si
jl 0x432c36
jmp 0x432c92
sub esi, dword [ebp - 8]
push dword [ebp + 0x14]
mov eax, esi
push dword [ebp + 0x10]
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, si
cmovg ecx, eax
movsx eax, cx
mov ecx, dword [ebp - 4]
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.0042437c
mov ecx, dword [ebp - 4]
jmp 0x432c92
test si, si
je 0x432cca
call fcn.004224be
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x434dd9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6e47f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004a2900
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x434e34
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x434e48
cmp byte [ebp - 6], 1
jne 0x434e48
cmp dword [ebp - 0x11c], 6
jne 0x434e48
xor eax, eax
inc eax
jmp 0x434e4a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f7c1
leave
ret
Function at 0x442bf1
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x63587f
call fcn.0049fafb
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.0044158f
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x90]
cmp dword [ebp - 0x40], 0
jne 0x442dcd
cmp dword [ebp + 0x10], 0
je 0x442c4f
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x260]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x442d90
cmp dword [esi + 0x258], 0
jne 0x442c61
cmp dword [esi + 0x254], 0
je 0x442c79
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x442c79
cmp edi, 0xffffffff
je 0x442d9e
jmp 0x442c36
cmp dword [esi + 0x258], 0
jne 0x442c8f
cmp dword [esi + 0x254], 0
je 0x442d24
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x442d24
cmp edi, 0xffffffff
je 0x442d9e
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.004423f1
test eax, eax
jle 0x442d9e
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [esi + 0x260]
mov edx, dword [ecx + ebx + 8]
cmp edi, dword [ebp - 0x10]
jl 0x442cfb
cmp edi, dword [ebp - 0x14]
jg 0x442cfb
xor eax, eax
inc eax
jmp 0x442cfd
xor eax, eax
mov dword [ecx + ebx + 8], eax
cmp edx, eax
je 0x442d0d
push edi
mov ecx, esi
call fcn.004432b9
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.004423f1
cmp edi, eax
jl 0x442ce2
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x442d9e
or dword [esi + 0x214], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.004423f1
test eax, eax
jle 0x442d7b
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x260]
cmp ebx, edi
je 0x442d63
cmp dword [eax + ecx + 8], 0
je 0x442d63
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.004432b9
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.004423f1
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x442d42
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x442d9e
imul eax, edi, 0xc
add eax, dword [esi + 0x260]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x214], edi
call fcn.004432b9
push esi
lea ecx, [ebp - 0x3c]
call fcn.0041b0f3
mov dword [ebp - 0x3c], 0x65ae50
mov dword [ebp - 0x34], 0x65ae64
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x90]
call fcn.0049fac4
ret 0xc
Function at 0x446f48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x38c], 0
je 0x446f7b
mov eax, dword [esi]
push ecx
push esp
call dword [eax + 0x38]
mov ecx, dword [esi + 0x38c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edi
call dword [eax]
test eax, eax
jne 0x447004
mov eax, edi
sub eax, 9
je 0x446fd1
sub eax, 1
je 0x446fb4
sub eax, 3
je 0x446fb4
test dword [esi + 0x374], 0x2000
je 0x446fe9
push edi
call fcn.004d37af
pop ecx
test eax, eax
jne 0x446fe9
cmp edi, 0x2d
je 0x446fe9
cmp edi, 0x2e
je 0x446fe9
cmp edi, 0x2c
je 0x446fe9
jmp 0x447004
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x446fe9
test dword [esi + 0x374], 0x1000
je 0x447004
jmp 0x446fe9
test byte [esi + 0x378], 0x80
jne 0x446fe9
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x447004
mov eax, dword [esi + 0x384]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4472ee
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x24
mov eax, 0x635c2e
call fcn.0049fafb
mov esi, ecx
cmp dword [ebp + 8], 0xd
jne 0x447353
test dword [esi + 0x374], 0x1000
jne 0x447353
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x447353
and dword [esi + 0x10], 0
lea ecx, [ebp - 0x30]
push esi
call fcn.0041b0f3
mov dword [ebp - 0x30], 0x65b83c
mov dword [ebp - 0x28], 0x65b850
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
and dword [ebp - 4], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x10], 1
call dword [eax + 0x90]
jmp 0x44736e
mov eax, dword [esi + 0x384]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.0049fac4
ret 0xc
Function at 0x449ab6
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x635f4e
call fcn.0049fafb
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
and eax, 0x8000
lea esi, [ebx + 0x164]
and edi, 0x8000
jne 0x449b1f
cmp dword [ebp - 0x10], 0
jne 0x449b09
test eax, eax
jne 0x449b02
inc eax
xor ecx, ecx
jmp 0x449b4b
push 2
pop eax
push 4
jmp 0x449b4a
test eax, eax
jne 0x449b14
push 4
pop eax
push 2
jmp 0x449b4a
push 6
pop eax
push 0x10
mov word [esi], ax
pop eax
jmp 0x449b4e
cmp dword [ebp - 0x10], 0
jne 0x449b38
test eax, eax
jne 0x449b31
push 8
xor ecx, ecx
pop eax
inc ecx
jmp 0x449b4b
push 0x20
pop eax
push 5
jmp 0x449b4a
test eax, eax
jne 0x449b43
push 0x40
pop eax
push 3
jmp 0x449b4a
mov eax, 0x80
push 7
pop ecx
mov word [esi], cx
test word [ebx + 0x168], ax
je 0x449b61
mov ax, word [ebx + 0x16a]
mov word [esi], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041b0f3
mov dword [ebp - 0x34], 0x65bf2c
mov dword [ebp - 0x2c], 0x65bf40
mov ax, word [esi]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x166]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x90]
call fcn.0049fac4
ret

Function at 0x463828
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x463860
push dword [ecx + 4]
call fcn.0042ee41
pop ecx
test eax, eax
je 0x46384c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x94]
test al, 2
jne 0x463860
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x463860
xor eax, eax
inc eax
jmp 0x463862
xor eax, eax
pop ebp
ret 4
Function at 0x46397b
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x637b7e
call fcn.0049fafb
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00463828
test eax, eax
je 0x4639b6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.0046329f
xor eax, eax
inc eax
jmp 0x463aaa
push dword [ebx + 4]
call fcn.0042ee41
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x463a54
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x463a54
cmp edi, 0x25
je 0x4639ef
cmp edi, 0x27
je 0x4639eb
cmp edi, 0x26
je 0x4639ef
cmp edi, 0x28
jne 0x463a54
push 3
jmp 0x4639f1
push 2
pop edi
jmp 0x4639ff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x463a3e
push edi
mov ecx, esi
call fcn.00422ca2
mov esi, eax
test esi, esi
jne 0x4639f4
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.004229f0
mov ecx, eax
jmp 0x463a2e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x463a3e
push edi
mov ecx, esi
call fcn.00422ca2
mov esi, eax
test esi, esi
jne 0x463a20
jmp 0x4639ae
push 0
mov ecx, esi
call fcn.00422bef
push eax
mov ecx, ebx
call fcn.00463d87
jmp 0x4639ae
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.00465076
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00463afe
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.004650cf
mov eax, ebx
call fcn.0049fac4
ret 4
Function at 0x4651d4
Capabilities:
Log keystrokes

Disassembly:
push 4
mov eax, 0x637e3b
call fcn.0049fafb
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x6e4004]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor edi, edi
and dword [ebp - 4], 0
inc edi
movzx edx, cx
mov dword [ebp - 0x10], edi
cmp edx, 0x24
ja 0x46525a
je 0x465250
mov eax, edx
sub eax, 0xd
je 0x465246
sub eax, 0xe
je 0x46523c
sub eax, 6
je 0x465232
sub eax, edi
je 0x465228
sub eax, edi
jne 0x465289
push 0x65f63c
jmp 0x4653a8
push str.PageDown
jmp 0x4653a8
push str.PageUp
jmp 0x4653a8
push 0x65f5f0
jmp 0x4653a8
push str.Enter
jmp 0x4653a8
push str.Home
jmp 0x4653a8
mov eax, edx
sub eax, 0x25
je 0x4653a3
sub eax, 1
je 0x46539c
sub eax, 1
je 0x465395
sub eax, 1
je 0x46538e
sub eax, 5
je 0x465387
cmp cx, 0x30
jb 0x465295
cmp cx, 0x39
jbe 0x46529e
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4652b5
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00403270
jmp 0x4653af
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4652d9
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00426c0a
add esp, 0x10
mov dword [ebp - 4], edi
jmp 0x46532f
cmp cx, 0x6a
jne 0x4652e9
push 0x65f688
jmp 0x4653a8
cmp cx, 0x6b
jne 0x4652f9
push str.Num_
jmp 0x4653a8
cmp cx, 0x6e
jne 0x465309
push str.Num_Del
jmp 0x4653a8
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x465344
lea eax, [edx - 0x6f]
push eax
push 0x65f6b0
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.00426c0a
add esp, 0x10
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x4653af
call fcn.00403370
jmp 0x4653af
push 2
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x465365
je 0x465371
cmp al, 0x27
je 0x465371
cmp al, 0x2b
jle 0x4653af
cmp al, 0x2f
jle 0x465371
cmp al, 0x3b
je 0x465371
jmp 0x4653af
cmp al, 0x5b
jl 0x4653af
cmp al, 0x5d
jle 0x465371
cmp al, 0x60
jne 0x4653af
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00418658
jmp 0x4653af
push str.Insert
jmp 0x4653a8
push str.Down
jmp 0x4653a8
push 0x65f624
jmp 0x4653a8
push 0x65f604
jmp 0x4653a8
push 0x65f618
mov ecx, esi
call fcn.00402db0
mov eax, esi
call fcn.0049fac4
ret 8

Function at 0x46c387
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46c3ef
mov ecx, esi
call fcn.0046c3f4
push 0
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x39c]
test ecx, ecx
je 0x46c3ca
mov eax, dword [ecx]
push 0
call dword [eax + 0x48]
and dword [esi + 0x39c], 0
mov ecx, dword [0x6f5514]
lea ecx, [ecx + 8]
call fcn.0046d2b5
mov ecx, dword [esi + 0x394]
test ecx, ecx
je 0x46c3ef
pop esi
mov ecx, dword [ecx + 0x168]
pop ebp
jmp fcn.0046d029
pop esi
pop ebp
ret 4