Function at 0x10100830
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101d5a74]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x1028cd40]
mov dword [esp + 0x14], esi
cmp eax, dword [esi + 4]
jle 0x1010089f
push 0x1028cd40
call fcn.1012b230
add esp, 4
cmp dword [0x1028cd40], 0xffffffff
jne 0x1010089f
push 0x1028cd40
mov dword [0x1028cc70], 0
mov dword [0x1028cc6c], 0
mov dword [0x1028cc68], 0
call fcn.1012b1df
add esp, 4
mov eax, dword [0x1028cd18]
cmp eax, dword [esi + 4]
jle 0x101008ed
push 0x1028cd18
call fcn.1012b230
add esp, 4
cmp dword [0x1028cd18], 0xffffffff
jne 0x101008ed
push 0x1028cd18
mov dword [0x1028cd4c], 0
mov dword [0x1028cd48], 0
mov dword [0x1028cd44], 0
call fcn.1012b1df
add esp, 4
mov eax, dword [0x1028cc54]
cmp eax, dword [esi + 4]
jle 0x10100931
push 0x1028cc54
call fcn.1012b230
add esp, 4
cmp dword [0x1028cc54], 0xffffffff
jne 0x10100931
push 0x1028cc54
mov dword [0x1028cc94], 0
mov dword [0x1028cc90], 0x10289bf8
call fcn.1012b1df
add esp, 4
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.10014420
test al, al
jne 0x10100958
cmp dword [0x10289bf8], 0
je 0x10100958
mov eax, dword [0x1028cc90]
mov eax, dword [eax]
test eax, eax
jne 0x10100993
mov dword [0x1028cc94], eax
mov byte [0x10289e5c], 0
mov byte [0x10289dfc], 0
mov dword [0x101d3ea8], 0
mov dword [0x101d3eac], 0
mov dword [0x101d3eb0], 0
mov byte [0x10289e08], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push eax
call esi
shr eax, 0xf
and al, 1
movzx eax, al
mov dword [0x1028cc94], eax
je 0x10100958
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp byte [0x10289dfc], 0
movss xmm0, dword [eax]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x48], xmm0
jne 0x10100a22
mov ecx, edi
call fcn.10014740
test al, al
je 0x10100af3
movss xmm0, dword [esp + 0x40]
movss dword [0x101d3ea8], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [0x101d3eac], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [0x101d3eb0], xmm0
mov byte [0x10289dfc], 1
jmp 0x10100af3
mov ecx, dword [esp + 0x14]
mov eax, dword [0x1028ccd4]
cmp eax, dword [ecx + 4]
jle 0x10100a7a
push 0x1028ccd4
call fcn.1012b230
add esp, 4
cmp dword [0x1028ccd4], 0xffffffff
jne 0x10100a7a
xorps xmm0, xmm0
lea ecx, [esp + 0x20]
movlpd qword [0x1028cd10], xmm0
call fcn.100260c0
push 0x1028ccd4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x1028cd10], ecx
mov dword [0x1028cd14], eax
call fcn.1012b1df
add esp, 4
lea ecx, [esp + 0x20]
call fcn.100260c0
mov ecx, dword [esp + 0x20]
sub ecx, dword [0x1028cd10]
mov eax, dword [esp + 0x24]
sbb eax, dword [0x1028cd14]
mov dword [esp + 0x24], eax
js 0x10100af3
jg 0x10100aa7
cmp ecx, 0x29b92700
jb 0x10100af3
lea ecx, [esp + 0x128]
call fcn.100260c0
mov edx, 0x101d3ea8
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x1028cd14], eax
lea eax, [esp + 0x34]
push ecx
mov dword [0x1028cd10], ecx
mov ecx, 0x101ba054
push eax
call fcn.100e1960
add esp, 8
cmp byte [0x10289bfc], 0
jne 0x101010ad
cmp byte [0x10289e5c], 0
jne 0x10100fe9
mov ecx, edi
call fcn.10014740
test al, al
je 0x10100fcf
mov ecx, dword [0x101d5dc0]
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x4c]
call eax
movss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x20]
xorps xmm1, xmm1
mov dword [esp + 0x1c], eax
movss dword [esp + 0x30], xmm1
lea eax, [esp + 0x6c]
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0x28], xmm1
movss xmm1, dword [0x101be95c]
mulss xmm0, xmm1
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x50]
lea eax, [esp + 0x74]
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x64]
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x18], eax
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fsincos
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
fstp dword [edx]
fstp dword [eax]
movss xmm7, dword [esp + 0x68]
movss xmm5, dword [esp + 0x64]
movaps xmm3, xmm7
mulss xmm5, dword [0x101bed00]
push 0x41
mulss xmm3, dword [esp + 0x70]
movss xmm6, dword [esp + 0x74]
xorps xmm6, xmmword [0x101bf2a0]
mulss xmm7, dword [0x101bed00]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x78]
mulss xmm3, dword [esp + 0x74]
mulss xmm7, dword [esp + 0x24]
mulss xmm6, xmm5
mulss xmm5, dword [esp + 0x78]
subss xmm6, xmm0
movss dword [esp + 0x18], xmm7
subss xmm5, xmm3
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x20], xmm5
call esi
test ax, ax
js 0x10100c8c
push 0x57
call esi
test ax, ax
js 0x10100c8c
push 0x44
call esi
test ax, ax
js 0x10100c8c
push 0x53
call esi
test ax, ax
jns 0x10100fcf
xor eax, eax
mov dword [esp + 0x80], 0
push 0x41
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x24], vtable.CTraceFilterWorldAndPropsOnly.0
mov dword [esp + 0x28], eax
call esi
test ax, ax
js 0x10100dc0
push 0x57
call esi
test ax, ax
js 0x10100dc0
push 0x44
call esi
test ax, ax
js 0x10100d4d
push 0x53
call esi
test ax, ax
jns 0x10100e37
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10021c70
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm0, dword [0x101cf2d4]
movss xmm1, dword [esi]
movss xmm2, dword [esp + 0x18]
addss xmm1, dword [eax]
mulss xmm2, xmm0
addss xmm1, xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm2, xmm0
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esi + 4]
addss xmm1, dword [eax + 4]
addss xmm1, xmm2
movss xmm2, dword [esp + 0x14]
mulss xmm2, xmm0
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esi + 8]
addss xmm1, dword [eax + 8]
addss xmm1, xmm2
jmp 0x10100e31
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10021c70
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm0, dword [0x101cf2d4]
movss xmm1, dword [esi]
movss xmm2, dword [esp + 0x18]
addss xmm1, dword [eax]
mulss xmm2, xmm0
subss xmm1, xmm2
movss xmm2, dword [esp + 0x1c]
mulss xmm2, xmm0
movss dword [esp + 0x28], xmm1
movss xmm1, dword [esi + 4]
addss xmm1, dword [eax + 4]
subss xmm1, xmm2
movss xmm2, dword [esp + 0x14]
mulss xmm2, xmm0
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esi + 8]
addss xmm1, dword [eax + 8]
subss xmm1, xmm2
movss dword [esp + 0x30], xmm1
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10021c70
mov ecx, dword [edi]
mov esi, eax
mov edx, dword [ecx + 0x24]
mov ecx, edi
call edx
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
addss xmm3, dword [eax]
addss xmm4, dword [eax + 4]
addss xmm5, dword [eax + 8]
movss xmm0, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x30]
subss xmm0, xmm3
subss xmm2, xmm4
mov byte [esp + 0x111], 1
subss xmm1, xmm5
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm2
mulss xmm0, xmm0
mulss xmm2, xmm2
movss dword [esp + 0xe8], xmm1
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10100ed3
mov byte [esp + 0x111], 0
mov ecx, dword [0x101d5ee0]
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x24]
mov dword [esp + 0x104], 0
push edx
mov dword [esp + 0x10c], 0
lea edx, [esp + 0xd8]
mov dword [esp + 0x110], 0
mov byte [esp + 0x118], 1
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm4
movss dword [esp + 0xe0], xmm5
mov eax, dword [ecx]
push 0x200400b
push edx
call dword [eax + 0x10]
movss xmm1, dword [esp + 0x78]
mov al, 1
movss xmm0, dword [esp + 0x84]
movss xmm2, dword [esp + 0x7c]
subss xmm0, xmm1
movss xmm3, dword [esp + 0x80]
movss dword [0x1028cc68], xmm1
movss dword [0x1028cc6c], xmm2
movss dword [0x1028cc70], xmm3
movss dword [0x1028cd44], xmm0
movss xmm0, dword [esp + 0x88]
subss xmm0, xmm2
mov byte [0x10289e5c], al
movss dword [0x1028cd48], xmm0
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm3
movss dword [0x1028cd4c], xmm0
jmp 0x10100fd4
mov al, byte [0x10289e5c]
cmp byte [0x10289bfc], 0
jne 0x101010ad
test al, al
je 0x101010ad
movss xmm2, dword [0x101bebe4]
mov esi, 0xa
nop word [eax + eax]
movd xmm1, esi
lea edx, [esp + 0x34]
cvtdq2ps xmm1, xmm1
mov ecx, edi
movss xmm0, dword [0x1028cd44]
divss xmm1, xmm2
mulss xmm0, xmm1
addss xmm0, dword [0x1028cc68]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x1028cd48]
mulss xmm0, xmm1
addss xmm0, dword [0x1028cc6c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [0x1028cd4c]
mulss xmm0, xmm1
addss xmm0, dword [0x1028cc70]
movss dword [esp + 0x3c], xmm0
call fcn.10100700
test al, al
jne 0x101010d3
mov ecx, dword [0x10289988]
lea edx, [esp + 0x34]
push ecx
mov dword [esp], 0x3d23d70a
push 0
mov eax, dword [ecx]
push 0x64
push 0x5a
push 0x3b
push 0xeb
push edx
push 0x101d3ea8
call dword [eax + 0x48]
movss xmm2, dword [0x101bebe4]
add esi, 0xa
cmp esi, 0x64
jl 0x10101000
mov byte [0x10289e08], 1
mov esi, dword [ebp + 8]
mov eax, dword [0x10289e4c]
test byte [eax + 0x24], 1
jne 0x1010112b
cmp byte [0x101d5f3a], 0
jne 0x1010112b
cmp byte [0x10289e08], 0
je 0x1010098b
jmp 0x10101132
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10026c60
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
mov edx, edi
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.10039060
mov ecx, dword [0x10289988]
lea edx, [esp + 0x40]
add esp, 8
mov eax, dword [ecx]
mov dword [esp], 0x3d23d70a
push 0
push 0x64
push 0x32
push 0xbd
push 0x44
push edx
push 0x101d3ea8
call dword [eax + 0x48]
jmp 0x101010b0
mov byte [0x10289e08], 1
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [0x101d3eac]
subss xmm1, dword [0x101d3ea8]
movss xmm2, dword [esp + 0x48]
subss xmm2, dword [0x101d3eb0]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.10011780
movss xmm1, dword [0x101beb4c]
comiss xmm1, xmm0
jbe 0x101011bf
cmp byte [0x10289c01], 0
je 0x10100984
cmp byte [0x101d5f00], 0
jne 0x10100984
cmp dword [0x101d5f3c], 0
jne 0x10100984
mov byte [0x101d5f3b], 1
mov byte [0x10289e08], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x58]
mov ecx, edi
push eax
call fcn.10026c60
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x5c]
push 0x101d3ea8
push eax
mov edx, edi
mov ecx, esi
call fcn.10039060
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8