joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493348
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49352a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
call sub.user32.dll_GetForegroundWindow
mov ebx, eax
test ebx, ebx
je 0x493381
mov eax, esi
call fcn.00451b30
cmp ebx, eax
jne 0x493391
mov eax, dword [0x497dc8]
mov eax, dword [eax]
cmp edi, dword [eax + 0x30]
je 0x49350f
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 4], eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x4933ba
mov dl, 1
mov eax, esi
call fcn.004924e4
jmp 0x49350f
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x49350f
xor eax, eax
push ebp
push 0x493508
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetFocus
mov edi, eax
test edi, edi
jne 0x4933fd
mov dl, 1
mov eax, esi
call fcn.004924e4
call fcn.00403b94
jmp 0x49350f
push pe_nt_image_headers32
mov eax, dword [0x498cb4]
push eax
push edi
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0xc]
mov edx, dword [0x498cb4]
call fcn.004042a4
mov edx, 0x493540
mov eax, dword [ebp - 0xc]
call fcn.00408164
test eax, eax
jne 0x49345c
lea edx, [ebp - 0x10]
mov eax, edi
call fcn.0048c724
cmp dword [ebp - 0x10], 0
je 0x493452
mov eax, dword [esi + 0x38c]
mov edx, dword [ebp - 0x10]
call fcn.0044b340
mov eax, esi
call fcn.00492eac
call fcn.00403b94
jmp 0x49350f
mov eax, dword [ebp - 0xc]
mov edx, 0x493564
call fcn.004044b8
je 0x4934ca
mov eax, dword [ebp - 0xc]
mov edx, 0x493578
call fcn.004044b8
je 0x4934ca
mov edx, 0x49358c
mov eax, dword [ebp - 0xc]
call fcn.00431930
test al, al
jne 0x49349c
mov edx, 0x49359c
mov eax, dword [ebp - 0xc]
call fcn.00431930
test al, al
je 0x4934ca
lea ecx, [ebp - 0x10]
mov edx, edi
mov eax, esi
call fcn.004932a0
cmp dword [ebp - 0x10], 0
je 0x4934ca
mov eax, dword [esi + 0x38c]
mov edx, dword [ebp - 0x10]
call fcn.0044b340
mov eax, esi
call fcn.00492eac
call fcn.00403b94
jmp 0x49350f
mov eax, esi
call fcn.00451b30
push eax
call sub.user32.dll_SetClipboardViewer
mov dword [esi + 0x3b4], eax
mov byte [esi + 0x3b8], 1
mov eax, edi
call fcn.004930d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49350f
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_AttachThreadInput
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493531
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004040d0
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x408b0d
pop dword [ebp - 0x18]
mov eax, 0xd36a4c43
sub eax, 0xd329c136
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x32b04
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xa35ead55
add ecx, 0x5ca1809e
mov esi, eax
mov edx, 0xe131db6c
sub edx, 0xe0f09fa8
add edx, dword [ebp - 0x18]
mov edi, 0x17c053a0
xor dword [ebp - 0x10], edi
mov ebx, dword [edx]
sub dword [ebp - 0x10], eax
add ebx, edi
xor dword [ebp - 0x14], edi
mov dword [esi], ebx
sub dword [ebp - 4], 0x306e5231
add esi, 4
add edx, 4
loop 0x408b61
add eax, 0x838c64f6
add eax, 0x7c7445a9
xor ebx, ebx
add ebx, eax
add eax, 0xa08988bb
sub eax, 0xa08988b6
mov ecx, 0xb4874592
sub ecx, 0xb4474592
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4037f4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x607008], 0x8088405
inc edx
mov dword [ebx + 0x607008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403810
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x607008], 0x8088405
inc edx
mov dword [ebx + 0x607008], edx
fld qword [ebx + 0x60706c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x429f80
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 0x429f86
ret

Function at 0x439e7c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004052d8
xor eax, eax
push ebp
push 0x439faa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.004082d4
test eax, eax
je 0x439f7d
xor eax, eax
push ebp
push 0x439f76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004050e8
inc eax
push eax
push 0x2002
call fcn.00407954
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x439f4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call fcn.00407974
mov ebx, eax
xor eax, eax
push ebp
push 0x439f3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004050e8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004052e8
mov edx, ebx
pop ecx
call fcn.00402eec
call fcn.00407fbc
mov eax, dword [ebp - 8]
push eax
push 1
call fcn.00408374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439f41
mov eax, dword [ebp - 8]
push eax
call fcn.0040799c
ret
mov ecx, dword [0x60e480]
mov dl, 1
mov eax, dword [0x408c30]
call fcn.0040def0
call fcn.0040481c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439fb1
lea eax, [ebp - 4]
call fcn.00404e28
ret
Function at 0x439fb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a169
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004054d8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43a180
call fcn.00405134
mov eax, ebx
call fcn.00427ca4
mov edi, eax
dec edi
test edi, edi
jl 0x43a070
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427c78
mov edx, dword [0x46ac70]
call fcn.004041d4
test al, al
je 0x43a06c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427c78
lea edx, [ebp - 0x14]
call fcn.0047a960
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004054d8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004051a8
inc esi
dec edi
jne 0x43a01e
mov al, byte [0x43a184]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43a190
mov eax, dword [ebp - 0xc]
call fcn.0040f498
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ec0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0047a960
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43a180
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0047a960
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43a180
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43a180
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43a19c
call fcn.0040b30c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a170
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404e4c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404e4c
lea eax, [ebp - 0x14]
call fcn.00404e28
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e4c
ret
Function at 0x444640
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x444712
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call fcn.00407954
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4446e4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call fcn.00407974
xor edx, edx
push ebp
push 0x4446d3
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402eec
mov eax, dword [ebp - 4]
call fcn.0044457c
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call fcn.00408374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4446da
mov eax, dword [ebp - 8]
push eax
call fcn.0040799c
ret

Function at 0x444724
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call fcn.00408064
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x444796
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x44476a
mov eax, dword [ebp - 8]
push eax
call fcn.00407974
mov edx, eax
mov eax, ebx
call fcn.00405020
jmp 0x444771
mov eax, ebx
call fcn.00404e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44479d
cmp dword [ebp - 8], 0
je 0x44478d
mov eax, dword [ebp - 8]
push eax
call fcn.0040799c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4447cc
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x44486e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call fcn.00407fec
mov ebx, eax
test bx, bx
je 0x444841
mov edx, ebx
mov eax, dword [0x429a44]
call fcn.0042e850
test al, al
je 0x444831
movzx eax, bx
push eax
call fcn.00408064
mov esi, eax
push 9
call fcn.00408064
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0042e760
call fcn.004048c8
jmp 0x444875
movzx eax, bx
push eax
call fcn.00407fec
mov ebx, eax
test bx, bx
jne 0x4447fc
mov ecx, dword [0x60e548]
mov dl, 1
mov eax, dword [0x408c30]
call fcn.0040def0
call fcn.0040481c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444875
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44487c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4448d4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call fcn.00408064
mov ebx, eax
push 9
call fcn.00408064
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4448db
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4448e4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x444939
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call fcn.00408064
mov ebx, eax
push 9
call fcn.00408064
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444940
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4449b0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x444a25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044457c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0042e824
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call fcn.00408374
cmp dword [ebp - 0x10], 0
je 0x444a0f
mov eax, dword [ebp - 0x10]
push eax
push 9
call fcn.00408374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444a2c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x444a34
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x444aa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044457c
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call fcn.00408374
cmp dword [ebp - 0x10], 0
je 0x444a93
mov eax, dword [ebp - 0x10]
push eax
push 9
call fcn.00408374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444ab0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x474c24
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 0x474b70
call fcn.00407ffc
ret
Function at 0x478488
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 [0x60fbb8], 0
je 0x4785d7
push 0x11
call fcn.004080c4
test ax, 0x8000
setne al
mov edx, dword [0x60e8e4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4785d7
mov eax, dword [0x60fbbc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x60fbb8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4785a6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x60fbb8]
call fcn.0041e9e8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47859e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x47859e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47859e
mov eax, dword [ebp - 0x14]
call fcn.0048138c
push eax
call fcn.00408254
test eax, eax
je 0x47859e
push ebp
call fcn.00478444
pop ecx
test al, al
jne 0x47859e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x47855a
mov eax, dword [ebp - 0x14]
call fcn.0047fe14
dec eax
jle 0x47859e
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.00404244
cmp byte [ebp - 1], 0
je 0x47859e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call fcn.004082f4
test eax, eax
je 0x47859e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x60fbbc]
call fcn.00477c0c
inc edi
dec ebx
jne 0x4784ed
mov eax, dword [0x60fbbc]
cmp dword [eax + 8], 0
jle 0x4785be
mov eax, dword [0x60fbbc]
call fcn.00477c9c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4785d7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004782ac
pop ecx
test al, al
jne 0x4785d7
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 0x47bc5c
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 0x47bca8
mov eax, esi
call fcn.004939d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47bca8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47bca8
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 0x47bde7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x47bce8
cmp eax, 0x108
ja 0x47bce8
mov eax, esi
call fcn.004939d4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47bdde
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x47bde7
jmp 0x47bdde
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x47bdc7
cmp eax, 0x20a
ja 0x47bdc7
test byte [esi + 0x50], 0x80
jne 0x47bd1a
sub eax, 0x203
je 0x47bd17
sub eax, 3
je 0x47bd17
sub eax, 3
jne 0x47bd1a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x47bd2e
dec eax
je 0x47bd43
dec eax
je 0x47bd60
dec eax
je 0x47bd43
jmp 0x47bd67
mov ecx, ebx
mov eax, dword [0x60e8e4]
mov eax, dword [eax]
mov edx, esi
call fcn.0049dad0
jmp 0x47bdde
cmp byte [esi + 0x5d], 1
jne 0x47bd59
mov eax, esi
mov si, 0xffed
call fcn.00404244
jmp 0x47bde7
or word [esi + 0x54], 1
jmp 0x47bdde
and word [esi + 0x54], 0xfffe
jmp 0x47bdde
mov eax, dword [0x60fb74]
cmp byte [eax + 0x20], 0
je 0x47bdde
mov eax, dword [0x60fb74]
cmp dword [eax + 0x1c], 0
je 0x47bdde
mov eax, dword [ebx]
mov edx, dword [0x60fb74]
cmp eax, dword [edx + 0x1c]
jne 0x47bdde
lea eax, [ebp - 0x114]
push eax
call fcn.004080dc
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004938f8
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.00404244
jmp 0x47bde7
cmp eax, 0xb00b
jne 0x47bdde
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0047a500
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 0x48abbc
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.00404e28
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.0040829c
shl eax, 0x10
test eax, eax
je 0x48ac0b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.004080bc
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405098
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x493868
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4938b8]
test si, 4
je 0x49387c
or bl, 1
test si, 8
je 0x493886
or bl, 4
test si, 1
je 0x493890
or bl, 8
test si, 2
je 0x49389a
or bl, 0x10
test si, 0x10
je 0x4938a4
or bl, 0x20
push 0x12
call fcn.004080c4
test ax, ax
jge 0x4938b3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4938bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4938f4]
push 0x10
call fcn.004080c4
test ax, ax
jge 0x4938d5
or bl, 1
push 0x11
call fcn.004080c4
test ax, ax
jge 0x4938e4
or bl, 4
test esi, 0x20000000
je 0x4938ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x493944
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call fcn.004080dc
mov eax, esp
call fcn.004938f8
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x49a488
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49a49a
add esp, 0xfffffff0
call fcn.004043b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427680
mov eax, dword [0x60e570]
mov dword [eax + 4], ebx
mov dword [eax], 0x49a82c
mov eax, dword [0x60e584]
mov dword [eax + 4], ebx
mov dword [eax], 0x49a838
mov eax, ebx
call fcn.0049a844
push 0
call fcn.004080cc
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41c038]
call fcn.0040400c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41c038]
call fcn.0040400c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41c038]
call fcn.0040400c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41c038]
call fcn.0040400c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41c038]
call fcn.0040400c
mov dword [ebx + 0x7c], eax
push 0
call fcn.0040807c
mov esi, eax
push 0x5a
push esi
call fcn.00407c5c
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.00408324
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x496bc4
push eax
push 0
push 0
mov eax, dword [0x60e7fc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4292a0]
call fcn.0042ab68
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4292a0]
call fcn.0042ab68
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4292a0]
call fcn.0042ab68
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049ad90
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ac10
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ac10
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49ac10
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49a5d7
call fcn.0040440c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret