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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x128
mov eax, dword [0x1005f010]
xor eax, esp
mov dword [esp + 0x124], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [edx + 0xb38]
mov edi, ecx
mov dword [esp + 0x28], esi
mov ecx, dword [0x10111a7c]
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je case.0x1001f555.0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je case.0x1001f555.0
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x4a4]
call edx
test eax, eax
js case.0x1001f555.0
cmp eax, 0x1d
jg case.0x1001f555.0
cmp eax, 0x1c
ja case.0x1001f555.1
movzx eax, byte [eax + 0x100200a8]
jmp dword [eax*4 + 0x100200a0]
push dword [esp + 0x18]
lea eax, [esp + 0x94]
push eax
call fcn.10034aa0
mov dword [edi + 0x1a0], 0x7fffffff
mov dword [edi + 0x19c], 0xffffffff
mov dword [edi + 0x1a4], 0x4f000000
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov byte [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
mov edx, dword [0x1010e5b0]
test eax, eax
js 0x1001f6c9
cmp eax, 0x1d
jg 0x1001f6c9
cmp eax, 0x11
jne 0x1001f6c9
cmp byte [0x1010e5a6], 0
lea ecx, [eax - 7]
jne 0x1001f6cb
mov ecx, edx
mov dword [0x102febd4], ecx
mov eax, 0x1005f120
mov dword [0x1005f0d8], ecx
nop dword [eax]
cmp dword [eax], ecx
jne 0x1001f6e6
mov dword [eax], edx
sub eax, 4
cmp eax, 0x1005f0dc
jge 0x1001f6e0
mov eax, dword [0x1010e5d0]
test eax, eax
jle 0x1001f709
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je case.0x1001f555.0
mov eax, dword [0x10111a78]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
cmp eax, 1
jl 0x1001fbe9
mov esi, eax
mov ecx, dword [0x10111a70]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp esi, eax
je 0x1001fbd7
mov ecx, dword [0x10111a7c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x1001fbd7
mov edx, dword [eax + 8]
lea ecx, [eax + 8]
mov edx, dword [edx + 0x20]
call edx
test al, al
jne 0x1001fbd7
mov ecx, dword [esp + 0x10]
call fcn.1001d6f0
cmp dword [eax], 0
jne 0x1001fbd7
cmp byte [0x1010e59f], 0
je 0x1001f79d
mov ecx, dword [esp + 0x10]
call fcn.1001d420
mov ecx, dword [0x1010e5b0]
cmp dword [eax], 0
mov eax, 0xa
cmove ecx, eax
mov dword [0x102febd4], ecx
cmp byte [0x1010e5a0], 0
je 0x1001f7c4
mov ecx, dword [esp + 0x10]
call fcn.1001d420
mov ecx, 0xa
test byte [eax], 2
mov eax, dword [0x1010e5b0]
cmovne eax, ecx
mov dword [0x102febd4], eax
cmp byte [0x1010e5a1], 0
je 0x1001f7f2
mov ecx, dword [esp + 0x10]
call fcn.1001d7e0
mov ecx, dword [0x1010e5b0]
mov eax, dword [eax]
cmp eax, dword [0x1010e5b8]
mov eax, 0xa
cmovle ecx, eax
mov dword [0x102febd4], ecx
cmp byte [0x1010e5a2], 0
jne 0x1001f81b
mov ecx, dword [esp + 0x1c]
call fcn.1001d2d0
mov ecx, dword [esp + 0x10]
mov esi, dword [eax]
call fcn.1001d2d0
cmp dword [eax], esi
mov esi, dword [esp + 0xc]
je 0x1001fbd7
mov ecx, dword [esp + 0x10]
call fcn.1001d7e0
cmp dword [eax], 0x1f4
jg 0x1001fbd7
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x5b], 0xff
jb 0x1001fbd7
cmp byte [esi + 0x1010eae8], 0
jne 0x1001fbd7
movss xmm1, dword [eax + 0x29c]
movss xmm2, dword [eax + 0x2a0]
subss xmm2, dword [0x10112648]
subss xmm1, dword [0x10112644]
movss xmm0, dword [eax + 0x2a4]
subss xmm0, dword [0x1011264c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, dword [esp + 0xa4]
ja 0x1001fbd7
push esi
call fcn.10042ed0
mov ecx, dword [0x102febd4]
test al, al
mov eax, 0xc
cmovne ecx, eax
mov dword [0x102febd4], ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [0x1010e5ac], ecx
jne 0x1001f92b
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
call edx
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
subss xmm2, dword [esi + 4]
subss xmm1, dword [esi]
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
mov esi, dword [esp + 0xc]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
cvttss2si ecx, xmm0
mov dword [esp + 0x20], ecx
cmp dword [0x1010e5ac], 1
jne 0x1001f943
mov ecx, dword [esp + 0x10]
call fcn.1001d7e0
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov eax, dword [0x1010e5ac]
cmp eax, 2
je 0x1001f952
cmp eax, 3
jne 0x1001f96f
mov ecx, dword [esp + 0x10]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
xor ecx, ecx
cmp eax, dword [0x10110b40]
setle cl
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x1a0]
jg 0x1001fbd7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4a4]
call eax
test eax, eax
js 0x1001fc4a
cmp eax, 0x1d
jg 0x1001fc4a
cmp eax, 0x11
jne 0x1001fc4a
push dword [esp + 0x10]
mov ecx, edi
push dword [0x102febd4]
call fcn.1001eb00
mov ecx, dword [0x10111a7c]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx]
push dword [esi + 0xb38]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1001fbd3
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x1001fbd3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], eax
lea eax, [edi + 0x24]
push eax
push 0x10112644
mov dword [esp + 0x58], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [esp + 0x60], 0
call fcn.1001d8d0
mov ecx, dword [0x10111a74]
lea edx, [esp + 0xd0]
push edx
lea edx, [esp + 0x54]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x64]
push 0x46004003
push edx
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [esp + 0xfc]
ucomiss xmm0, dword [0x10054000]
lahf
test ah, 0x44
jp 0x1001fbd3
movss xmm4, dword [edi + 0x24]
subss xmm4, dword [0x10112644]
push dword [esp + 0x18]
push esi
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [edi + 0x28]
subss xmm3, dword [0x10112648]
mulss xmm0, xmm4
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [edi + 0x2c]
subss xmm2, dword [0x1011264c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10053f18]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10054068]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, xmm4
movss dword [edi + 8], xmm2
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
movss dword [edi + 4], xmm0
call fcn.10042240
test al, al
je 0x1001fbbf
movss xmm0, dword [edi + 8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
movsd qword [esp + 0x30], xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
cvtps2pd xmm2, xmm2
lahf
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x10], xmm1
test ah, 0x44
jp 0x1001fb2f
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jp 0x1001fb2f
xorps xmm1, xmm1
jmp 0x1001fb9b
movaps xmm0, xmm1
movaps xmm1, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x28], xmm0
jbe 0x1001fb5f
addsd xmm0, qword [0x100540a8]
movsd qword [esp + 0x28], xmm0
movsd xmm1, qword [esp + 0x10]
movsd xmm2, qword [esp + 0x38]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x30]
xorps xmm0, xmmword [0x10054400]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
movsd xmm1, qword [esp + 0x28]
mov eax, dword [esp + 0x24]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1a0], eax
mov esi, dword [esp + 0xc]
dec esi
mov dword [esp + 0xc], esi
cmp esi, 1
jge 0x1001f720
mov esi, dword [esp + 0x24]
mov al, byte [edi + 0x1a8]
mov cl, al
test al, al
je 0x1001fc11
cmp dword [edi + 0x19c], 0xffffffff
je 0x1001fc11
cmp byte [0x1010e59d], 0
je 0x1001fc11
or dword [esi + 0x24], 1
mov cl, byte [edi + 0x1a8]
cmp dword [0x1010e5ac], 3
jne 0x1001fc25
mov eax, dword [edi + 0x19c]
mov dword [0x10110b40], eax
test cl, cl
je 0x1002002b
cmp dword [0x1010e5ac], 3
je 0x1002003f
mov eax, dword [edi + 0x19c]
mov dword [0x10110b40], eax
jmp 0x1002003f
mov eax, dword [0x1010e5c0]
test eax, eax
jne 0x1001fc57
xor ecx, ecx
jmp 0x1001fc71
cmp eax, 1
jne 0x1001fc61
lea ecx, [eax + 3]
jmp 0x1001fc71
cmp eax, 2
mov ecx, 0x11
mov edx, 8
cmove ecx, edx
mov dword [esp + 0x28], ecx
mov esi, dword [0x102febd4]
test eax, eax
je 0x1001fc86
mov esi, dword [ecx*4 + 0x1005f0d8]
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.1001eb00
mov eax, dword [0x1010e5c4]
cmp eax, 1
jne 0x1001fca9
cmp esi, dword [0x102febd4]
je 0x1001fcb2
jmp 0x1001fe6f
cmp eax, 2
jne 0x1001fe6f
mov esi, 0x84
nop word [eax + eax]
movss xmm4, dword [esi + edi]
lea eax, [esi + edi]
subss xmm4, dword [0x10112644]
push dword [esp + 0x1c]
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10112648]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1011264c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10053f18]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10054068]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, xmm4
movss dword [edi + 8], xmm2
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
movss dword [edi + 4], xmm0
call fcn.1001e770
test al, al
je 0x1001fe63
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.10042240
test al, al
je 0x1001fe4f
movss xmm2, dword [edi + 8]
movss xmm0, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm2, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x38], xmm2
xorps xmm2, xmm2
ucomisd xmm0, xmm2
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x48], xmm0
test ah, 0x44
jp 0x1001fdc5
ucomisd xmm1, xmm2
lahf
test ah, 0x44
jp 0x1001fdc5
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x1001fe2b
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x30], xmm0
jbe 0x1001fdef
addsd xmm0, qword [0x100540a8]
movsd qword [esp + 0x30], xmm0
movsd xmm1, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x48]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x38]
xorps xmm0, xmmword [0x10054400]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
movsd xmm1, qword [esp + 0x30]
mov eax, dword [esp + 0x24]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1a0], eax
sub esi, 0xc
cmp esi, 0x24
jg 0x1001fcc0
movss xmm4, dword [edi + 0x24]
lea eax, [edi + 0x24]
subss xmm4, dword [0x10112644]
mov esi, dword [esp + 0x1c]
push esi
push dword [esp + 0x14]
movss dword [edi], xmm4
movaps xmm0, xmm4
movss xmm3, dword [eax + 4]
subss xmm3, dword [0x10112648]
mulss xmm0, xmm4
push eax
push ecx
mov ecx, edi
movss dword [edi + 4], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 8]
subss xmm2, dword [0x1011264c]
mulss xmm1, xmm3
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, dword [0x10053f18]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10054068]
sqrtsd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, xmm4
movss dword [edi + 8], xmm2
movss dword [edi], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
movss dword [edi + 4], xmm0
call fcn.1001e770
test al, al
je 0x10020010
push dword [esp + 0x18]
push esi
call fcn.10042240
test al, al
je 0x1001fffc
movss xmm0, dword [edi + 8]
movss xmm2, dword [edi + 4]
movss xmm1, dword [edi]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
movsd qword [esp + 0x48], xmm0
xorps xmm0, xmm0
ucomisd xmm2, xmm0
cvtps2pd xmm1, xmm1
lahf
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm2
test ah, 0x44
jp 0x1001ff6f
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x1001ff6f
xorps xmm1, xmm1
jmp 0x1001ffd8
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
xorps xmm1, xmm1
comisd xmm1, xmm0
movsd qword [esp + 0x30], xmm0
jbe 0x1001ff9c
addsd xmm0, qword [0x100540a8]
movsd qword [esp + 0x30], xmm0
movsd xmm1, qword [esp + 0x40]
movsd xmm2, qword [esp + 0x38]
mulsd xmm1, xmm1
mulsd xmm2, xmm2
movsd xmm0, qword [esp + 0x48]
xorps xmm0, xmmword [0x10054400]
addsd xmm1, xmm2
sqrtsd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x10054098]
movsd xmm1, qword [esp + 0x30]
mov eax, dword [esp + 0x24]
cvtsd2ss xmm0, xmm0
mov dword [eax + 0x14], 0
movss dword [eax + 0xc], xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax + 0x10], xmm0
mov byte [edi + 0x1a8], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x19c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1a0], eax
mov ecx, dword [esp + 0x28]
sub ecx, 1
mov dword [esp + 0x28], ecx
js 0x1001fbd3
mov eax, dword [0x1010e5c0]
jmp 0x1001fc75
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x6fc], 0
jg 0x1002003f
or dword [esi + 0x24], 0x2000
cmp byte [0x1010e5a3], 0
jne 0x10020059
mov ecx, dword [0x10111a70]
lea eax, [esi + 0xc]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
cmp byte [0x1010e5a8], 0
je 0x1002007d
push dword [0x1010e6d4]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [0x1010e5b0], 9
test ax, ax
jne case.0x1001f555.0
mov dword [0x1010e5b0], 0xc
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.1004305e
mov esp, ebp
pop ebp
ret 8