joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5cb160
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebp, ebp
cmp dword [edi + 0x14], 8
mov eax, ecx
mov dword [esp + 0x14], eax
mov dword [edi + 0x10], ebp
jb 0x48508b
mov ecx, dword [edi]
jmp 0x48508d
mov ecx, edi
xor edx, edx
mov word [ecx], dx
mov esi, dword [eax + 0x14]
cmp esi, ebp
je 0x485145
jmp 0x4850a4
mov eax, dword [esp + 0x14]
mov ebx, dword [esi + 8]
cmp esi, dword [eax + 0x14]
je 0x4850ba
push 1
push 0x5f7e58
mov ecx, edi
call fcn.004024f0
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], ax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x70], ebp
call fcn.00482ac0
push 0xffffffffffffffff
push ebp
push eax
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.004023f0
mov edx, dword [esp + 0x34]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x485116
mov eax, dword [esp + 0x18]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esi + 0xc]
xor ecx, ecx
push ebp
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
mov dword [esp + 0x70], 0xffffffff
call fcn.005844d1
add esp, 4
cmp esi, ebp
jne 0x4850a0
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x5c
ret 4

Function at 0x4856d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x5cf799
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x30]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x104
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], 1
call fcn.00421b20
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x34]
push eax
push edi
push edi
push ebp
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.004215e0
cmp ebx, 0x80004005
jne 0x485783
push 0x104
push esi
lea ecx, [esp + 0x20]
call fcn.00421b20
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
push 1
push edi
push ebp
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x18]
call fcn.004215e0
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x489300
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5d0068
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x695aa8], 0
je 0x48934f
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x48934f
push 0
call fcn.004443c0
mov bl, al
add esp, 4
mov byte [esp + 0x10], bl
jmp 0x489361
mov al, byte [0x68a580]
mov byte [0x68a580], 0
mov byte [esp + 0x10], al
mov bl, al
mov byte [esp + 0xf], bl
push 0
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00488800
test al, al
jne 0x4893d7
cmp dword [0x695aa8], 0
mov dword [esp + 0x1c], 0xffffffff
je 0x4893bb
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x4893bb
mov eax, dword [esp + 0x10]
push eax
call fcn.004443c0
add esp, 4
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
mov byte [0x68a580], bl
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x10], 0
jne 0x4893e5
xor eax, eax
jmp 0x4893ed
cmp dword [eax + 0x14], 8
jb 0x4893ed
mov eax, dword [eax]
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
cmp dword [0x695aa8], 0
mov dword [esp + 0x1c], 0xffffffff
je 0x489431
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x489431
mov edx, dword [esp + 0x10]
push edx
call fcn.004443c0
add esp, 4
jmp 0x48943a
mov al, byte [esp + 0x10]
mov byte [0x68a580], al
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 4
Function at 0x492180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d10e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
call fcn.00420510
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 1
call fcn.00420510
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0x5f7704
push ecx
mov byte [esp + 0x5c], 2
call fcn.00402340
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 3
call fcn.0041de00
mov edx, dword [esp + 0x58]
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00423450
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], bl
call fcn.004020c0
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x492268
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00585b7b
add esp, 0x48
ret 4

Function at 0x4923a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d10e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], ax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], ebx
call fcn.00420510
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 1
call fcn.00420510
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push 0x619c18
push ecx
mov byte [esp + 0x5c], 2
call fcn.00402340
add esp, 0xc
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 3
call fcn.0041de00
fld qword [esp + 0x58]
sub esp, 8
fstp qword [esp]
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00423450
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], bl
call fcn.004020c0
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x34], 8
jb 0x49248d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00585b7b
add esp, 0x48
ret 8
Function at 0x492ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1238
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
call fcn.00406360
mov ecx, dword [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x44], 0
call fcn.00492800
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x30]
push edx
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0x20], 8
jb 0x492f14
mov eax, dword [esp + 0xc]
push eax
call fcn.00584768
add esp, 4
fld qword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x3c
ret

