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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100640f1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x38]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
call fcn.10013880
mov dword [edi + 0x38], eax
lea ecx, [edi + 0x40]
mov dword [ebp - 4], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.10006c00
mov dword [edi + 0x40], eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 1
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call fcn.1000f3e0
mov dword [edi + 0x48], eax
mov eax, edi
mov byte [ebp - 4], 2
lea ecx, [edi + 0x38]
mov dword [eax + 0x50], 0
call fcn.10013990
lea ecx, [edi + 0x40]
call fcn.10013990
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x48]
push dword [eax + 4]
call fcn.1000f410
mov eax, dword [edi + 0x48]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x48]
mov dword [eax], eax
mov eax, dword [edi + 0x48]
mov dword [eax + 8], eax
mov dword [edi + 0x4c], 0
call fcn.10014480
mov ecx, edi
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10010560
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064773
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000b250
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], 0x100672d8
lea ecx, [esi + 0x4c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x10066594
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.10007a50
xor eax, eax
mov dword [esi + 0x78], 7
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
mov dword [ecx + 0x10], 0
push eax
push 0x10066594
mov word [ecx], ax
call fcn.10007a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064798
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000b250
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], 0x10067518
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x10066594
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.10007a50
push 0
push 0
lea ecx, [esi + 0x4c]
call fcn.100139e0
push 0
push 0
lea ecx, [esi + 0x54]
call fcn.100139e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064798
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000b250
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], 0x10067464
lea ecx, [esi + 0x40]
mov dword [esi + 0x2c], 0xffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x10066594
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.10007a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010810
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100647de
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000b250
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], 0x100673b0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x10066594
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.10007a50
xor eax, eax
mov dword [esi + 0x60], 7
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x10], 0
push eax
push 0x10066594
mov word [ecx], ax
call fcn.10007a50
xor eax, eax
mov dword [esi + 0x78], 7
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
mov dword [ecx + 0x10], 0
push eax
push 0x10066594
mov word [ecx], ax
call fcn.10007a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movsx eax, al
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
mov eax, dword [eax*4 + 0x10069060]
xor eax, ecx
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edx + 8]
inc ecx
mov dword [edx + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x10069060]
mov dword [edx + 8], eax
pop ebp
ret
Function at 0x100457e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654a3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov dword [esi], 0x1006fa14
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], eax
mov word [ecx], ax
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push eax
push 0x10066594
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x40], al
mov dword [esi + 0x44], eax
call fcn.10007a50
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi], 0x1006f974
xor ecx, ecx
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], 0x1006f960
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
mov dword [ebp - 4], eax
lea eax, [esi + 0x40]
mov word [eax + 0x10], cx
mov dword [eax + 0x3c], 7
mov dword [eax + 0x38], ecx
mov word [eax + 0x28], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x44], eax
mov dword [eax + 0x40], eax
mov edi, dword [ebp + 8]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
mov byte [ebp - 4], 1
cmp word [edi], cx
jne 0x10045972
xor eax, eax
jmp 0x1004597b
push edi
call fcn.1004c3e4
add esp, 4
push eax
push edi
lea ecx, [esi + 0x1c]
call fcn.10007a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10045a00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654f8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10080680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov ebx, dword [ebp + 8]
mov dword [esi], 0x1006f9b4
mov dword [ebp - 4], eax
cmp word [ebx], ax
je 0x10045a80
push ebx
call fcn.1004c3e4
add esp, 4
push eax
push ebx
lea ecx, [esi + 0x1c]
call fcn.10007a50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x192fb6e
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
clc
mov dword [ebp - 0x10], eax
jmp 0x104e5c1
je 0x18703a5
mov eax, dword [edx + ecx + 0x20]
add eax, ecx
stc
test di, 0xb51
xor ebx, ebx
dec edi
jmp 0x1992e92
mov eax, dword [eax + esi*4]
cmp si, 0x4e4d
jmp 0xf89260
push edx
mov edx, dword [ebp + 0xc]
test ebp, esp
stc
add eax, ecx
call fcn.019bbf26
lea esp, [esp + 4]
test eax, eax
jmp 0x1934d9d
mov esp, ebp
pop ebp
ret
je 0xfd8543
mov eax, 0x5a4d
cmp word [ecx], ax
jmp 0xfd853d
cmp dword [eax + ecx], 0x4550
jne 0xfd8543
mov edx, dword [eax + ecx + 0x78]
mov dword [ebp - 4], edx
cmc
jmp 0x102f117
je 0x19750e6
xor eax, eax
jmp 0x19aaa91
mov edi, dword [edx + ecx + 0x18]
test esp, edx
test edi, edi
jmp 0xf5e23d
jle 0x1870368
lea ebx, [esi + 1]
movzx cx, bh
rcr ecx, 0xca
mov ecx, dword [ebp + 8]
cmc
cmp si, bx
cmp ebx, edi
jle 0x1a08f92
jmp 0x187039f
mov dword [ebp - 8], eax
jmp 0x102bb07
jmp 0x18703a5
test edx, edx
jmp 0x1996d47
mov dword [ebp - 8], 0xffffffff
cmp esi, 0xffff
jmp 0x19940d6
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp bp, 0x66e4
lea esp, [esp - 0x114]
push esi
test bp, bp
cmp al, ah
cmc
test ecx, ecx
je 0xfd8543
mov esi, dword [ebp + 0xc]
test eax, 0x30de12e4
test esi, esi
jmp 0xfb6a57
jns 0x101bdf9
lea edi, [esi - 1]
jmp 0x101be09
mov eax, dword [ecx + 0x3c]
jmp 0xfc9730
js 0x18703a5
jmp 0x1a08f95
mov dword [ebp - 0xc], eax
jmp 0x1989ee5
ja 0x100c89a
mov eax, esi
sub eax, dword [edx + ecx + 0x10]
jmp 0x10247cc
je 0xfd8543
mov eax, dword [eax + ecx + 0x7c]
cmp edx, edx
jmp 0xf289b9
pop esi
jmp 0xf9ac01
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
and si, 0x21f8
lea esi, [edi + ebx]
clc
sar esi, 1
cmp esp, esp
cmc
jmp 0xf621eb
Function at 0x100145b
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x10018e8
call fcn.010015f4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001270
cmp eax, esi
jne 0x1001263
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1001273
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100124a
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x1001286
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10012c1
mov eax, dword [0x100236c]
test eax, eax
jne 0x10012bb
mov dword [0x100236c], esi
push 0x1001098
push 0x100108c
call fcn.010011c7
pop ecx
pop ecx
test eax, eax
je 0x10012c1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100138b
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x10012e5
push 0x1001088
push 0x1001080
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10012f2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x1001313
push 0x1002374
call fcn.01001569
pop ecx
test eax, eax
je 0x1001313
push ebx
push 2
push ebx
call dword [0x1002374]
push dword [0x100201c]
push dword [0x1002020]
push dword [0x1002018]
call fcn.01001195
add esp, 0xc
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x1001371
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1002034], ebx
jne 0x100137f
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
call fcn.01001639
ret
call fcn.01001741
jmp 0x1001228

Function at 0x40188d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018cc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018cc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018cc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018cc
cmp dword [ecx + 0x74], 0xe
jbe 0x4018cc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10005390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008d630
push 0x100731bc
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10092400]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10005400
mov byte [esi + eax], 0x90
inc eax
jmp 0x100053f2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000541a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100731eb
mov esp, ebp
pop ebp
ret
Function at 0x100070b0
Capabilities:
Terminate process

Disassembly:
push esi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x100070d2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x100098e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10092400]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1008cb90]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [ebp - 8], xmm0
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
call fcn.10007310
test eax, eax
jle 0x10009a8e
mov ecx, dword [0x10093b3c]
sub ecx, dword [0x10095b90]
add ecx, dword [0x10095cdc]
mov eax, dword [0x10095da8]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x10009a8e
mov eax, dword [0x10093e2c]
lea ecx, [ebp - 0x14]
mov edx, ebx
push dword [eax*4 + 0x10088cb4]
call fcn.100073a0
add esp, 4
test al, al
je 0x10009a8e
movq xmm0, qword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
call fcn.10007480
add esp, 0xc
test al, al
je 0x10009a8e
mov eax, dword [0x10093ba4]
cvttss2si edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvttss2si ecx, dword [ebp - 0x20]
addsd xmm0, qword [eax*8 + 0x1008cba0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008caec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x10093ba0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008cba0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008caec]
cvttss2si eax, xmm0
push eax
call fcn.10009710
movss xmm1, dword [ebp - 8]
add esp, 8
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x10009a8e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10093d58]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm1
comiss xmm0, xmm1
jbe 0x10009a8e
mov ecx, dword [0x100939a4]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x10009a34
jmp dword [eax*4 + 0x10009ad4]
mov eax, 1
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 2
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 0x11
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 0x10
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, dword [0x10093ccc]
test ecx, ecx
je 0x10009a85
push eax
call edi
test ax, ax
js 0x10009a85
cmp dword [0x100939a4], 0
jne 0x10009a8e
mov esi, ebx
mov byte [0x10093a9c], 1
inc ebx
cmp ebx, 0xf
jle 0x10009910
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x10019990
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, esi
cmp esi, 0xffffffff
jne 0x10009ac0
mov byte [0x10093a9c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100731eb
mov esp, ebp
pop ebp
ret
Function at 0x10009a3b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10092400]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1008cb90]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [ebp - 8], xmm0
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
call fcn.10007310
test eax, eax
jle 0x10009a8e
mov ecx, dword [0x10093b3c]
sub ecx, dword [0x10095b90]
add ecx, dword [0x10095cdc]
mov eax, dword [0x10095da8]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x10009a8e
mov eax, dword [0x10093e2c]
lea ecx, [ebp - 0x14]
mov edx, ebx
push dword [eax*4 + 0x10088cb4]
call fcn.100073a0
add esp, 4
test al, al
je 0x10009a8e
movq xmm0, qword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
call fcn.10007480
add esp, 0xc
test al, al
je 0x10009a8e
mov eax, dword [0x10093ba4]
cvttss2si edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvttss2si ecx, dword [ebp - 0x20]
addsd xmm0, qword [eax*8 + 0x1008cba0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008caec]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x10093ba0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008cba0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008caec]
cvttss2si eax, xmm0
push eax
call fcn.10009710
movss xmm1, dword [ebp - 8]
add esp, 8
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x10009a8e
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10093d58]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm1
comiss xmm0, xmm1
jbe 0x10009a8e
mov ecx, dword [0x100939a4]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x10009a34
jmp dword [eax*4 + 0x10009ad4]
mov eax, 1
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 2
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 0x11
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, 0x10
mov dword [0x10093ccc], eax
jmp 0x10009a70
mov eax, dword [0x10093ccc]
test ecx, ecx
je 0x10009a85
push eax
call edi
test ax, ax
js 0x10009a85
cmp dword [0x100939a4], 0
jne 0x10009a8e
mov esi, ebx
mov byte [0x10093a9c], 1
inc ebx
cmp ebx, 0xf
jle 0x10009910
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x10019990
push esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, esi
cmp esi, 0xffffffff
jne 0x10009ac0
mov byte [0x10093a9c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100731eb
mov esp, ebp
pop ebp
ret
Function at 0x10009af0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x10009b4a
cmp byte [edi*8 + 0x10096778], 0
lea esi, [edi*8 + 0x1009677c]
je 0x10009b2f
cmp dword [esi], 0
je 0x10009b52
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
add ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x10009b52
mov byte [edi*8 + 0x10096778], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [edi*8 + 0x10096778], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret