Function at 0x140038660
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.1400053c0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140031270
test al, al
je 0x140038ba2
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x29]
lea rdx, str._n00W
lea rcx, [rbp - 0x20]
call fcn.1400053c0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140037090
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x24c
jb 0x140038725
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x24c
mov r8d, 0x498
lea rdx, [0x1400c8f30]
mov rcx, rbx
call fcn.14009f5a0
mov word [rbx + 0x498], r14w
jmp 0x140038736
lea r9, [0x1400c8f30]
mov edx, 0x24c
call fcn.140021260
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x2e8
jb 0x140038771
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x2e8
mov r8d, 0x5d0
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Jetpack_Energy_nNum_4___Infinite_Ammo_Grenades_Note__when_using_energy_weapons__this_option_will_make_energy_weapons_fire_indefinitely_until_you_change_weapon._nNum_5___Instant_Energy_Weapon_Charge_nNum_6___Instant_Reload_nNum_7___Rapid_Fire_nNum_8___No_Recoil_Works_for_energy_weapons_and_fencer_weapons__but_doesnt_work_for_some_weapons__such_as_sniper_rifle._nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Set_Pick_Up_Range_nCtrlNum_2___Set_Movement_Speed_Only_affects_regular_movement_speed__doesnt_affect_sprint_speed._nCtrlNum_3___Set_Jump_Height_nCtrlNum_4___Infinite_Jumps__Fencer__n_n
mov rcx, rbx
call fcn.14009f5a0
mov word [rbx + 0x5d0], r14w
jmp 0x140038782
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Jetpack_Energy_nNum_4___Infinite_Ammo_Grenades_Note__when_using_energy_weapons__this_option_will_make_energy_weapons_fire_indefinitely_until_you_change_weapon._nNum_5___Instant_Energy_Weapon_Charge_nNum_6___Instant_Reload_nNum_7___Rapid_Fire_nNum_8___No_Recoil_Works_for_energy_weapons_and_fencer_weapons__but_doesnt_work_for_some_weapons__such_as_sniper_rifle._nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Set_Pick_Up_Range_nCtrlNum_2___Set_Movement_Speed_Only_affects_regular_movement_speed__doesnt_affect_sprint_speed._nCtrlNum_3___Set_Jump_Height_nCtrlNum_4___Infinite_Jumps__Fencer__n_n
mov edx, 0x2e8
call fcn.140021260
mov rcx, rdi
call fcn.140035d20
mov rcx, rdi
call fcn.140036010
lea r15, [0x1400e0250]
mov esi, dword [0x1400dfc28]
test esi, esi
je 0x14003884e
mov ebx, dword [0x1400dfc2c]
test ebx, ebx
je 0x14003884e
mov rcx, r15
call fcn.140076ec8
test eax, eax
jne 0x140038bb6
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038bc1
mov dword [rbp + 0x40], 9
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], esi
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x40], ebx
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.140076ed0
mov rcx, rdi
call fcn.140038c30
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140042420
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140038922
mov rcx, r15
call fcn.140076ec8
test eax, eax
jne 0x140038bb6
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038bc1
mov dword [rbp + 0x40], 3
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.140076ed0
mov rcx, r15
call fcn.140076ec8
test eax, eax
jne 0x140038bb6
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038bc1
mov dword [rbp + 0x40], 5
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x140035a00]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call fcn.140076ed0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004fa50
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140076ec8
test eax, eax
jne 0x140038bb6
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140038bc1
mov dword [rbp + 0x40], 4
mov dword [rbp + 0x38], r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x38]
mov r8d, 4
lea rdx, [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x458]
lea rcx, [rbp - 0x20]
call fcn.14001e410
mov rdx, rax
mov rcx, rdi
call fcn.140031660
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e410
mov rdx, rax
mov rcx, rdi
call fcn.140031660
nop
mov rcx, r15
call fcn.140076ed0
mov ecx, 8
call fcn.140077e74
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003dbb0]
xor edx, edx
xor ecx, ecx
call fcn.14008a9b4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038c19
cmp dword [rbp - 0x28], 0
je 0x140038c0e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400771b0
test eax, eax
jne 0x140038c0e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140077e74
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003dbe0]
xor edx, edx
xor ecx, ecx
call fcn.14008a9b4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038bff
cmp dword [rbp - 0x28], 0
je 0x140038bf4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400771b0
test eax, eax
jne 0x140038bf4
call fcn.140034940
mov ecx, 8
call fcn.140077e74
mov qword [rax], rdi
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14003da20]
xor edx, edx
xor ecx, ecx
call fcn.14008a9b4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140038be5
cmp dword [rbp - 0x38], 0
je 0x140038bda
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400771b0
test eax, eax
jne 0x140038bda
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x140038b9c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400356d0
cmp byte [rdi + 0x4b9], 0
je 0x140038b80
cmp dword [rbp - 0x38], 0
jne 0x140038bd4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140076e18
int3
dec eax
mov dword [0x1400e029c], eax
mov ecx, 6
call fcn.140076e18
int3
call fcn.14008a850
nop
mov ecx, 1
call fcn.140076e18
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140076e18
nop
mov ecx, 1
call fcn.140076e18
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076e18
nop
mov ecx, 1
call fcn.140076e18
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076e18
int3