Function at 0x10046c60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 0xd0], ecx
movss xmm0, dword [0x100e1ecc]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x100de870]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [0x100e27a8]
movss dword [ebp - 8], xmm0
mov byte [ebp - 1], 1
movzx eax, byte [0x101623b9]
test eax, eax
je 0x10047282
mov ecx, dword [0x101623c0]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
je 0x10047282
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003e1b0
mov eax, dword [eax]
and eax, 1
je 0x10047280
movzx ecx, byte [0x101623f0]
test ecx, ecx
je 0x10046d0e
mov byte [0x101623f0], 0
mov byte [0x10158042], 1
mov edx, dword [0x101640c4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x7c], ecx
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [0x101640c4]
call dword [ebp - 0x7c]
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x10046d61
mov byte [ebp - 0x19], 0
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
and eax, 0xfffffffb
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
or eax, 2
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x30], eax
mov byte [ebp - 1], 0
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003ac60
mov edx, dword [eax]
mov dword [ebp - 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x24], edx
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
jmp 0x10046d9c
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0xc]
jbe 0x10046f1d
lea ecx, [ebp - 0x38]
call fcn.10039340
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call fcn.1003dfb0
add esp, 4
fstp dword [ebp - 0x80]
movss xmm0, dword [ebp - 0x80]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x38], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x84]
movss xmm0, dword [ebp - 0x84]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x30], xmm0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x8c], edx
movss xmm0, dword [ebp - 0x8c]
subss xmm0, dword [0x100e279c]
movss dword [ebp - 0x8c], xmm0
lea ecx, [ebp - 0x180]
call fcn.10039190
lea ecx, [ebp - 0x2d0]
call fcn.100392b0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2d0]
call fcn.10039800
lea ecx, [ebp - 0xb4]
call fcn.1003b350
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0xb0], eax
mov edx, dword [0x101640d4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x88], ecx
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0xb4]
push eax
push 0x400b
lea ecx, [ebp - 0x2d0]
push ecx
mov ecx, dword [0x101640d4]
call dword [ebp - 0x88]
movss xmm0, dword [ebp - 0x154]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x10046f18
movss xmm0, dword [ebp - 0x154]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x10046f18
mov byte [ebp - 2], 1
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
or eax, 4
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x30], eax
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
and eax, 0xfffffffd
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x30], eax
mov byte [ebp - 1], 1
jmp 0x10046d8d
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
jmp 0x10046f36
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x10]
jbe 0x100470cf
lea ecx, [ebp - 0x44]
call fcn.10039340
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100de86c]
push ecx
movss xmm1, dword [ebp - 0x10]
movss dword [esp], xmm1
movss dword [ebp - 0x54], xmm0
call fcn.1003dfb0
add esp, 4
fstp dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x54]
mulss xmm0, dword [ebp - 0x58]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100de86c]
push ecx
movss xmm1, dword [ebp - 0x10]
movss dword [esp], xmm1
movss dword [ebp - 0x5c], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x5c]
mulss xmm0, dword [ebp - 0x60]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x3c], xmm0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x98], ecx
movss xmm0, dword [ebp - 0x98]
subss xmm0, dword [0x100e279c]
movss dword [ebp - 0x98], xmm0
lea ecx, [ebp - 0x1d8]
call fcn.10039190
lea ecx, [ebp - 0x230]
call fcn.100392b0
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x230]
call fcn.10039800
lea ecx, [ebp - 0xbc]
call fcn.1003b350
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0xb8], eax
mov ecx, dword [0x101640d4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0x400b
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [0x101640d4]
call dword [ebp - 0x64]
movss xmm0, dword [ebp - 0x1ac]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x100470ca
movss xmm0, dword [ebp - 0x1ac]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x100470ca
mov byte [ebp - 2], 1
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
or edx, 4
mov eax, dword [ebx + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
and edx, 0xfffffffd
mov eax, dword [ebx + 8]
mov dword [eax + 0x30], edx
mov byte [ebp - 1], 1
jmp 0x10046f27
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
jmp 0x100470e8
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x10047280
lea ecx, [ebp - 0x50]
call fcn.10039340
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100e1cf0]
push ecx
movss xmm1, dword [ebp - 0x14]
movss dword [esp], xmm1
movss dword [ebp - 0x68], xmm0
call fcn.1003dfb0
add esp, 4
fstp dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x68]
mulss xmm0, dword [ebp - 0x6c]
addss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100e1cf0]
push ecx
movss xmm1, dword [ebp - 0x14]
movss dword [esp], xmm1
movss dword [ebp - 0x70], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x74]
movss xmm0, dword [ebp - 0x70]
mulss xmm0, dword [ebp - 0x74]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x48], xmm0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa4], eax
movss xmm0, dword [ebp - 0xa4]
subss xmm0, dword [0x100e279c]
movss dword [ebp - 0xa4], xmm0
lea ecx, [ebp - 0x128]
call fcn.10039190
lea ecx, [ebp - 0x280]
call fcn.100392b0
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x280]
call fcn.10039800
lea ecx, [ebp - 0xc4]
call fcn.1003b350
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0xc0], eax
mov eax, dword [0x101640d4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 0x400b
lea edx, [ebp - 0x280]
push edx
mov ecx, dword [0x101640d4]
call dword [ebp - 0x78]
movss xmm0, dword [ebp - 0xfc]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x1004727b
movss xmm0, dword [ebp - 0xfc]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x1004727b
mov byte [ebp - 2], 1
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
or ecx, 4
mov edx, dword [ebx + 8]
mov dword [edx + 0x30], ecx
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 0xfffffffd
mov edx, dword [ebx + 8]
mov dword [edx + 0x30], ecx
mov byte [ebp - 1], 1
jmp 0x100470d9
jmp 0x1004729b
movzx eax, byte [0x10158042]
test eax, eax
je 0x1004729b
mov byte [0x101623f0], 1
mov byte [0x10158042], 0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4