Function at 0x14005a670
Capabilities:
Check if file exists
Get file attributes
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140070010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140070055], 1
jne 0x14005aefa
mov rcx, qword [0x140070988]
mov eax, dword [rcx + 0x40f0]
or eax, 2
mov dword [rcx + 0x40f0], eax
movsd xmm0, qword [0x140070060]
movsd qword [rcx + 0x4114], xmm0
mov dword [rcx + 0x40f8], 2
or eax, 0x40
mov dword [rcx + 0x40f0], eax
mov dword [rcx + 0x4150], 0x3f800000
mov r8d, 2
lea rdx, [0x140070055]
lea rcx, str.SunstrikeColorTrigger
call fcn.14001d660
cmp byte [0x140070054], 0
je 0x14005a829
lea rcx, str.Enter_Key:
call fcn.14004c690
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x40], 0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [0x1400655d0]
call fcn.140052180
test al, al
je 0x14005aef5
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x14005a7b0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140001c00
mov rdx, qword [0x140070080]
cmp rdx, 0x10
jb 0x14005a805
inc rdx
mov rcx, qword [0x140070068]
cmp rdx, 0x1000
jb 0x14005a800
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005a822
mov rcx, r8
call fcn.14005cddc
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x140070068], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [0x140070078], xmm1
jmp 0x14005aef5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp byte [0x140070974], 0
je 0x14005a858
call fcn.14005a280
test al, al
je 0x14005a847
mov byte [0x140070974], 0
jmp 0x14005aef5
lea rcx, str.Run_Client_Mode
call fcn.14004c690
jmp 0x14005aef5
cmp byte [0x140070976], 0
je 0x14005a98c
call fcn.14005a280
movzx edx, al
lea rax, str.cstrike_customjjfiles
add rdx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x14005a890
lea rcx, [rsp + 0x48]
call fcn.140001c00
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov rdx, qword [rsp + 0x60]
cmp eax, 0xffffffff
jne 0x14005a90e
cmp rdx, 0x10
jb 0x14005a8fd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a8f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a985
call fcn.14005cddc
lea rcx, str.Install_Custom_Models
call fcn.14004c690
jmp 0x14005aef5
test al, 0x10
je 0x14005a952
cmp rdx, 0x10
jb 0x14005a946
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a985
call fcn.14005cddc
mov byte [0x140070976], 0
jmp 0x14005aef5
cmp rdx, 0x10
jb 0x14005a8fd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a8f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a8f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rbx, qword [0x140070988]
mov rax, qword [rbx + 0x3fe0]
movss xmm7, dword [rax + 0x50]
movss xmm8, dword [rax + 0x54]
mov dword [rsp + 0x48], 0x15
movups xmm0, xmmword [rbx + 0x3b20]
movups xmmword [rsp + 0x4c], xmm0
lea rcx, [rbx + 0x4180]
lea rdx, [rsp + 0x48]
call fcn.140034d10
mov qword [rbx + 0x3b20], 0x3f400000
xor edi, edi
mov dword [rbx + 0x3b28], edi
mov dword [rbx + 0x3b2c], 0x3f800000
movaps xmm6, xmm7
divss xmm6, dword [0x140066370]
movss dword [rsp + 0x40], xmm6
mov dword [rsp + 0x44], edi
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Game
call fcn.14004cf40
test al, al
je 0x14005aa1a
mov dword [0x140070ae0], edi
movss xmm9, dword [0x1400663fc]
movaps xmm1, xmm9
xorps xmm0, xmm0
call fcn.140021ce0
movss dword [rsp + 0x40], xmm6
mov dword [rsp + 0x44], edi
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Trigger
call fcn.14004cf40
test al, al
je 0x14005aa5b
mov dword [0x140070ae0], 1
movaps xmm1, xmm9
xorps xmm0, xmm0
call fcn.140021ce0
movss dword [rsp + 0x40], xmm6
mov dword [rsp + 0x44], edi
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Other
call fcn.14004cf40
test al, al
je 0x14005aa93
mov dword [0x140070ae0], 2
mov rbx, qword [0x140070988]
movsxd rax, dword [rbx + 0x4180]
lea rdx, [rax + rax*4]
mov rcx, qword [rbx + 0x4188]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x39d
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [rbx + rax*8], xmm0
dec dword [rbx + 0x4180]
movss dword [rsp + 0x40], xmm7
movss dword [rsp + 0x44], xmm8
mov rax, qword [rbx + 0x3fe0]
mov byte [rax + 0xcd], 1
mov rax, qword [rbx + 0x3fe0]
movsxd r8, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
lea rcx, [0x1400655d0]
call fcn.1400117f0
mov esi, eax
cmp dword [rbx + 0x401c], eax
jne 0x14005ab29
lea r8, [0x1400655d0]
mov edx, 0xb
mov ecx, eax
call fcn.140034280
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, esi
lea rcx, [0x1400655d0]
call fcn.14001a2c0
test al, al
je 0x14005ae98
mov eax, dword [0x140070ae0]
test eax, eax
jne 0x14005ab8c
call fcn.140050020
test al, al
je 0x14005ab80
mov eax, dword [0x140070058]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140070a38], eax
mov eax, dword [0x14007005c]
cdq
sub eax, edx
sar eax, 1
mov dword [0x140070a3c], eax
lea rcx, str.Weight__Height
jmp 0x14005aeeb
cmp eax, 1
jne 0x14005aef0
call fcn.14004e580
lea rax, str.Trigger_enabled
lea rcx, str.Trigger_disabled
cmp byte [0x140070972], dil
cmovne rcx, rax
call fcn.14004c690
lea rcx, str.Trigger:
call fcn.14004c690
movaps xmm1, xmm9
xorps xmm0, xmm0
call fcn.140021ce0
mov edx, dword [str._MT]
lea rcx, [rsp + 0x48]
call fcn.1400014e0
nop
mov qword [rsp + 0x40], 0
cmp qword [rax + 0x18], 0x10
jb 0x14005abf4
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004cf40
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14005ac47
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ac42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ac42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cddc
test bl, bl
je 0x14005ac76
nop dword [rax + rax]
mov ebx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14005ac6b
inc ebx
cmp ebx, 0xfe
jl 0x14005ac52
jmp 0x14005ac50
cmp ebx, 2
jl 0x14005ac50
mov dword [str._MT], ebx
mov qword [rsp + 0x40], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Change_Team
call fcn.14004cf40
test al, al
je 0x14005aca9
cmp byte [0x140070971], 0
sete al
mov byte [0x140070971], al
jmp 0x14005acb0
movzx eax, byte [0x140070971]
lea rdx, str.Team:_Terrorists
lea rcx, str.Team:_Counter_Terrorists
test al, al
cmovne rcx, rdx
call fcn.14004c690
lea rcx, str.Trigger_Team:
call fcn.14004c690
movaps xmm1, xmm9
xorps xmm0, xmm0
call fcn.140021ce0
mov edx, dword [0x140070050]
lea rcx, [rsp + 0x48]
call fcn.1400014e0
nop
mov qword [rsp + 0x40], 0
cmp qword [rax + 0x18], 0x10
jb 0x14005ad05
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004cf40
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14005ad58
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ad53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cddc
test bl, bl
je 0x14005ad86
nop dword [rax]
mov ebx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14005ad7b
inc ebx
cmp ebx, 0xfe
jl 0x14005ad62
jmp 0x14005ad60
cmp ebx, 2
jl 0x14005ad60
mov dword [0x140070050], ebx
mov qword [rsp + 0x40], 0
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Change_Mode
call fcn.14004cf40
test al, al
je 0x14005adb9
cmp byte [0x140070970], 0
sete al
mov byte [0x140070970], al
jmp 0x14005adc0
movzx eax, byte [0x140070970]
lea rdx, str.Mode:_Single
lea rcx, str.Mode:_Clamp
test al, al
cmovne rcx, rdx
call fcn.14004c690
lea rcx, str.Trigger_Mode:
call fcn.14004c690
movaps xmm1, xmm9
xorps xmm0, xmm0
call fcn.140021ce0
mov edx, dword [0x14007004c]
lea rcx, [rsp + 0x48]
call fcn.1400014e0
nop
mov qword [rsp + 0x40], 0
cmp qword [rax + 0x18], 0x10
jb 0x14005ae15
mov rax, qword [rax]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004cf40
movzx ebx, al
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14005ae68
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ae63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ae63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005cddc
test bl, bl
je 0x14005aef0
mov ebx, edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14005ae8b
inc ebx
cmp ebx, 0xfe
jl 0x14005ae72
jmp 0x14005ae70
cmp ebx, 2
jl 0x14005ae70
mov dword [0x14007004c], ebx
jmp 0x14005aef0
cmp dword [0x140070ae0], 3
jne 0x14005aef0
mov qword [rsp + 0x40], rdi
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, str.Change_Language
call fcn.14004cf40
test al, al
je 0x14005aed0
cmp byte [0x140070975], dil
sete al
mov byte [0x140070975], al
jmp 0x14005aed7
movzx eax, byte [0x140070975]
lea rdx, str.Lang:_Russian
lea rcx, str.Lang:_English
test al, al
cmovne rcx, rdx
call fcn.14004c690
call fcn.14001a4f0
call fcn.1400203c0
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14005cb30
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret