Function at 0x1003bdd0
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, 0x184
push esi
mov eax, dword [ebx + 0xc]
mov byte [eax], 1
mov ecx, dword [0x102bd158]
call fcn.100090e0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [0x102bd160]
call fcn.10008f20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003be25
mov ecx, dword [ebp - 4]
call fcn.10008ff0
test eax, eax
jg 0x1003be2a
jmp 0x1003c397
mov ecx, dword [0x102bd158]
call fcn.10009140
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003be43
jmp 0x1003c397
mov dword [0x101e0b24], 1
mov ecx, dword [ebp - 4]
call fcn.10008fa0
mov edx, dword [eax]
and edx, 1
jne 0x1003bed8
movzx eax, byte [0x10286341]
test eax, eax
je 0x1003bec5
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 4]
call fcn.100092e0
mov ecx, eax
call fcn.10009510
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
mov edx, dword [0x102bd164]
mulss xmm0, dword [edx + 0x20]
movss xmm1, dword [0x100e6fe8]
divss xmm1, xmm0
push ecx
movss dword [esp], xmm1
call fcn.10010260
add esp, 4
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
addss xmm0, dword [0x100e6ae0]
cvttss2si eax, xmm0
mov dword [0x101e0b24], eax
jmp 0x1003bed3
cvttss2si ecx, dword [0x10286348]
mov dword [0x101e0b24], ecx
jmp 0x1003c296
lea edx, [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 4]
call fcn.100092e0
mov ecx, eax
call fcn.10009510
fstp qword [ebp - 0xd8]
movsd xmm0, qword [ebp - 0xd8]
comisd xmm0, xmmword [0x100e6f98]
ja 0x1003bf1d
mov eax, dword [ebx + 8]
push eax
call fcn.1009c300
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1003c250
cvttss2si edx, dword [0x10286344]
mov dword [0x101e0b24], edx
movzx eax, byte [0x10286342]
test eax, eax
je 0x1003c24e
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000cf10
call fcn.1009ba70
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.10009880
push 0x12
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x14]
call fcn.10041850
push 0x10
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041850
mov dword [ebp - 0xc], 0
jmp 0x1003bfa1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x40
jge 0x1003c24e
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x102bd160]
call fcn.10008f20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003bff4
mov ecx, dword [ebp - 8]
call fcn.10009080
movzx eax, al
test eax, eax
jne 0x1003bff4
mov ecx, dword [ebp - 8]
call fcn.10008ff0
test eax, eax
jle 0x1003bff4
mov ecx, dword [ebp - 8]
call fcn.10009280
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.10009280
cmp esi, eax
jne 0x1003bff6
jmp 0x1003bf98
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
call fcn.100092c0
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x78], edx
mov ecx, dword [ebp - 8]
call fcn.100092c0
mov dword [ebp - 0x30], eax
push ecx
movss xmm0, dword [0x100e6fe8]
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 - 0x114]
call fcn.10006a10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.10007d10
mov edx, dword [eax]
mov dword [ebp - 0x70], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x6c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x88], edx
push 1
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 8]
push ecx
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x80]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x78]
mov dword [edx + 8], eax
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x90]
mov dword [ecx], edx
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x88]
mov dword [ecx + 8], edx
lea eax, [ebp - 0x15c]
push eax
mov ecx, 0x1027151c
call fcn.10010e20
mov ecx, dword [eax]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 4]
call fcn.100092c0
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.100092c0
mov dword [ebp - 0x3c], eax
push ecx
movss xmm0, dword [0x100e6fe8]
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 - 0x12c]
call fcn.10006a10
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x138]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10007d10
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 - 0x180]
push ecx
mov ecx, 0x1027151c
call fcn.10010e20
mov edx, dword [eax]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.10005810
add esp, 8
cmp dword [eax], 0
jle 0x1003c249
mov dword [0x101e0b24], 0xe
jmp 0x1003c24e
jmp 0x1003bf98
jmp 0x1003c296
movzx edx, byte [0x10288bcb]
test edx, edx
je 0x1003c276
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 1
je 0x1003c276
cvttss2si edx, dword [0x10288bcc]
mov dword [0x101e0b24], edx
jmp 0x1003c296
movzx eax, byte [0x10288bcb]
test eax, eax
jne 0x1003c296
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x1003c296
mov dword [0x101e0b24], 1
movzx eax, byte [0x101e0b1d]
test eax, eax
je 0x1003c2bc
movzx ecx, byte [0x101e0b1e]
test ecx, ecx
je 0x1003c2bc
cvttss2si edx, dword [0x10286344]
mov dword [0x101e0b24], edx
jmp 0x1003c2d1
movzx eax, byte [0x101e0b1d]
test eax, eax
je 0x1003c2d1
mov dword [0x101e0b24], 1
cmp dword [0x10288b64], 0xffffffff
je 0x1003c2ee
mov ecx, dword [0x10288b64]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x1003c2f5
mov byte [0x101e0b1c], 1
movzx eax, byte [0x101e0b21]
test eax, eax
je 0x1003c30c
mov dword [0x101e0b24], 0xe
jmp 0x1003c336
mov dword [ebp - 0x4c], 0xe
mov dword [ebp - 0x50], 1
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x101e0b24
call fcn.10020ea0
add esp, 0xc
mov eax, dword [eax]
mov dword [0x101e0b24], eax
cmp dword [0x101e0b24], 0xe
jle 0x1003c348
mov dword [ebp - 0x18], 0xe
jmp 0x1003c351
mov ecx, dword [0x101e0b24]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x1003c37b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x2c], 0
jle 0x1003c38a
movzx edx, byte [0x101e0b1c]
test edx, edx
je 0x1003c38a
movzx eax, byte [0x101e0b1d]
test eax, eax
jne 0x1003c38a
mov byte [0x101e0b1c], 0
mov ecx, dword [ebx + 0xc]
mov byte [ecx], 1
jmp 0x1003c397
mov edx, dword [ebx + 0xc]
mov byte [edx], 0
mov byte [0x101e0b21], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret