Function at 0x14005af40
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.140005c30
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140053b50
test al, al
je 0x14005b482
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x24]
lea rdx, str._n0upB
lea rcx, [rbp - 0x20]
call fcn.140005c30
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140059970
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x69b
jb 0x14005b005
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x69b
mov r8d, 0xd36
lea rdx, [0x1401171f0]
mov rcx, rbx
call fcn.1400ca750
mov word [rbx + 0xd36], r14w
jmp 0x14005b016
lea r9, [0x1401171f0]
mov edx, 0x69b
call fcn.140021ae0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x70a
jb 0x14005b051
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x70a
mov r8d, 0xe14
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Infinite_Resilience_nNum_5___Infinite_Breath_nNum_6___Max_Mask_Energy_nNum_7___Max_Morale_nNum_8___Max_Satiety_nNum_9___Max_Hydration_nNum_0___Stealth_Mode_Activate_before_detected_by_enemies._n_nF1___One_Hit_Stun_nF2___Resilience_Damage_Multiplier_nF3___One_Hit_Kills_nF4___Damage_Multiplier_Note__damage_wont_exceed_enemys_remaining_health._nF5___Defense_Multiplier_n_nCtrlNum_1___Edit_Dragged_Item_Amount_Activate__then_drag_an_item_to_a_different_slot__its_amount_will_be_changed._nCtrlNum_2___Item_Pickup_Multiplier_nCtrlNum_3___Zero_Weight_Takes_effect_when_weight_value_updates._nCtrlNum_4___Infinite_Equipment_Durability_Takes_effect_when_equipment_durability_decreases._nCtrlNum_5___Set_Game_Speed_nCtrlNum_6___Set_Player_Speed_nCtrlNum_7___Set_Movement_Speed_nCtrlNum_8___Set_Jump_Height_n_nShiftF1___Edit_Coma_Protection_nShiftF2___Edit_Paralysis_Protection_nShiftF3___Edit_Bleed_Protection_nShiftF4___Edit_Poison_nShiftF5___Edit_Radiation_nShiftF6___Edit_Mood_n_nAltNum_1___Infinite_Exp_Takes_effect_when_exp_increases._nAltNum_2___Exp_Multiplier_nAltNum_3___Infinite_Mask_Exp_Takes_effect_when_mask_exp_increases._nAltNum_4___Mask_Exp_Multiplier_nAltNum_5___Max_Proficiency_Takes_effect_when_proficiency_increases._nAltNum_6___Proficiency_Multiplier_nAltNum_7___Edit_Attribute_Points_Takes_effect_when_opening_the_character_menu._nAltNum_8___Edit_Tech_Points_Note__this_option_edits_total_tech_points__the_display_value_is_remaining_tech_points._nAltNum_9___Freeze_Daytime_nAltNum_0___Time_Pass_Speed_n_nAltNum_.___Save_Location_nAltNum_____Teleport_Saved_Location_nAltNum____Teleport_To_Waypoint_Location_Note__if_youve_set_multiple_waypoints_marks__you_will_be_teleported_to_one_of_them._n_n
mov rcx, rbx
call fcn.1400ca750
mov word [rbx + 0xe14], r14w
jmp 0x14005b062
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Infinite_Resilience_nNum_5___Infinite_Breath_nNum_6___Max_Mask_Energy_nNum_7___Max_Morale_nNum_8___Max_Satiety_nNum_9___Max_Hydration_nNum_0___Stealth_Mode_Activate_before_detected_by_enemies._n_nF1___One_Hit_Stun_nF2___Resilience_Damage_Multiplier_nF3___One_Hit_Kills_nF4___Damage_Multiplier_Note__damage_wont_exceed_enemys_remaining_health._nF5___Defense_Multiplier_n_nCtrlNum_1___Edit_Dragged_Item_Amount_Activate__then_drag_an_item_to_a_different_slot__its_amount_will_be_changed._nCtrlNum_2___Item_Pickup_Multiplier_nCtrlNum_3___Zero_Weight_Takes_effect_when_weight_value_updates._nCtrlNum_4___Infinite_Equipment_Durability_Takes_effect_when_equipment_durability_decreases._nCtrlNum_5___Set_Game_Speed_nCtrlNum_6___Set_Player_Speed_nCtrlNum_7___Set_Movement_Speed_nCtrlNum_8___Set_Jump_Height_n_nShiftF1___Edit_Coma_Protection_nShiftF2___Edit_Paralysis_Protection_nShiftF3___Edit_Bleed_Protection_nShiftF4___Edit_Poison_nShiftF5___Edit_Radiation_nShiftF6___Edit_Mood_n_nAltNum_1___Infinite_Exp_Takes_effect_when_exp_increases._nAltNum_2___Exp_Multiplier_nAltNum_3___Infinite_Mask_Exp_Takes_effect_when_mask_exp_increases._nAltNum_4___Mask_Exp_Multiplier_nAltNum_5___Max_Proficiency_Takes_effect_when_proficiency_increases._nAltNum_6___Proficiency_Multiplier_nAltNum_7___Edit_Attribute_Points_Takes_effect_when_opening_the_character_menu._nAltNum_8___Edit_Tech_Points_Note__this_option_edits_total_tech_points__the_display_value_is_remaining_tech_points._nAltNum_9___Freeze_Daytime_nAltNum_0___Time_Pass_Speed_n_nAltNum_.___Save_Location_nAltNum_____Teleport_Saved_Location_nAltNum____Teleport_To_Waypoint_Location_Note__if_youve_set_multiple_waypoints_marks__you_will_be_teleported_to_one_of_them._n_n
mov edx, 0x70a
call fcn.140021ae0
mov rcx, rdi
call fcn.140058600
mov rcx, rdi
call fcn.1400588f0
lea r15, [0x140145c70]
mov esi, dword [0x1401453e4]
test esi, esi
je 0x14005b12e
mov ebx, dword [0x1401453e8]
test ebx, ebx
je 0x14005b12e
mov rcx, r15
call fcn.1400a0920
test eax, eax
jne 0x14005b496
mov eax, dword [0x140145cbc]
cmp eax, 0x7fffffff
je 0x14005b4a1
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.1400a0928
mov rcx, rdi
call fcn.14005b510
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400649e0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14005b202
mov rcx, r15
call fcn.1400a0920
test eax, eax
jne 0x14005b496
mov eax, dword [0x140145cbc]
cmp eax, 0x7fffffff
je 0x14005b4a1
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.1400a0928
mov rcx, r15
call fcn.1400a0920
test eax, eax
jne 0x14005b496
mov eax, dword [0x140145cbc]
cmp eax, 0x7fffffff
je 0x14005b4a1
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, [0x1400582e0]
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.1400a0928
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140071f90
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400a0920
test eax, eax
jne 0x14005b496
mov eax, dword [0x140145cbc]
cmp eax, 0x7fffffff
je 0x14005b4a1
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.14001ecf0
mov rdx, rax
mov rcx, rdi
call fcn.140053f40
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001ecf0
mov rdx, rax
mov rcx, rdi
call fcn.140053f40
nop
mov rcx, r15
call fcn.1400a0928
mov ecx, 8
call fcn.1400a19a4
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, [0x140060170]
xor edx, edx
xor ecx, ecx
call fcn.1400b59c4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005b4f9
cmp dword [rbp - 0x28], 0
je 0x14005b4ee
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0ce0
test eax, eax
jne 0x14005b4ee
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400a19a4
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, [0x1400601a0]
xor edx, edx
xor ecx, ecx
call fcn.1400b59c4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005b4df
cmp dword [rbp - 0x28], 0
je 0x14005b4d4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0ce0
test eax, eax
jne 0x14005b4d4
call fcn.140057220
mov ecx, 8
call fcn.1400a19a4
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, [0x14005ffe0]
xor edx, edx
xor ecx, ecx
call fcn.1400b59c4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14005b4c5
cmp dword [rbp - 0x38], 0
je 0x14005b4ba
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0ce0
test eax, eax
jne 0x14005b4ba
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x14005b47c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140057fb0
cmp byte [rdi + 0x4b9], 0
je 0x14005b460
cmp dword [rbp - 0x38], 0
jne 0x14005b4b4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400a0870
int3
dec eax
mov dword [0x140145cbc], eax
mov ecx, 6
call fcn.1400a0870
int3
call fcn.1400b5860
nop
mov ecx, 1
call fcn.1400a0870
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400a0870
nop
mov ecx, 1
call fcn.1400a0870
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a0870
nop
mov ecx, 1
call fcn.1400a0870
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a0870
int3