Function at 0x495490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [ecx + 0x14], 0
je 0x49549e
mov ecx, dword [ecx + 0x10]
jmp fcn.0046a820
mov al, 1
ret

Function at 0x495570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
call fcn.00541ae0
mov ecx, dword [esi + 0x10]
pop esi
jmp fcn.0046b710
Function at 0x498650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5aab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x48
call fcn.00584773
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x4986b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, eax
call fcn.004ca550
jmp 0x4986b2
xor eax, eax
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x4986e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5aab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x48
call fcn.00584773
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x498740
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
mov ecx, eax
call fcn.004ca5f0
jmp 0x498742
xor eax, eax
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x14

Function at 0x499580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1a36
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0
je 0x4995e7
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esi + 0xc]
push 0x48
mov edi, eax
call fcn.00584773
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x499631
push 0
push 0
push 0
push 0
push edi
mov ecx, eax
call fcn.004ca550
jmp 0x499633
cmp dword [esi + 0x10], 0
jne 0x4995fd
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c8]
call edx
mov dword [esi + 0x10], eax
mov edi, dword [esi + 0x10]
mov esi, dword [esi + 0xc]
push 0x48
call fcn.00584773
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 1
test eax, eax
je 0x499631
push 0
push 0
push 0
push 0
push edi
push 5
mov ecx, eax
call fcn.004ca6c0
jmp 0x499633
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
push eax
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x499740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d1a98
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.wxListBase.0
call fcn.00443970
mov dword [esp + 8], vtable.wxWindowList.0
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00443990
mov edx, dword [esp + 0x30]
lea ecx, [esp + 8]
push ecx
push edx
call fcn.00499350
add esp, 8
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x28], 0xffffffff
call fcn.00443f50
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret

