Function at 0x10006e21
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov ebp, ecx
cmp byte [0x1023d244], 0
mov dword [esp + 0x14], ebp
je 0x1000740a
mov edi, dword [0x1023d288]
test edi, edi
je 0x1000740a
mov eax, dword [0x1023d284]
test eax, eax
jne 0x10006bc5
mov edx, 0xe80c2f78
mov ecx, 0x1021170d
call fcn.100050d0
mov edx, 0xc10bf213
mov ecx, 0x10211635
mov esi, eax
call fcn.100050d0
mov edx, esi
mov ecx, eax
call fcn.1011f760
mov dword [0x1023d284], eax
cmp dword [eax + edi], 0
jle 0x1000740a
push dword [0x1023d248]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1000740a
mov edi, dword [0x1023d288]
mov edx, 0xe80c2f78
mov ecx, 0x10211745
call fcn.100050d0
mov edx, 0xc10bf213
mov ecx, 0x10211635
mov esi, eax
call fcn.100050d0
mov edx, esi
mov ecx, eax
call fcn.1011f760
mov ecx, dword [0x1023d20c]
mov edx, dword [eax + edi]
mov eax, dword [ecx]
and edx, 0xfff
push edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov ecx, edi
mov dword [esp + 0x38], edi
call fcn.10005ad0
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.100057f0
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.10005700
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.10005cc0
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.10005610
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.10005bd0
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.100059d0
test al, al
jne 0x10006c8c
mov ecx, edi
call fcn.100058e0
test al, al
je 0x1000740a
mov ecx, edi
call fcn.10005610
test al, al
je 0x10006cbc
mov eax, dword [0x1023d238]
mov ecx, dword [0x1023d254]
mov dword [0x102767bc], eax
mov eax, dword [0x102370a4]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.10005700
test al, al
je 0x10006cec
mov eax, dword [0x1023d258]
mov ecx, dword [0x1023d278]
mov dword [0x102767bc], eax
mov eax, dword [0x102370ac]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.100057f0
test al, al
je 0x10006d1c
mov eax, dword [0x1023d260]
mov ecx, dword [0x1023d26c]
mov dword [0x102767bc], eax
mov eax, dword [0x102370b0]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.100058e0
test al, al
je 0x10006d4c
mov eax, dword [0x1023d234]
mov ecx, dword [0x1023d270]
mov dword [0x102767bc], eax
mov eax, dword [0x102370a0]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.100059d0
test al, al
je 0x10006d7c
mov eax, dword [0x1023d228]
mov ecx, dword [0x1023d25c]
mov dword [0x102767bc], eax
mov eax, dword [0x10237094]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.10005ad0
test al, al
je 0x10006da9
mov eax, dword [0x1023d23c]
mov ecx, dword [0x1023d240]
mov dword [0x102767bc], eax
mov eax, dword [0x102370a8]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.10005bd0
test al, al
je 0x10006dd6
mov eax, dword [0x1023d268]
mov ecx, dword [0x1023d24c]
mov dword [0x102767bc], eax
mov eax, dword [0x1023709c]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, edi
call fcn.10005cc0
test al, al
je 0x10006e03
mov eax, dword [0x1023d230]
mov ecx, dword [0x1023d22c]
mov dword [0x102767bc], eax
mov eax, dword [0x10237098]
mov dword [0x102767f0], ecx
mov dword [0x102767b4], eax
jmp 0x10006e09
mov ecx, dword [0x102767f0]
cmp ecx, 3
ja case.default.0x10006e0e
jmp dword [ecx*4 + 0x10007414]
mov dword [0x102767b8], 0
jmp case.default.0x10006e0e
mov dword [0x102767b8], 1
jmp case.default.0x10006e0e
mov dword [0x102767b8], 6
jmp case.default.0x10006e0e
mov dword [0x102767b8], 3
mov ecx, ebp
call fcn.100065c0
mov ecx, dword fs:[0x2c]
mov ebx, eax
mov edx, dword [0x1023d190]
mov dword [esp + 0x3c], ebx
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x1027677c]
cmp ecx, dword [edx + 4]
jle 0x10006eb6
push 0x1027677c
call fcn.1018369a
add esp, 4
cmp dword [0x1027677c], 0xffffffff
jne 0x10006eb6
mov ecx, dword [0x1023d1c8]
push str.weapon_recoil_scale
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x20], ecx
mov ecx, eax
call dword [esp + 0x20]
push 0x1027677c
fstp dword [0x10276794]
call fcn.10183649
add esp, 4
test ebx, ebx
je 0x1000740a
mov ecx, dword [0x1023d288]
lea eax, [esp + 0x58]
push eax
call fcn.100050f0
cmp byte [0x1023d27c], 0
je 0x10007196
cmp byte [0x1023d250], 0
je 0x10007196
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
mov dword [esp + 0x24], eax
mov ecx, 0x1026eb48
lea eax, [esp + 0x24]
push eax
call fcn.10007430
mov edx, dword [ebx + 4]
lea ecx, [ebx + 4]
mov ebp, eax
mov edx, dword [edx + 0x20]
call edx
mov ecx, dword [0x1023d218]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x10006f58
cmp dword [eax + 0xac], 0
jl 0x10006f58
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x10006f58
mov ecx, dword [0x102767b8]
mov eax, dword [edx + 8]
shl ecx, 4
add ecx, dword [0x102767b8]
lea eax, [eax + ecx*4]
add eax, edx
je 0x10006f58
mov ecx, dword [eax]
jmp 0x10006f5d
mov ecx, 8
mov eax, dword [ebp + 0x10]
xor esi, esi
mov ebx, dword [esp + 0x14]
sub eax, 2
movss xmm0, dword [0x1022fc20]
add ebx, 0xc
movss dword [esp + 0x1c], xmm0
test eax, eax
jle 0x10007172
lea edx, [ecx + ecx*2]
shl edx, 4
or edi, 0xffffffff
mov dword [esp + 0x20], edx
nop
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add ecx, esi
dec eax
and ecx, eax
mov eax, dword [ebp + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x1023d288]
movss xmm0, dword [eax + edx + 0x30]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + edx + 0x40]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + edx + 0x50]
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x30], xmm0
call fcn.100050f0
movq xmm0, qword [eax]
movq qword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
movss dword [esp + 0x30], xmm0
fld dword [esp + 0x30]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, dword [esp + 0x28]
fstp dword [esp + 0x30]
movss xmm2, dword [esp + 0x30]
mulss xmm2, xmm2
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fstp dword [esp + 0x30]
movss xmm1, dword [esp + 0x30]
mulss xmm1, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm2, xmm1
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x2c]
sqrtss xmm1, xmm2
movss dword [esp + 0x30], xmm1
fld dword [esp + 0x30]
fstp dword [esp + 0x30]
divss xmm0, dword [esp + 0x30]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x1022fb40]
subss xmm0, dword [ebx]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x34]
divss xmm0, dword [esp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
mov dword [esp + 0x48], 0
mulss xmm1, dword [0x1022fb40]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x1022f858]
subss xmm1, dword [ebx + 4]
movss dword [esp + 0x44], xmm1
jb 0x100070c8
addss xmm1, dword [0x1022fb98]
movss dword [esp + 0x44], xmm1
lea ecx, [esp + 0x40]
call fcn.1011f590
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esp + 0x44]
mulss xmm1, xmm1
mov dword [esp + 0x70], 0
mulss xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x34], xmm1
sqrtss xmm0, dword [esp + 0x34]
movss dword [esp + 0x70], xmm0
movss xmm1, dword [esp + 0x1c]
mov eax, esi
movss xmm0, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
comiss xmm1, xmm0
minss xmm0, xmm1
cmovbe eax, edi
inc esi
mov edi, eax
mov eax, dword [ebp + 0x10]
sub eax, 2
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm1
cmp esi, eax
jl 0x10006f90
mov dword [esp + 0x34], edi
cmp edi, 0xffffffff
mov edi, dword [esp + 0x38]
je 0x10007172
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add ecx, dword [esp + 0x34]
dec eax
and ecx, eax
mov eax, dword [ebp + 4]
mov ebp, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov ecx, edx
movss xmm0, dword [eax + ecx + 0x40]
movss xmm2, dword [eax + ecx + 0x50]
add eax, 0x30
add eax, ecx
jmp 0x100071b5
push dword [0x102767b8]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x68]
push eax
call fcn.10005350
mov ebp, dword [esp + 0x14]
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax + 8]
jmp 0x100071b5
push dword [0x102767b8]
lea eax, [esp + 0x68]
mov ecx, ebx
push eax
call fcn.10005350
lea ebx, [ebp + 0xc]
movss xmm0, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm1, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x58]
subss xmm1, xmm0
subss xmm3, dword [eax]
movss xmm0, dword [esp + 0x60]
subss xmm0, xmm2
movaps xmm2, xmm1
movss dword [esp + 0x3c], xmm1
mulss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
movss dword [esp + 0x20], xmm3
addss xmm2, xmm1
xorps xmm1, xmm1
sqrtss xmm1, xmm2
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x1022fb40]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x3c]
divss xmm0, dword [esp + 0x20]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
mov dword [esp + 0x48], 0
mulss xmm1, dword [0x1022fb40]
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x1022f858]
movss dword [esp + 0x44], xmm1
jb 0x10007256
addss xmm1, dword [0x1022fb98]
movss dword [esp + 0x44], xmm1
lea ecx, [esp + 0x40]
call fcn.1011f4a0
movss xmm0, dword [ebx]
lea ecx, [esp + 0x4c]
subss xmm0, dword [esp + 0x40]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [ebx + 4]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [ebx + 8]
subss xmm0, dword [esp + 0x48]
movss dword [esp + 0x54], xmm0
call fcn.1011f4a0
movss xmm0, dword [ebx]
lea ecx, [esp + 0x40]
subss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 4]
subss xmm0, dword [esp + 0x50]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [ebx + 8]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x48], xmm0
call fcn.1011f4a0
cmp dword [0x1023d28c], 0
jne 0x1000730c
mov edx, 0xe80c2f78
mov ecx, 0x10211739
call fcn.100050d0
mov edx, 0xc10bf213
mov ecx, 0x10211635
mov esi, eax
call fcn.100050d0
mov edx, esi
mov ecx, eax
call fcn.1011f760
mov dword [0x1023d28c], eax
mov ecx, edi
call fcn.10005db0
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, al
je 0x10007333
push dword [0x1023d248]
call esi
test ax, ax
je 0x10007333
cmp byte [0x1023d264], 0
je 0x1000736a
mov ecx, edi
call fcn.10005db0
test al, al
je 0x1000740a
push dword [0x1023d248]
call esi
test ax, ax
je 0x1000740a
cmp byte [0x1023d264], 0
je 0x1000740a
test byte [ebp + 0x30], 1
je 0x1000740a
mov eax, dword [0x1023d280]
mov edi, dword [0x1023d288]
test eax, eax
jne 0x100073a7
mov edx, 0xe80c2f78
mov ecx, 0x10211719
call fcn.100050d0
mov edx, 0xc10bf213
mov ecx, 0x1021165d
mov esi, eax
call fcn.100050d0
mov edx, esi
mov ecx, eax
call fcn.1011f760
mov dword [0x1023d280], eax
movss xmm2, dword [0x10276794]
movss xmm3, dword [esp + 0x40]
movaps xmm0, xmm2
mulss xmm0, dword [edi + eax]
movss xmm1, dword [esp + 0x44]
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + eax + 4]
mulss xmm2, dword [edi + eax + 8]
subss xmm1, xmm0
movss dword [ebp + 0xc], xmm3
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm2
movss dword [ebp + 0x10], xmm1
movss dword [ebp + 0x14], xmm0
cmp byte [0x1023d274], 0
jne 0x1000740a
mov ecx, dword [0x1023d1cc]
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret