Function at 0x10046590
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
mov eax, dword [0x101640cc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x88], edx
mov eax, dword [0x101640c4]
mov edx, dword [eax]
mov ecx, dword [0x101640c4]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
mov ecx, dword [0x101640cc]
call dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
movss xmm0, dword [0x100e1ecc]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0x18]
divss xmm0, dword [0x100de870]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [0x100e27a8]
movss dword [ebp - 8], xmm0
movzx edx, byte [0x101623e0]
test edx, edx
je 0x10046b6b
mov eax, dword [0x101623e4]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
je 0x10046b6b
mov ecx, dword [ebp - 0x30]
call fcn.1003e1b0
mov edx, dword [eax]
and edx, 1
je 0x10046b6b
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 0xfffffffb
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x10046676
mov byte [ebp - 2], 1
jmp 0x1004667a
mov byte [ebp - 2], 0
mov cl, byte [ebp - 2]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
je 0x1004669b
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
and ecx, 0xfffffffb
mov edx, dword [ebx + 8]
mov dword [edx + 0x30], ecx
mov byte [ebp - 1], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.100d27f0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
jmp 0x100466c0
movss xmm0, dword [ebp - 0xc]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0xc]
jbe 0x1004682d
lea ecx, [ebp - 0x3c]
call fcn.10039340
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call fcn.1003dfb0
add esp, 4
fstp dword [ebp - 0x8c]
movss xmm0, dword [ebp - 0x8c]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x3c], xmm0
push ecx
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x90]
movss xmm0, dword [ebp - 0x90]
mulss xmm0, dword [ebp - 8]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
movss xmm0, dword [ebp - 0x94]
subss xmm0, dword [0x100e1ee8]
movss dword [ebp - 0x94], xmm0
lea ecx, [ebp - 0x180]
call fcn.10039190
lea ecx, [ebp - 0x2d0]
call fcn.100392b0
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2d0]
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 - 0x58], edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0xc4]
push ecx
push 0x201400b
lea edx, [ebp - 0x2d0]
push edx
mov ecx, dword [0x101640d4]
call dword [ebp - 0x58]
movss xmm0, dword [ebp - 0x154]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x10046828
movss xmm0, dword [ebp - 0x154]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x10046828
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x30]
or ecx, 4
mov edx, dword [ebx + 8]
mov dword [edx + 0x30], ecx
mov byte [ebp - 1], 1
jmp 0x100466b1
xorps xmm0, xmm0
movss dword [ebp - 0x10], xmm0
jmp 0x10046846
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x10]
jbe 0x100469cc
lea ecx, [ebp - 0x48]
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 - 0x5c], xmm0
call fcn.1003dfb0
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 - 0x48], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100de86c]
push ecx
movss xmm1, dword [ebp - 0x10]
movss dword [esp], xmm1
movss dword [ebp - 0x64], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x64]
mulss xmm0, dword [ebp - 0x68]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x40], xmm0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xa0], edx
movss xmm0, dword [ebp - 0xa0]
subss xmm0, dword [0x100e1ee8]
movss dword [ebp - 0xa0], xmm0
lea ecx, [ebp - 0x1d8]
call fcn.10039190
lea ecx, [ebp - 0x230]
call fcn.100392b0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x230]
call fcn.10039800
lea ecx, [ebp - 0xcc]
call fcn.1003b350
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0xc8], eax
mov edx, dword [0x101640d4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x1d8]
push edx
lea eax, [ebp - 0xcc]
push eax
push 0x201400b
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [0x101640d4]
call dword [ebp - 0x6c]
movss xmm0, dword [ebp - 0x1ac]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x100469c7
movss xmm0, dword [ebp - 0x1ac]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x100469c7
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x30]
or eax, 4
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x30], eax
mov byte [ebp - 1], 1
jmp 0x10046837
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
jmp 0x100469e5
movss xmm0, dword [ebp - 0x14]
addss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x18]
comiss xmm0, dword [ebp - 0x14]
jbe 0x10046b6b
lea ecx, [ebp - 0x54]
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 - 0x70], xmm0
call fcn.1003dfb0
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 - 0x54], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, dword [0x100e1cf0]
push ecx
movss xmm1, dword [ebp - 0x14]
movss dword [esp], xmm1
movss dword [ebp - 0x78], xmm0
call fcn.1003e730
add esp, 4
fstp dword [ebp - 0x7c]
movss xmm0, dword [ebp - 0x78]
mulss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x4c], xmm0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xac], ecx
movss xmm0, dword [ebp - 0xac]
subss xmm0, dword [0x100e1ee8]
movss dword [ebp - 0xac], xmm0
lea ecx, [ebp - 0x128]
call fcn.10039190
lea ecx, [ebp - 0x280]
call fcn.100392b0
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x280]
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 - 0x80], eax
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0xbc]
push edx
push 0x201400b
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [0x101640d4]
call dword [ebp - 0x80]
movss xmm0, dword [ebp - 0xfc]
ucomiss xmm0, dword [0x100de868]
lahf
test ah, 0x44
jnp 0x10046b66
movss xmm0, dword [ebp - 0xfc]
ucomiss xmm0, dword [0x100de864]
lahf
test ah, 0x44
jnp 0x10046b66
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
or edx, 4
mov eax, dword [ebx + 8]
mov dword [eax + 0x30], edx
mov byte [ebp - 1], 1
jmp 0x100469d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4