Function at 0x49f500
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5d23c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x14]
call fcn.004e81c0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0049ef20
push 0x64
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call fcn.004f2fb0
mov esi, vtable.wxObject.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
mov dword [esp + 0x1c], esi
call fcn.00423980
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
lea eax, [esp + 8]
push eax
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc4]
call edx
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.00506650
mov dword [esp + 0x10], vtable.wxDC.0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], 4
test ecx, ecx
je 0x49f5b8
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], esi
call fcn.00423980
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4a1630
Capabilities:
Log keystrokes

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
movzx eax, dx
lea esp, [esp]
cmp dword [ecx*8 + 0x61c220], eax
je 0x4a166c
inc ecx
cmp ecx, 0x4d
jb 0x4a1640
lea ecx, [eax - 0xd]
cmp ecx, 0xd5
ja case.0x4a1665.14
movzx ecx, byte [ecx + 0x4a187c]
jmp dword [ecx*4 + 0x4a1848]
mov eax, dword [ecx*8 + 0x61c224]
cmp eax, 0x12c
jge 0x4a1845
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov word [ecx], ax
ret
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
shr edx, 0x10
test edx, 0x8000
je 0x4a16a6
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a16b1
mov word [ecx], ax
cmp eax, 0xff
jle 0x4a1845
xor eax, eax
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a16d7
shr eax, 0x10
test eax, 0x100
jne 0x4a16d7
mov eax, 0x17c
ret
mov eax, 0x16e
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a16f5
shr eax, 0x10
test eax, 0x100
jne 0x4a16f5
mov eax, 0x17d
ret
mov eax, 0x16f
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a1713
shr eax, 0x10
test eax, 0x100
jne 0x4a1713
mov eax, 0x17e
ret
mov eax, 0x138
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a1731
shr eax, 0x10
test eax, 0x100
jne 0x4a1731
mov eax, 0x177
ret
mov eax, 0x139
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a174f
shr eax, 0x10
test eax, 0x100
jne 0x4a174f
mov eax, 0x178
ret
mov eax, 0x13a
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a176d
shr eax, 0x10
test eax, 0x100
jne 0x4a176d
mov eax, 0x179
ret
mov eax, 0x13b
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a178b
shr eax, 0x10
test eax, 0x100
jne 0x4a178b
mov eax, 0x17a
ret
mov eax, 0x13c
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17a9
shr eax, 0x10
test eax, 0x100
jne 0x4a17a9
mov eax, 0x17b
ret
mov eax, 0x13d
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17c7
shr eax, 0x10
test eax, 0x100
jne 0x4a17c7
mov eax, 0x180
ret
mov eax, 0x142
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17e4
shr eax, 0x10
test eax, 0x100
mov eax, 0x181
je 0x4a17e9
mov eax, 0x7f
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov edx, 0x7f
mov word [ecx], dx
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 0x165
add eax, 0xd
test ecx, ecx
je 0x4a1845
mov edx, 0xd
mov word [ecx], dx
ret
cmp dx, 0x30
jb 0x4a182f
cmp dx, 0x39
jbe 0x4a183a
lea ecx, [edx - 0x41]
cmp cx, 0x19
jbe 0x4a183a
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov word [ecx], dx
ret
Function at 0x4a168e
Capabilities:
Log keystrokes

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
movzx eax, dx
lea esp, [esp]
cmp dword [ecx*8 + 0x61c220], eax
je 0x4a166c
inc ecx
cmp ecx, 0x4d
jb 0x4a1640
lea ecx, [eax - 0xd]
cmp ecx, 0xd5
ja case.0x4a1665.14
movzx ecx, byte [ecx + 0x4a187c]
jmp dword [ecx*4 + 0x4a1848]
mov eax, dword [ecx*8 + 0x61c224]
cmp eax, 0x12c
jge 0x4a1845
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov word [ecx], ax
ret
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
shr edx, 0x10
test edx, 0x8000
je 0x4a16a6
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a16b1
mov word [ecx], ax
cmp eax, 0xff
jle 0x4a1845
xor eax, eax
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a16d7
shr eax, 0x10
test eax, 0x100
jne 0x4a16d7
mov eax, 0x17c
ret
mov eax, 0x16e
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a16f5
shr eax, 0x10
test eax, 0x100
jne 0x4a16f5
mov eax, 0x17d
ret
mov eax, 0x16f
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a1713
shr eax, 0x10
test eax, 0x100
jne 0x4a1713
mov eax, 0x17e
ret
mov eax, 0x138
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a1731
shr eax, 0x10
test eax, 0x100
jne 0x4a1731
mov eax, 0x177
ret
mov eax, 0x139
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a174f
shr eax, 0x10
test eax, 0x100
jne 0x4a174f
mov eax, 0x178
ret
mov eax, 0x13a
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a176d
shr eax, 0x10
test eax, 0x100
jne 0x4a176d
mov eax, 0x179
ret
mov eax, 0x13b
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a178b
shr eax, 0x10
test eax, 0x100
jne 0x4a178b
mov eax, 0x17a
ret
mov eax, 0x13c
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17a9
shr eax, 0x10
test eax, 0x100
jne 0x4a17a9
mov eax, 0x17b
ret
mov eax, 0x13d
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17c7
shr eax, 0x10
test eax, 0x100
jne 0x4a17c7
mov eax, 0x180
ret
mov eax, 0x142
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x4a17e4
shr eax, 0x10
test eax, 0x100
mov eax, 0x181
je 0x4a17e9
mov eax, 0x7f
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov edx, 0x7f
mov word [ecx], dx
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
shr eax, 0x10
and eax, 0x100
neg eax
sbb eax, eax
and eax, 0x165
add eax, 0xd
test ecx, ecx
je 0x4a1845
mov edx, 0xd
mov word [ecx], dx
ret
cmp dx, 0x30
jb 0x4a182f
cmp dx, 0x39
jbe 0x4a183a
lea ecx, [edx - 0x41]
cmp cx, 0x19
jbe 0x4a183a
xor eax, eax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a1845
mov word [ecx], dx
ret
Function at 0x4a1960
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
cmp dword [eax*8 + 0x61c224], esi
je 0x4a19a3
inc eax
cmp eax, 0x4d
jb 0x4a1967
push ebx
xor bl, bl
cmp esi, 0x177
jg 0x4a1a12
je 0x4a19d5
lea eax, [esi - 0x7f]
cmp eax, 0xf0
ja case.0x4a1a1d.383
movzx eax, byte [eax + 0x4a1a70]
jmp dword [eax*4 + 0x4a1a44]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a19ae
mov byte [ecx], 0
mov ax, word [eax*8 + 0x61c220]
pop esi
ret
mov bl, 1
mov eax, 0x21
jmp 0x4a1a35
mov bl, 1
mov eax, 0x22
jmp 0x4a1a35
mov bl, 1
mov eax, 0x23
jmp 0x4a1a35
mov bl, 1
mov eax, 0x24
jmp 0x4a1a35
mov bl, 1
mov eax, 0x25
jmp 0x4a1a35
mov bl, 1
mov eax, 0x26
jmp 0x4a1a35
mov bl, 1
mov eax, 0x27
jmp 0x4a1a35
mov bl, 1
mov eax, 0x28
jmp 0x4a1a35
mov bl, 1
mov eax, 0x2d
jmp 0x4a1a35
mov bl, 1
mov eax, 0x2e
jmp 0x4a1a35
lea eax, [esi - 0x178]
cmp eax, 9
ja case.0x4a1a1d.383
jmp dword [eax*4 + 0x4a1b64]
push esi
call dword [sym.imp.USER32.dll_VkKeyScanW]
cmp al, 0xff
movzx eax, al
jne 0x4a1a35
movzx eax, si
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a1a3f
mov byte [ecx], bl
pop ebx
pop esi
ret

