Function at 0x10003e60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002569d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x10030040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10034c54], 0x10
jbe 0x10003ec7
cmp dword [0x10034c58], 0xf
mov eax, 0x10034c44
mov dword [0x10034c54], 0
cmova eax, dword [0x10034c44]
mov byte [eax], 0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov dword [0x10034c24], ecx
push ecx
call esi
mov ecx, dword [0x10034c24]
test al, 1
jne 0x10003ef1
inc ecx
mov dword [0x10034c24], ecx
cmp ecx, 0xff
jb 0x10003ed5
cmp ecx, 8
jne 0x10004033
xorps xmm0, xmm0
mov edi, 0xf
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
xor edx, edx
cmp dword [0x10034c58], edi
mov ecx, 0x10034c44
mov dword [ebp - 0x1c], edx
cmova ecx, dword [0x10034c44]
mov byte [ebp - 0x2c], dl
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003f30
sub ecx, esi
test ecx, ecx
jle 0x10003fa6
lea eax, [ecx - 1]
xor esi, esi
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x10003fa6
nop dword [eax]
cmp dword [0x10034c58], 0xf
mov eax, 0x10034c44
cmova eax, dword [0x10034c44]
mov cl, byte [eax + esi]
mov byte [ebp - 0x30], cl
cmp edx, edi
jae 0x10003f87
lea eax, [edx + 1]
cmp edi, 0xf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x10003f9a
push dword [ebp - 0x30]
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10002a60
mov edi, dword [ebp - 0x18]
inc esi
mov edx, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x34]
jl 0x10003f50
cmp dword [0x10034c58], 0xf
mov eax, 0x10034c44
mov dword [0x10034c54], 0
mov ecx, 0x10034c44
cmova eax, dword [0x10034c44]
cmp edi, 0xf
push edx
mov byte [eax], 0
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.10002920
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10004012
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004008
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004008
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10024515
add esp, 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100244d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp ecx, 0x20
jne 0x10004088
mov edx, dword [0x10034c58]
mov eax, edx
mov ecx, dword [0x10034c54]
sub eax, ecx
cmp eax, 1
jb 0x1000406c
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [0x10034c54], eax
mov eax, 0x10034c44
cmova eax, dword [0x10034c44]
mov word [eax + ecx], 0x20
jmp 0x10004012
push 1
push 0x100286b4
mov byte [ebp - 0x34], 0
mov ecx, 0x10034c44
push dword [ebp - 0x34]
push 1
call fcn.10002cb0
jmp 0x10004012
cmp ecx, 0x30
jb 0x10004012
or eax, 0xffffffff
cmp ecx, 0x7a
cmovbe eax, ecx
jmp 0x10004015