Function at 0x100035d0
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
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1011ed09
push eax
mov dword fs:[0], esp
mov eax, 0x1910
push ebx
call fcn.100f5dc0
mov dword [ecx + 0x30], 0
mov eax, dword [0x1016bffc]
push esi
mov dword [ebp - 0x48], ecx
push edi
mov esi, dword [eax]
mov ecx, esi
call fcn.10012f70
mov ecx, esi
mov edi, eax
call fcn.1003aa90
movss xmm0, dword [edi]
xor ecx, ecx
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi + 8]
xor edi, edi
addss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x80], xmm2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 4], ecx
cmp byte [esi + 0x20], cl
je 0x100036ac
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.10004a20
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], edi
cmp byte [esi + 0x21], 0
je 0x100036e4
mov dword [ebp - 0x14], 7
cmp eax, ecx
je 0x100036cb
mov dword [eax], 7
add eax, 4
mov dword [ebp - 0x20], eax
jmp 0x100036e4
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10004a20
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], edi
cmp byte [esi + 0x22], 0
je 0x1000371f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], 6
cmp eax, ecx
je 0x10003706
mov dword [eax], 6
add eax, 4
mov dword [ebp - 0x20], eax
jmp 0x1000371f
lea ecx, [ebp - 0x14]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10004a20
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [0x10167e48]
mov edx, 1
mov dword [ebp - 0x14], edx
cmp dword [eax + 0x18], edx
jl 0x10003ca9
mov ecx, dword [0x101682a0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x10003c94
mov ecx, edi
call fcn.10093ba0
test al, al
je 0x10003c94
mov ecx, dword [edi]
mov eax, dword [ecx + 0x278]
mov ecx, edi
call eax
test al, al
je 0x10003c94
mov ecx, edi
call fcn.10002fb0
cmp byte [eax], 0
jne 0x10003c94
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10003c94
mov ecx, edi
call fcn.100941c0
test al, al
jne 0x100037a9
cmp byte [esi], al
je 0x10003c94
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x20]
je 0x10003c94
lea ecx, [edi + 4]
nop dword [eax + eax]
mov eax, dword [eax]
lea edx, [ebp - 0x1920]
push ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx]
mov dword [esp], 0
push 0x7ff00
push 0x80
mov eax, dword [eax + 0x34]
push edx
call eax
test al, al
je 0x10003818
mov eax, dword [ebp - 0x4c]
lea eax, [eax + eax*2]
add eax, eax
movss xmm1, dword [ebp + eax*8 - 0x1904]
movss xmm3, dword [ebp + eax*8 - 0x18f4]
movss xmm0, dword [ebp + eax*8 - 0x1914]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm3
jmp 0x10003830
movss xmm0, dword [0x10151ee0]
movaps xmm3, xmm0
movss dword [ebp - 0x30], xmm0
movaps xmm1, xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x60], xmm0
lea edx, [ebp - 0x44]
movss dword [ebp - 0x28], xmm0
lea ecx, [ebp - 0x94]
subss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x5c], xmm1
subss xmm1, dword [ebp - 0x68]
movss dword [ebp - 0x58], xmm3
subss xmm3, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], 0x7f800000
mov dword [ebp - 0x40], 0x7f800000
mov dword [ebp - 0x44], 0x7f800000
movss dword [ebp - 0x94], xmm0
movss dword [ebp - 0x90], xmm1
movss dword [ebp - 0x8c], xmm3
call fcn.10087d20
movss xmm0, dword [esi + 0x44]
lea ecx, [ebp - 0x7c]
mov eax, dword [ebx + 8]
addss xmm0, xmm0
movss xmm3, dword [esi + 0x48]
movss xmm4, dword [esi + 0x4c]
addss xmm3, xmm3
movss xmm2, dword [ebp - 0x44]
addss xmm4, xmm4
movss xmm1, dword [ebp - 0x40]
addss xmm0, dword [eax + 0xc]
addss xmm3, dword [eax + 0x10]
addss xmm4, dword [eax + 0x14]
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x3c]
subss xmm1, xmm3
subss xmm0, xmm4
movss dword [ebp - 0x7c], xmm2
movss dword [ebp - 0x78], xmm1
movss dword [ebp - 0x74], xmm0
call fcn.10087c70
movss xmm0, dword [ebp - 0x7c]
movsd xmm1, qword [0x10151d10]
cvtps2pd xmm0, xmm0
call fcn.1011b0d0
movsd xmm1, qword [0x10151d10]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x78]
cvtps2pd xmm0, xmm0
call fcn.1011b0d0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm0, xmm1
call fcn.10002e20
comiss xmm0, dword [esi + 0x18]
movss dword [ebp - 0x70], xmm0
ja 0x10003c7c
mov eax, dword [0x1016bffc]
lea ecx, [ebp - 0x60]
push ecx
push edi
mov ecx, dword [eax]
call fcn.100946f0
test al, al
jne 0x10003b77
cmp dword [esi + 0x14], 0
je 0x10003c7c
mov eax, dword [0x1016bffc]
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0x7f800000
mov dword [ebp - 0x11c], 0x7f800000
mov dword [ebp - 0x120], 0x7f800000
mov dword [ebp - 0x10c], 0x7f800000
mov dword [ebp - 0x110], 0x7f800000
mov dword [ebp - 0x114], 0x7f800000
mov dword [ebp - 0x100], 0x7f800000
mov dword [ebp - 0x104], 0x7f800000
mov dword [ebp - 0x108], 0x7f800000
mov dword [ebp - 0xf4], 0x7f800000
mov dword [ebp - 0xf8], 0x7f800000
mov dword [ebp - 0xfc], 0x7f800000
mov dword [ebp - 0xb8], 0x7f800000
mov dword [ebp - 0xbc], 0x7f800000
mov dword [ebp - 0xc0], 0x7f800000
mov dword [ebp - 0xb4], 0x10146088
mov esi, dword [eax]
mov ecx, esi
movss dword [ebp - 0x38], xmm0
call fcn.10012f70
mov ecx, esi
mov edi, eax
call fcn.1003aa90
movss xmm1, dword [edi + 4]
movss xmm0, dword [edi]
movss xmm2, dword [edi + 8]
addss xmm0, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm2, dword [eax + 8]
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
subss xmm3, xmm0
mov esi, dword [0x1016bffc]
subss xmm4, xmm1
movss dword [ebp - 0x120], xmm0
subss xmm5, xmm2
movss dword [ebp - 0x11c], xmm1
movss dword [ebp - 0x118], xmm2
mov eax, dword [esi]
movaps xmm0, xmm3
movaps xmm1, xmm4
mulss xmm0, xmm3
mov dword [ebp - 0xb0], eax
mulss xmm1, xmm4
movss dword [ebp - 0x28], xmm3
movss dword [ebp - 0x2c], xmm4
addss xmm0, xmm1
movss dword [ebp - 0x30], xmm5
movaps xmm1, xmm5
movss dword [ebp - 0xc0], xmm3
mulss xmm1, xmm5
movss dword [ebp - 0xbc], xmm4
movss dword [ebp - 0xb8], xmm5
addss xmm0, xmm1
call fcn.10002e20
movaps xmm3, xmm0
xorps xmm1, xmm1
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10003af8
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x30]
divss xmm0, xmm3
divss xmm1, xmm3
divss xmm2, xmm3
jmp 0x10003afe
xorps xmm2, xmm2
xorps xmm0, xmm0
mov eax, dword [0x101682a0]
movss dword [ebp - 0xc0], xmm0
movss dword [ebp - 0xbc], xmm1
movss dword [ebp - 0xb8], xmm2
mov eax, dword [eax]
mov ecx, dword [esi]
mov edi, dword [eax + 0x10]
call fcn.10003160
push ecx
mov ecx, esp
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [0x101682a0]
call edi
test eax, eax
jne 0x10003b44
movss xmm0, dword [0x10151f1c]
jmp 0x10003b64
lea edx, [ebp - 0x120]
mov ecx, eax
call fcn.10006300
test al, al
je 0x10003b5f
movss xmm0, dword [ebp - 0xa4]
jmp 0x10003b64
movss xmm0, dword [ebp - 0x38]
mov esi, dword [ebp - 0x48]
cvttss2si eax, xmm0
cmp eax, dword [esi + 0x14]
jl 0x10003c7c
mov edi, dword [ebp - 0x54]
cmp byte [esi + 2], 0
je 0x10003c14
mov eax, dword [0x1016766c]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1016bfe4]
cmp eax, dword [ecx + 4]
jle 0x10003bdc
push 0x1016bfe4
call fcn.100f5255
add esp, 4
cmp dword [0x1016bfe4], 0xffffffff
jne 0x10003bdc
mov edx, str.55_8B_EC_83_EC_08_8B_15_________0F_57_C0
mov byte [ebp - 4], 1
mov ecx, 0x10145f64
call fcn.10088270
push 0x1016bfe4
mov dword [0x1016bff8], eax
mov byte [ebp - 4], 0
call fcn.100f5204
add esp, 4
movq xmm0, qword [ebp - 0x60]
sub esp, 0xc
mov eax, dword [ebp - 0x58]
mov ecx, esp
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x88]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [ebp - 0x80]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call dword [0x1016bff8]
add esp, 0x18
test al, al
jne 0x10003c7c
cmp byte [esi + 4], 0
je 0x10003c3c
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10003c3c
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 0x30]
mov eax, ecx
not eax
test al, 1
je 0x10003c3c
or ecx, 1
mov dword [edx + 0x30], ecx
mov ecx, dword [ebx + 0x10]
movss xmm1, dword [ebp - 0x70]
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x10003c7c
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x44]
movss dword [ecx], xmm1
mov dword [edx], eax
mov eax, dword [ebx + 0x14]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [eax + 8], xmm0
mov dword [esi + 0x30], edi
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
add eax, 4
mov dword [ebp - 0x50], eax
lea ecx, [edi + 4]
cmp eax, dword [ebp - 0x20]
jne 0x100037c0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x10167e48]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [eax + 0x18]
jle 0x10003735
mov edx, dword [ebp - 0x18]
mov esi, dword [esi + 0x30]
test edx, edx
je 0x10003cdf
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10003cd5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003cf6
push ecx
push edx
call fcn.100f5603
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.100fac9a
int3