Function at 0x1003b210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x38
mov eax, dword [0x10187080]
xor eax, esp
mov dword [esp + 0x34], eax
cmp byte [0x1018b0ba], 0
push esi
push edi
push dword [0x1018b300]
je 0x1003bb67
call fcn.1003ce80
add esp, 4
test al, al
jne 0x1003b33c
mov edx, 0x1018b300
mov byte [0x1018b0b0], al
mov byte [0x1018b066], al
call fcn.1003cd40
push dword [0x1018b300]
mov cl, 1
call fcn.1002b110
add esp, 4
push dword [0x1018b300]
call fcn.1003d1c0
add esp, 4
mov edx, 1
mov ecx, edx
call fcn.1003dd20
mov dword [esp + 0x1c], 0
call fcn.10027530
mov ecx, eax
call fcn.10041420
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.100414c0
movss xmm3, dword [0x1017e430]
lea eax, [esp + 0x2c]
movss xmm2, dword [0x1017e488]
lea edx, [esp + 0x28]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
xorps xmm1, xmm1
call fcn.10028810
push dword [0x1018b300]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
call fcn.1002b260
add esp, 0xc
mov dword [esp + 0x1c], 0
call fcn.10027530
mov ecx, eax
call fcn.10041420
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.100414c0
push dword [esp + 0x1c]
push dword [0x1018b300]
call fcn.1002d9c0
push dword [0x1018b300]
call fcn.1002dd90
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004ecf8
mov esp, ebp
pop ebp
ret
cmp byte [0x1018806c], 0
je 0x1003b582
movss xmm0, dword [0x10188ea4]
lea eax, [esp + 0x30]
cvtps2pd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
push str._.2f_FOV
push 0xc
push eax
call fcn.100012c0
mov cl, byte [0x1018b226]
add esp, 0x14
test cl, cl
je 0x1003b383
mov al, byte [0x1018b217]
test al, al
je 0x1003b400
xor ecx, ecx
call fcn.10034980
sub esp, 0xc
call fcn.10034800
call fcn.100348c0
add esp, 0xc
or dl, 0xff
or cl, 0xff
push 0xff
push 0xff
call fcn.10034730
movss xmm1, dword [0x1017e38c]
add esp, 8
movss xmm0, dword [0x1017e32c]
call fcn.100345f0
xor cl, cl
call fcn.10034690
mov cl, 1
call fcn.10034a20
movss xmm1, dword [0x1017e2bc]
lea edx, [esp + 0x30]
movss xmm0, dword [0x1017e3b4]
call fcn.10034540
xor cl, cl
call fcn.10034a20
mov cl, byte [0x1018b226]
mov al, byte [0x1018b217]
test cl, cl
je 0x1003b408
test al, al
je 0x1003b481
xor ecx, ecx
call fcn.10034980
sub esp, 0xc
call fcn.10034800
call fcn.100348c0
add esp, 0xc
or dl, 0xff
or cl, 0xff
push 0xff
push 0xff
call fcn.10034730
movss xmm1, dword [0x1017e3dc]
add esp, 8
movss xmm0, dword [0x1017e354]
call fcn.100345f0
xor cl, cl
call fcn.10034690
mov cl, 1
call fcn.10034a20
movss xmm0, dword [0x1017e3b4]
mov edx, 0x10172c64
movaps xmm1, xmm0
call fcn.10034540
xor cl, cl
call fcn.10034a20
mov cl, byte [0x1018b226]
mov al, byte [0x1018b217]
test cl, cl
je 0x1003b489
test al, al
je 0x1003b507
xor ecx, ecx
call fcn.10034980
sub esp, 0xc
call fcn.10034800
call fcn.100348c0
add esp, 0xc
or dl, 0xff
or cl, 0xff
push 0xff
push 0xff
call fcn.10034730
movss xmm1, dword [0x1017e38c]
add esp, 8
movss xmm0, dword [0x1017e32c]
call fcn.100345f0
xor cl, cl
call fcn.10034690
mov cl, 1
call fcn.10034a20
movss xmm1, dword [0x1017e444]
mov edx, str.sToggle_HUD:_bHs___Reset_camera:_bRCTRLs___Adjust_height:_bQs_bEs
movss xmm0, dword [0x1017e344]
call fcn.10034540
xor cl, cl
call fcn.10034a20
mov cl, byte [0x1018b226]
mov al, byte [0x1018b217]
test cl, cl
je 0x1003b50f
test al, al
je 0x1003b582
xor ecx, ecx
call fcn.10034980
sub esp, 0xc
call fcn.10034800
call fcn.100348c0
add esp, 0xc
or dl, 0xff
or cl, 0xff
push 0xff
push 0xff
call fcn.10034730
movss xmm1, dword [0x1017e38c]
add esp, 8
movss xmm0, dword [0x1017e32c]
call fcn.100345f0
xor cl, cl
call fcn.10034690
mov cl, 1
call fcn.10034a20
movss xmm1, dword [0x1017e44c]
mov edx, str.sMove_camera:_bWs_bS___sRotate_camera:_yHold_bleft_click___sFOV:_bmouse_wheel
movss xmm0, dword [0x1017e344]
call fcn.10034540
xor cl, cl
call fcn.10034a20
call fcn.10027530
xor dl, dl
mov ecx, eax
call fcn.10027700
push dword [0x1018b300]
movss xmm1, dword [0x10188ea4]
call fcn.1003d120
add esp, 4
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
call fcn.10034e80
mov eax, dword [esp + 0x20]
movss xmm2, dword [0x1017e468]
test eax, eax
jle 0x1003b5f8
movss xmm0, dword [0x10188ea4]
comiss xmm0, dword [0x1017e4f4]
jb 0x1003b5ea
movss xmm0, dword [0x1017e4cc]
movss dword [0x10188ea4], xmm0
jmp 0x1003b627
addss xmm0, xmm2
movss dword [0x10188ea4], xmm0
jmp 0x1003b627
jns 0x1003b627
movss xmm0, dword [0x1017e4cc]
movss xmm1, dword [0x10188ea4]
comiss xmm0, xmm1
jb 0x1003b61b
mov dword [0x10188ea4], 0x432a0000
jmp 0x1003b627
subss xmm1, xmm2
movss dword [0x10188ea4], xmm1
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
test ax, ax
jns 0x1003b6ab
lea ecx, [esp + 0x1c]
mov byte [0x1018ae6b], 0
mov dword [esp + 0x1c], 0
call fcn.1002b1c0
push dword [esp + 0x1c]
mov cl, 1
call fcn.1002b110
add esp, 4
lea eax, [esp + 0x2c]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push dword [esp + 0x20]
call fcn.1003cfd0
push dword [0x1018b300]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
call fcn.1002b310
movq xmm0, qword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x2c]
movq qword [0x1018b09c], xmm0
mov dword [0x1018b0a4], eax
jmp 0x1003b6b2
mov byte [0x1018ae6b], 1
push 0x48
call edi
test ax, ax
mov al, byte [0x1018aef8]
jns 0x1003b6f4
test al, al
jne 0x1003b6f4
cmp byte [0x1018806c], al
mov word [0x1018aef8], 1
sete cl
mov byte [0x1018806c], cl
mov byte [0x1018806d], cl
call fcn.1002c000
mov cl, byte [0x1018806c]
call fcn.1002c0a0
jmp 0x1003b70a
cmp al, 1
jne 0x1003b70a
push 0x48
call edi
test ax, ax
js 0x1003b70a
mov word [0x1018aef8], 0x100
push 0x57
call edi
test ax, ax
jns 0x1003b83e
mov esi, dword [0x1018b300]
push esi
mov byte [0x1018af17], 0
mov dword [0x1018b094], 0
mov dword [0x1018b090], 0
mov dword [0x1018b08c], 0
call fcn.1003d080
add esp, 4
test al, al
je 0x1003b813
lea eax, [esp + 0x2c]
push eax
push esi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
call fcn.1003cfd0
lea eax, [esp + 0x40]
push eax
push esi
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
call fcn.1003cf20
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
call fcn.1003d760
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.1003d620
mulss xmm0, dword [0x1017e2d0]
movss xmm1, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x1c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [0x1018b08c], xmm1
call fcn.1003d620
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.1003d620
mulss xmm0, dword [0x1017e2d0]
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x34]
movss dword [0x1018b090], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.1003d760
mulss xmm0, dword [0x1017e2d0]
addss xmm0, dword [esp + 0x38]
movss dword [0x1018b094], xmm0
jmp 0x1003b81b
movss xmm0, dword [0x1018b094]
push dword [0x1018b300]
movss xmm2, dword [0x1018b090]
movaps xmm3, xmm0
movss xmm1, dword [0x1018b08c]
call fcn.1002b260
add esp, 4
jmp 0x1003b845
mov byte [0x1018af17], 1
push 0x53
call edi
test ax, ax
jns 0x1003b97e
mov esi, dword [0x1018b300]
push esi
mov byte [0x1018af0f], 0
mov dword [0x1018b094], 0
mov dword [0x1018b090], 0
mov dword [0x1018b08c], 0
call fcn.1003d080
add esp, 4
test al, al
je 0x1003b956
lea eax, [esp + 0x2c]
push eax
push esi
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
call fcn.1003cfd0
lea eax, [esp + 0x40]
push eax
push esi
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
call fcn.1003cf20
movss xmm0, dword [esp + 0x3c]
add esp, 0x10
call fcn.1003d760
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.1003d620
mulss xmm0, dword [0x1017e538]
movss xmm1, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x1c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [0x1018b08c], xmm1
call fcn.1003d620
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x24]
call fcn.1003d620
mulss xmm0, dword [0x1017e2d0]
movss xmm1, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x1c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [0x1018b090], xmm1
call fcn.1003d760
mulss xmm0, dword [0x1017e2d0]
movss xmm3, dword [esp + 0x38]
subss xmm3, xmm0
movss dword [0x1018b094], xmm3
jmp 0x1003b95e
movss xmm3, dword [0x1018b094]
push dword [0x1018b300]
movss xmm2, dword [0x1018b090]
movss xmm1, dword [0x1018b08c]
call fcn.1002b260
add esp, 4
jmp 0x1003b985
mov byte [0x1018af0f], 1
push 0x51
call edi
test ax, ax
jns 0x1003b9cd
movss xmm3, dword [0x1018b094]
addss xmm3, dword [0x1017e468]
push dword [0x1018b300]
movss xmm2, dword [0x1018b090]
movss xmm1, dword [0x1018b08c]
mov byte [0x1018af0b], 0
movss dword [0x1018b094], xmm3
call fcn.1002b260
add esp, 4
jmp 0x1003b9d4
mov byte [0x1018af0b], 1
push 0x45
call edi
test ax, ax
jns 0x1003ba1c
movss xmm3, dword [0x1018b094]
subss xmm3, dword [0x1017e468]
push dword [0x1018b300]
movss xmm2, dword [0x1018b090]
movss xmm1, dword [0x1018b08c]
mov byte [0x1018aef3], 0
movss dword [0x1018b094], xmm3
call fcn.1002b260
add esp, 4
jmp 0x1003ba23
mov byte [0x1018aef3], 1
push 0xa3
call edi
test ax, ax
mov al, byte [0x1018afae]
jns 0x1003bb3d
test al, al
jne 0x1003bb3d
mov word [0x1018afae], 1
mov dword [0x10188ea4], 0x42480000
mov dword [0x1018b09c], 0
mov dword [0x1018b0a0], 0
mov dword [0x1018b0a4], 0
mov dword [esp + 0x1c], 0
call fcn.10027530
mov ecx, eax
call fcn.10041420
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.100414c0
movss xmm3, dword [0x1017e430]
lea eax, [esp + 0x2c]
movss xmm2, dword [0x1017e488]
lea edx, [esp + 0x28]
push eax
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
xorps xmm1, xmm1
call fcn.10028810
movq xmm0, qword [esp + 0x2c]
mov eax, dword [esp + 0x34]
push dword [0x1018b300]
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x30]
movq qword [0x1018b08c], xmm0
mov dword [0x1018b094], eax
call fcn.1002b260
movss xmm1, dword [0x10188ea4]
add esp, 0xc
push dword [0x1018b300]
call fcn.1003d120
movss xmm3, dword [0x1018b0a4]
add esp, 4
movss xmm2, dword [0x1018b0a0]
movss xmm1, dword [0x1018b09c]
push dword [0x1018b300]
call fcn.1002b310
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004ecf8
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x1003bb98
push 0xa3
call edi
test ax, ax
js 0x1003bb98
mov word [0x1018afae], 0x100
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1004ecf8
mov esp, ebp
pop ebp
ret
call fcn.1003ce80
add esp, 4
test al, al
je 0x1003bb98
push dword [0x1018b300]
call fcn.1003cde0
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.1003dd20
call fcn.10027530
mov dl, 1
mov ecx, eax
call fcn.10027700
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.1004ecf8
mov esp, ebp
pop ebp
ret