Function at 0x4a1bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, eax
cmp si, 1
je 0x4a1b9f
cmp si, 2
jne 0x4a1bb7
push 0x17
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4a1bb7
xor eax, eax
cmp si, 1
sete al
inc eax
mov esi, eax
movzx ecx, si
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
pop esi
shr eax, 0xf
and eax, 1
ret
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.004a1960
add esp, 8
movzx eax, ax
cmp esi, 0x16c
je 0x4a1c01
cmp esi, 0x137
je 0x4a1c01
cmp esi, 0x16d
je 0x4a1c01
pop esi
jmp 0x4a1b90
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setne al
pop esi
ret
Function at 0x4a4a90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov eax, ebp
sub eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x14]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x34], ecx
mov edx, eax
shr edx, 2
and dl, 1
add dl, dl
mov ecx, eax
shr ecx, 3
and cl, 1
or dl, cl
movzx ecx, byte [esi + 0x2c]
and cl, 0xfc
or dl, cl
mov byte [esi + 0x2c], dl
mov edx, eax
shr edx, 6
and dl, 1
add dl, dl
mov ecx, eax
shr ecx, 5
and cl, 1
or dl, cl
add dl, dl
mov ecx, eax
shr ecx, 1
and cl, 1
or dl, cl
mov ecx, eax
shr ecx, 4
add dl, dl
and cl, 1
or dl, cl
movzx ecx, byte [esi + 0x2d]
add dl, dl
and cl, 0xe0
or dl, cl
and al, 1
or dl, al
push 0x12
mov byte [esi + 0x2d], dl
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
sets dl
add dl, dl
add dl, dl
xor dl, byte [esi + 0x2c]
and dl, 4
xor byte [esi + 0x2c], dl
call dword [sym.imp.USER32.dll_GetMessageTime]
mov dword [esi + 0x10], eax
mov dword [esi + 8], edi
mov eax, dword [edi + 0x40]
mov dword [esi + 0x14], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x284]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov ecx, edi
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
pop edi
mov dword [0x696038], eax
mov dword [0x69603c], ecx
mov eax, dword [esi + 0xc]
pop esi
pop ebp
mov dword [0x696040], eax
pop ebx
add esp, 8
ret 0x10