Function at 0x1003b8e0
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 [0x102bd258]
call fcn.100090e0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003b935
mov ecx, dword [ebp - 4]
call fcn.10008ff0
test eax, eax
jg 0x1003b93a
jmp 0x1003bea7
mov ecx, dword [0x102bd258]
call fcn.10009140
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003b953
jmp 0x1003bea7
mov dword [0x101e0c24], 1
mov ecx, dword [ebp - 4]
call fcn.10008fa0
mov edx, dword [eax]
and edx, 1
jne 0x1003b9e8
movzx eax, byte [0x10286441]
test eax, eax
je 0x1003b9d5
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 [0x102bd264]
mulss xmm0, dword [edx + 0x20]
movss xmm1, dword [0x100e7fe8]
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 [0x100e7ae0]
cvttss2si eax, xmm0
mov dword [0x101e0c24], eax
jmp 0x1003b9e3
cvttss2si ecx, dword [0x10286448]
mov dword [0x101e0c24], ecx
jmp 0x1003bda6
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 [0x100e7f98]
ja 0x1003ba2d
mov eax, dword [ebx + 8]
push eax
call fcn.1009b1f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1003bd60
cvttss2si edx, dword [0x10286444]
mov dword [0x101e0c24], edx
movzx eax, byte [0x10286442]
test eax, eax
je 0x1003bd5e
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
call fcn.1000cf10
call fcn.1009a960
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.10041010
push 0x10
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041010
mov dword [ebp - 0xc], 0
jmp 0x1003bab1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x40
jge 0x1003bd5e
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x102bd260]
call fcn.10008f20
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003bb04
mov ecx, dword [ebp - 8]
call fcn.10009080
movzx eax, al
test eax, eax
jne 0x1003bb04
mov ecx, dword [ebp - 8]
call fcn.10008ff0
test eax, eax
jle 0x1003bb04
mov ecx, dword [ebp - 8]
call fcn.10009280
mov esi, eax
mov ecx, dword [ebp - 4]
call fcn.10009280
cmp esi, eax
jne 0x1003bb06
jmp 0x1003baa8
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 [0x100e7fe8]
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, 0x1027161c
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 [0x100e7fe8]
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, 0x1027161c
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 0x1003bd59
mov dword [0x101e0c24], 0xe
jmp 0x1003bd5e
jmp 0x1003baa8
jmp 0x1003bda6
movzx edx, byte [0x10288ccb]
test edx, edx
je 0x1003bd86
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 1
je 0x1003bd86
cvttss2si edx, dword [0x10288ccc]
mov dword [0x101e0c24], edx
jmp 0x1003bda6
movzx eax, byte [0x10288ccb]
test eax, eax
jne 0x1003bda6
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
and edx, 1
je 0x1003bda6
mov dword [0x101e0c24], 1
movzx eax, byte [0x101e0c1d]
test eax, eax
je 0x1003bdcc
movzx ecx, byte [0x101e0c1e]
test ecx, ecx
je 0x1003bdcc
cvttss2si edx, dword [0x10286444]
mov dword [0x101e0c24], edx
jmp 0x1003bde1
movzx eax, byte [0x101e0c1d]
test eax, eax
je 0x1003bde1
mov dword [0x101e0c24], 1
cmp dword [0x10288c64], 0xffffffff
je 0x1003bdfe
mov ecx, dword [0x10288c64]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x1003be05
mov byte [0x101e0c1c], 1
movzx eax, byte [0x101e0c21]
test eax, eax
je 0x1003be1c
mov dword [0x101e0c24], 0xe
jmp 0x1003be46
mov dword [ebp - 0x4c], 0xe
mov dword [ebp - 0x50], 1
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x101e0c24
call fcn.10020e10
add esp, 0xc
mov eax, dword [eax]
mov dword [0x101e0c24], eax
cmp dword [0x101e0c24], 0xe
jle 0x1003be58
mov dword [ebp - 0x18], 0xe
jmp 0x1003be61
mov ecx, dword [0x101e0c24]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
cmp eax, dword [ebp - 0x18]
jge 0x1003be8b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x2c], 0
jle 0x1003be9a
movzx edx, byte [0x101e0c1c]
test edx, edx
je 0x1003be9a
movzx eax, byte [0x101e0c1d]
test eax, eax
jne 0x1003be9a
mov byte [0x101e0c1c], 0
mov ecx, dword [ebx + 0xc]
mov byte [ecx], 1
jmp 0x1003bea7
mov edx, dword [ebx + 0xc]
mov byte [edx], 0
mov byte [0x101e0c21], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret