Function at 0x100063ad
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
push ebx
push esi
lea eax, [esp + 0x8c]
mov dword [esp + 0x28], ecx
push edi
push eax
call fcn.10004dc0
add esp, 4
cmp byte [0x10132ab6], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x70], xmm0
je 0x10006bf3
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x10006bf3
mov ecx, dword [0x10132a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10006bf3
mov edi, dword [0x10132ac8]
test edi, edi
je 0x10006bf3
mov ebx, edi
test ebx, ebx
je 0x10006bf3
mov eax, dword [0x10132ac4]
test eax, eax
jne 0x10006012
mov edx, 0xe80c2f78
mov ecx, 0x101114a5
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edi, dword [0x10132ac8]
mov dword [0x10132ac4], eax
cmp dword [ebx + eax], 0
jle 0x10006bf3
mov eax, dword [0x10132a80]
mov ebx, edi
test eax, eax
jne 0x1000605b
mov edx, 0xe80c2f78
mov ecx, 0x10111485
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edi, dword [0x10132ac8]
mov dword [0x10132a80], eax
cmp byte [ebx + eax], 0
jne 0x10006bf3
cmp byte [0x10131094], 0
jne 0x10006bf3
mov edx, 0xe80c2f78
mov ecx, 0x101114dd
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov ecx, dword [0x10132a94]
mov edx, dword [eax + edi]
mov eax, dword [ecx]
and edx, 0xfff
push edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
je 0x10006bf3
mov edx, dword [0x10132aa4]
mov eax, dword [0x10132a84]
mov ecx, dword [edx]
mov ebx, dword [ecx + 8]
test eax, eax
jne 0x10006104
mov edx, 0xe80c2f78
mov ecx, 0x10111441
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x10111459
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edx, dword [0x10132aa4]
mov dword [0x10132a84], eax
movsx eax, word [eax + edi]
mov ecx, edx
push eax
call ebx
test eax, eax
je 0x10006bf3
cmp byte [esp + 0x61], 0
je 0x1000628a
mov ecx, dword [0x10132aa4]
mov eax, dword [ecx]
mov ebx, dword [eax + 8]
mov eax, dword [0x10132a84]
test eax, eax
jne 0x10006168
mov edx, 0xe80c2f78
mov ecx, 0x10111441
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x10111459
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov ecx, dword [0x10132aa4]
mov dword [0x10132a84], eax
movsx eax, word [eax + edi]
push eax
call ebx
cmp dword [eax + 0xc8], 1
jne 0x1000628a
mov edx, dword [0x10132acc]
mov ebx, dword [0x10132ac8]
test edx, edx
jne 0x100061bd
mov edx, 0xe80c2f78
mov ecx, 0x101114d1
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113e5
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edx, eax
mov dword [0x10132acc], edx
cmp dword [0x10132ab0], 0
movd xmm0, dword [ebx + edx]
mov ecx, dword [0x10132a9c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx + 0x20]
movss dword [esp + 0x14], xmm0
jne 0x10006213
mov edx, 0xe80c2f78
mov ecx, 0x10111415
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x1011142d
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edx, dword [0x10132acc]
mov dword [0x10132ab0], eax
mov eax, dword [0x10132ab0]
movss xmm0, dword [eax + edi]
subss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x1012c718]
jbe 0x10006290
mov eax, dword [0x10132a84]
test eax, eax
jne 0x10006269
mov edx, 0xe80c2f78
mov ecx, 0x10111441
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x10111459
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edx, dword [0x10132acc]
mov dword [0x10132a84], eax
cmp word [eax + edi], 0x40
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x30]
jne 0x10006282
and ecx, 0xfffff7ff
mov dword [ebx + 0x30], ecx
jmp 0x10006290
and ecx, 0xfffffffe
mov dword [ebx + 0x30], ecx
jmp 0x10006290
mov edx, dword [0x10132acc]
mov ebx, dword [0x10132ac8]
test edx, edx
jne 0x100062cb
mov edx, 0xe80c2f78
mov ecx, 0x101114d1
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113e5
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov edx, eax
mov dword [0x10132acc], edx
movd xmm0, dword [edx + ebx]
mov eax, dword [0x10132a9c]
mov ebx, dword [0x10132ac8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x10132a8c]
movss dword [esp + 0x18], xmm0
test eax, eax
jne 0x10006326
mov edx, 0xe80c2f78
mov ecx, 0x10111495
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113bd
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
movss xmm0, dword [esp + 0x18]
mov dword [0x10132a8c], eax
comiss xmm0, dword [eax + ebx]
jbe 0x10006bf3
cmp dword [0x10132ab0], 0
jne 0x1000636d
mov edx, 0xe80c2f78
mov ecx, 0x10111415
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x1011142d
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
movss xmm0, dword [esp + 0x18]
mov dword [0x10132ab0], eax
mov eax, dword [0x10132ab0]
comiss xmm0, dword [eax + edi]
seta al
test al, al
je 0x10006bf3
cmp byte [0x10132ab5], 0
je 0x10006396
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x30]
and ecx, 1
jmp 0x100063f0
mov ecx, dword [0x10131110]
mov eax, dword [0x10132ab8]
cmp ecx, 3
ja case.0x100063a6.0
jmp dword [ecx*4 + 0x10006bfc]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0x10
neg ecx
sbb ecx, ecx
neg ecx
jmp 0x100063ec
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setne cl
jmp 0x100063ec
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0x10
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x100063ec
mov ecx, 1
mov ebx, dword [esp + 0x2c]
test ecx, ecx
je 0x10006bf3
mov eax, dword [0x10131d0c]
mov edx, eax
mov ecx, dword [0x10131d08]
cmp ecx, edx
je 0x10006410
mov eax, ecx
mov dword [0x10131d0c], eax
cmp byte [esp + 0x70], 0
je 0x10006456
cmp ecx, edx
mov dword [esp + 0x14], 0
cmove ecx, edx
cmp ecx, dword [0x10131d10]
je 0x10006441
mov dword [ecx], 0
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006456
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp byte [esp + 0x71], 0
je 0x10006497
mov dword [esp + 0x14], 1
cmp eax, dword [0x10131d10]
je 0x10006482
mov dword [eax], 1
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006497
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp byte [esp + 0x72], 0
je 0x10006550
mov dword [esp + 0x14], 6
cmp eax, dword [0x10131d10]
je 0x100064c7
mov dword [eax], 6
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x100064dc
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
mov dword [esp + 0x14], 5
cmp eax, dword [0x10131d10]
je 0x10006501
mov dword [eax], 5
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006516
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
mov dword [esp + 0x14], 4
cmp eax, dword [0x10131d10]
je 0x1000653b
mov dword [eax], 4
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006550
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp byte [esp + 0x73], 0
je 0x10006591
mov dword [esp + 0x14], 3
cmp eax, dword [0x10131d10]
je 0x1000657c
mov dword [eax], 3
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006591
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp byte [esp + 0x74], 0
je 0x100065d2
mov dword [esp + 0x14], 2
cmp eax, dword [0x10131d10]
je 0x100065bd
mov dword [eax], 2
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x100065d2
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp byte [esp + 0x75], 0
je 0x1000664d
mov dword [esp + 0x14], 0xc
cmp eax, dword [0x10131d10]
je 0x100065fe
mov dword [eax], 0xc
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x10006613
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, 0x10131d08
call fcn.10007150
mov eax, dword [0x10131d0c]
mov dword [esp + 0x14], 0xb
cmp eax, dword [0x10131d10]
je 0x10006638
mov dword [eax], 0xb
mov eax, dword [0x10131d0c]
add eax, 4
mov dword [0x10131d0c], eax
jmp 0x1000664d
lea edx, [esp + 0x14]
mov ecx, 0x10131d08
push edx
push eax
call fcn.10007150
mov eax, dword [0x10131d0c]
cmp dword [0x10131d08], eax
je 0x10006bf3
mov ecx, ebx
call fcn.10005a70
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edx, dword [0x10132a40]
mov dword [esp + 0x50], esi
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10133564]
cmp ecx, dword [edx + 4]
jle 0x100066cc
push 0x10133564
call fcn.100d6f44
add esp, 4
cmp dword [0x10133564], 0xffffffff
jne 0x100066cc
mov ecx, dword [0x10132a78]
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 + 0x14], ecx
mov ecx, eax
call dword [esp + 0x14]
push 0x10133564
fstp dword [0x10133560]
call fcn.100d6ef3
add esp, 4
test esi, esi
je 0x10006bf3
mov ecx, dword [0x10132ac8]
lea eax, [esp + 0x84]
push eax
call fcn.10004950
mov eax, dword [0x10131d08]
xorps xmm2, xmm2
mov ecx, dword [0x10131d0c]
xorps xmm1, xmm1
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
mov dword [esp + 0x38], ecx
cmp eax, ecx
je 0x10006a01
nop dword [eax + eax]
cmp byte [0x10132abc], 0
mov ebx, dword [eax]
mov dword [esp + 0x5c], ebx
je 0x100069ca
cmp byte [0x10132ab4], 0
je 0x100069ca
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov dword [esp + 0x18], 8
mov eax, dword [eax + 0x28]
call eax
mov dword [esp + 0x54], eax
mov ecx, 0x10132eec
lea eax, [esp + 0x54]
push eax
call fcn.10006c10
mov edx, dword [esi + 4]
lea ecx, [esi + 4]
mov edi, eax
mov edx, dword [edx + 0x20]
call edx
mov ecx, dword [0x10132aa0]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100067a0
cmp dword [eax + 0xac], 0
jl 0x100067a7
mov edx, dword [eax + 0xb0]
add edx, eax
je 0x100067a7
mov eax, dword [edx + 8]
mov ecx, ebx
shl ecx, 4
add ecx, ebx
lea eax, [eax + ecx*4]
add eax, edx
je 0x100067a7
mov ecx, dword [eax]
jmp 0x100067ab
mov ecx, 8
jmp 0x100067ab
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x10]
or ebx, 0xffffffff
movss xmm0, dword [0x1012c9d0]
sub eax, 2
xor esi, esi
movss dword [esp + 0x48], xmm0
test eax, eax
jle 0x100069b9
lea edx, [ecx + ecx*2]
shl edx, 4
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add ecx, esi
dec eax
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x10132ac8]
movss xmm0, dword [eax + edx + 0x24]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + edx + 0x34]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + edx + 0x44]
lea eax, [esp + 0xac]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.10004950
movq xmm0, qword [eax]
movq qword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, dword [esp + 0x30]
fstp dword [esp + 0x1c]
movss xmm2, dword [esp + 0x1c]
mulss xmm2, xmm2
movss dword [esp + 0x30], xmm0
fld dword [esp + 0x30]
fstp dword [esp + 0x1c]
movss xmm1, dword [esp + 0x1c]
mulss xmm1, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm2, xmm1
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x58]
sqrtss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
fld dword [esp + 0x1c]
fstp dword [esp + 0x1c]
divss xmm0, dword [esp + 0x1c]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
mulss xmm0, dword [0x1012c93c]
mov eax, dword [esp + 0x2c]
subss xmm0, dword [eax + 0xc]
movss dword [esp + 0x20], 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
mov eax, dword [esp + 0x2c]
movaps xmm1, xmm0
mulss xmm1, dword [0x1012c93c]
mov dword [esp + 0x28], 0
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x1012c718]
subss xmm1, dword [eax + 0x10]
movss dword [esp + 0x24], xmm1
jb 0x1000691a
addss xmm1, dword [0x1012c96c]
movss dword [esp + 0x24], xmm1
lea ecx, [esp + 0x20]
call fcn.1007af90
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x24]
mulss xmm1, xmm1
mov dword [esp + 0x90], 0
mulss xmm0, xmm0
addss xmm1, xmm0
movss dword [esp + 0x34], xmm1
sqrtss xmm0, dword [esp + 0x34]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x90]
movss xmm1, dword [esp + 0x48]
comiss xmm1, xmm0
jbe 0x10006977
movss dword [esp + 0x48], xmm0
mov ebx, esi
mov eax, dword [edi + 0x10]
inc esi
mov edx, dword [esp + 0x4c]
sub eax, 2
cmp esi, eax
jl 0x100067d6
cmp ebx, 0xffffffff
je 0x100069b9
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add ecx, ebx
mov esi, dword [esp + 0x50]
dec eax
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, edx
movss xmm0, dword [eax + ecx + 0x34]
movss xmm2, dword [eax + ecx + 0x44]
add eax, 0x24
add eax, ecx
jmp 0x100069e4
push dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0xbc]
jmp 0x100069d2
push ebx
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call fcn.10004bc0
movss xmm2, dword [eax + 8]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax]
mov eax, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x38]
jne 0x10006710
mov ebx, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x84]
subss xmm3, xmm1
movss xmm1, dword [esp + 0x88]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x8c]
subss xmm0, xmm2
movss dword [esp + 0x14], xmm3
movaps xmm2, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm1, 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 [0x1012c93c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x38]
divss xmm0, dword [esp + 0x14]
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movaps xmm1, xmm0
mov dword [esp + 0x28], 0
mulss xmm1, dword [0x1012c93c]
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x1012c718]
movss dword [esp + 0x24], xmm1
jb 0x10006aab
addss xmm1, dword [0x1012c96c]
movss dword [esp + 0x24], xmm1
lea ecx, [esp + 0x20]
call fcn.1007aea0
movss xmm0, dword [ebx + 0xc]
lea edi, [ebx + 0xc]
subss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x28]
movss dword [esp + 0x44], xmm0
call fcn.1007aea0
movss xmm0, dword [edi]
lea ecx, [esp + 0x20]
subss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x40]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x28], xmm0
call fcn.1007aea0
cmp byte [esp + 0x63], 0
je 0x10006bbe
mov eax, dword [0x10132ac0]
mov ebx, dword [0x10132ac8]
test eax, eax
jne 0x10006b76
mov edx, 0xe80c2f78
mov ecx, 0x101114b1
call fcn.10004930
mov edx, 0xc10bf213
mov ecx, 0x101113e5
mov esi, eax
call fcn.10004930
mov edx, esi
mov ecx, eax
call fcn.1007b050
mov dword [0x10132ac0], eax
movss xmm2, dword [0x10133560]
movss xmm3, dword [esp + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [ebx + eax]
movss xmm1, dword [esp + 0x24]
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebx + eax + 4]
mulss xmm2, dword [ebx + eax + 8]
subss xmm1, xmm0
movss dword [edi], xmm3
movss xmm0, dword [esp + 0x28]
subss xmm0, xmm2
movss dword [edi + 4], xmm1
jmp 0x10006bd9
movss xmm0, dword [esp + 0x20]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x28]
cmp byte [esp + 0x62], 0
movss dword [edi + 8], xmm0
jne 0x10006bf3
mov ecx, dword [0x10132a7c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret