Function at 0x1002f340
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
sub esp, 0x18c
push esi
mov byte [0x1026bf86], 1
mov ecx, dword [0x1026b910]
call fcn.10008360
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x1026b918]
call fcn.10008260
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002f396
mov ecx, dword [ebp - 4]
call fcn.100082b0
test eax, eax
jg 0x1002f39b
jmp 0x1002f963
mov ecx, dword [0x1026b910]
call fcn.100083c0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1002f3b4
jmp 0x1002f963
mov ecx, dword [ebp - 4]
push ecx
call fcn.1007bf90
add esp, 4
mov dword [ebp - 0xd4], eax
mov dword [0x1026bc1c], 1
cmp dword [0x10235aa4], 0xffffffff
je 0x1002f3eb
mov edx, dword [0x10235aa4]
push edx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1002f3f2
mov byte [0x1026bc10], 0
mov ecx, dword [ebp - 4]
call fcn.10008290
mov ecx, dword [eax]
and ecx, 1
jne 0x1002f47d
movzx edx, byte [0x10235bc9]
test edx, edx
je 0x1002f46b
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 4]
call fcn.10008500
mov ecx, eax
call fcn.10008780
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
mov ecx, dword [0x1026b91c]
mulss xmm0, dword [ecx + 0x20]
movss xmm1, dword [0x100aecd0]
divss xmm1, xmm0
push ecx
movss dword [esp], xmm1
call fcn.1000da00
add esp, 4
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x100ae80c]
cvttss2si edx, xmm0
mov dword [0x1026bc1c], edx
jmp 0x1002f478
cvttss2si eax, dword [0x10235bd0]
mov dword [0x1026bc1c], eax
jmp 0x1002f872
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.10008500
mov ecx, eax
call fcn.10008780
fstp qword [ebp - 0xe0]
movsd xmm0, qword [ebp - 0xe0]
comisd xmm0, xmmword [0x100aec90]
ja 0x1002f4c2
mov edx, dword [ebx + 8]
push edx
call fcn.1007bd10
add esp, 4
movzx eax, al
test eax, eax
je 0x1002f7f5
cvttss2si ecx, dword [0x10235bcc]
mov dword [0x1026bc1c], ecx
movzx edx, byte [0x10235bca]
test edx, edx
je 0x1002f7f3
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000a780
call fcn.1007b4e0
fstp dword [ebp - 0x28]
push ecx
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
push 0x7ff00
push 0x80
push 0
mov ecx, dword [ebp - 4]
call fcn.10014350
push 0x12
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10036950
push 0x10
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x14]
call fcn.10036950
mov dword [ebp - 0xc], 0
jmp 0x1002f546
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x40
jge 0x1002f7f3
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [0x1026b918]
call fcn.10008260
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002f599
mov ecx, dword [ebp - 8]
call fcn.10008320
movzx edx, al
test edx, edx
jne 0x1002f599
mov ecx, dword [ebp - 8]
call fcn.100082b0
test eax, eax
jle 0x1002f599
mov ecx, dword [ebp - 8]
call fcn.100084a0
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.100084a0
cmp esi, eax
jne 0x1002f59b
jmp 0x1002f53d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
call fcn.100084e0
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 8]
call fcn.100084e0
mov dword [ebp - 0x30], eax
push ecx
movss xmm0, dword [0x100aecd0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x11c]
call fcn.100064c0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x128]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.100071b0
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 8]
push edx
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x80]
mov dword [eax], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x78]
mov dword [eax + 8], ecx
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x90]
mov dword [edx], eax
mov ecx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x88]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x164]
push ecx
mov ecx, 0x10224ee5
call fcn.1000e850
mov edx, dword [eax]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
call fcn.100084e0
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x9c], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 8]
call fcn.100084e0
mov dword [ebp - 0x3c], eax
push ecx
movss xmm0, dword [0x100aecd0]
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
push ecx
xorps xmm0, xmm0
movss dword [esp], xmm0
lea ecx, [ebp - 0x134]
call fcn.100064c0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x140]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.100071b0
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 8]
push edx
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov edx, dword [ebp - 0xbc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 8], ecx
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0xd0]
mov dword [edx], eax
mov ecx, dword [ebp - 0xcc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc8]
mov dword [edx + 8], eax
lea ecx, [ebp - 0x188]
push ecx
mov ecx, 0x10224ee5
call fcn.1000e850
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.10005600
add esp, 8
cmp dword [eax], 0
jle 0x1002f7ee
mov dword [0x1026bc1c], 0xe
jmp 0x1002f7f3
jmp 0x1002f53d
jmp 0x1002f872
mov ecx, dword [ebp - 4]
call fcn.10008290
mov edx, dword [eax]
and edx, 1
je 0x1002f80d
cmp dword [0x10235aa0], 0xffffffff
je 0x1002f820
mov eax, dword [0x10235aa0]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x1002f82c
mov dword [0x1026bc1c], 0xe
jmp 0x1002f872
movzx edx, byte [0x10238413]
test edx, edx
je 0x1002f852
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 1
je 0x1002f852
cvttss2si edx, dword [0x10238414]
mov dword [0x1026bc1c], edx
jmp 0x1002f872
movzx eax, byte [0x10238413]
test eax, eax
jne 0x1002f872
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x1002f872
mov dword [0x1026bc1c], 1
movzx eax, byte [0x1026bc1a]
test eax, eax
je 0x1002f887
mov dword [0x1026bc1c], 0
movzx ecx, byte [0x1026bc11]
test ecx, ecx
je 0x1002f8a9
movzx edx, byte [0x1026bc13]
test edx, edx
je 0x1002f8a9
mov dword [0x1026bc1c], 0xe
jmp 0x1002f8be
movzx eax, byte [0x1026bc11]
test eax, eax
je 0x1002f8be
mov dword [0x1026bc1c], 1
movzx ecx, byte [0x1026bc18]
test ecx, ecx
je 0x1002f8d5
mov dword [0x1026bc1c], 0xe
jmp 0x1002f900
mov dword [ebp - 0x4c], 0xe
mov dword [ebp - 0x50], 1
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
push eax
push 0x1026bc1c
call fcn.10017be0
add esp, 0xc
mov ecx, dword [eax]
mov dword [0x1026bc1c], ecx
cmp dword [0x1026bc1c], 0xe
jle 0x1002f912
mov dword [ebp - 0x18], 0xe
jmp 0x1002f91b
mov edx, dword [0x1026bc1c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x2c]
cmp ecx, dword [ebp - 0x18]
jge 0x1002f945
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2c], 0
jle 0x1002f955
movzx eax, byte [0x1026bc10]
test eax, eax
je 0x1002f955
movzx ecx, byte [0x1026bc11]
test ecx, ecx
jne 0x1002f955
mov byte [0x1026bc10], 0
mov byte [0x1026bf86], 1
jmp 0x1002f963
mov byte [0x1026bf86], 0
mov byte [0x1026bc18], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret