Function at 0x140058e40
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.140005890
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140051ae0
test al, al
je 0x140059382
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.140005890
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140057870
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x6b8
jb 0x140058f05
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x6b8
mov r8d, 0xd70
lea rdx, [0x140113070]
mov rcx, rbx
call fcn.1400c6a30
mov word [rbx + 0xd70], r14w
jmp 0x140058f16
lea r9, [0x140113070]
mov edx, 0x6b8
call fcn.140021480
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x6f8
jb 0x140058f51
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x6f8
mov r8d, 0xdf0
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_nNum_.___One_Hit_Stun_nNum____Resilience_Damage_Multiplier_nNum_____One_Hit_Kills_nNum_____Damage_Multiplier_Note__damage_wont_exceed_enemys_remaining_health._nNum____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___Edit_Weight_Capacity_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.1400c6a30
mov word [rbx + 0xdf0], r14w
jmp 0x140058f62
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_nNum_.___One_Hit_Stun_nNum____Resilience_Damage_Multiplier_nNum_____One_Hit_Kills_nNum_____Damage_Multiplier_Note__damage_wont_exceed_enemys_remaining_health._nNum____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___Edit_Weight_Capacity_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, 0x6f8
call fcn.140021480
mov rcx, rdi
call fcn.140056500
mov rcx, rdi
call fcn.1400567f0
lea r15, [0x14013faa0]
mov esi, dword [0x14013f298]
test esi, esi
je 0x14005902e
mov ebx, dword [0x14013f294]
test ebx, ebx
je 0x14005902e
mov rcx, r15
call fcn.14009cd10
test eax, eax
jne 0x140059396
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x1400593a1
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.14009cd18
mov rcx, rdi
call fcn.140059410
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400628e0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140059102
mov rcx, r15
call fcn.14009cd10
test eax, eax
jne 0x140059396
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x1400593a1
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.14009cd18
mov rcx, r15
call fcn.14009cd10
test eax, eax
jne 0x140059396
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x1400593a1
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, [0x1400561e0]
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.14009cd18
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14006ff90
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14009cd10
test eax, eax
jne 0x140059396
mov eax, dword [0x14013faec]
cmp eax, 0x7fffffff
je 0x1400593a1
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.14001e690
mov rdx, rax
mov rcx, rdi
call fcn.140051ed0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e690
mov rdx, rax
mov rcx, rdi
call fcn.140051ed0
nop
mov rcx, r15
call fcn.14009cd18
mov ecx, 8
call fcn.14009dd94
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, [0x14005e070]
xor edx, edx
xor ecx, ecx
call fcn.1400b1db4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400593f9
cmp dword [rbp - 0x28], 0
je 0x1400593ee
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d0d0
test eax, eax
jne 0x1400593ee
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14009dd94
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, [0x14005e0a0]
xor edx, edx
xor ecx, ecx
call fcn.1400b1db4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400593df
cmp dword [rbp - 0x28], 0
je 0x1400593d4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d0d0
test eax, eax
jne 0x1400593d4
call fcn.140055150
mov ecx, 8
call fcn.14009dd94
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, [0x14005dee0]
xor edx, edx
xor ecx, ecx
call fcn.1400b1db4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400593c5
cmp dword [rbp - 0x38], 0
je 0x1400593ba
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d0d0
test eax, eax
jne 0x1400593ba
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14005937c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140055ef0
cmp byte [rdi + 0x4b8], 0
je 0x140059360
cmp dword [rbp - 0x38], 0
jne 0x1400593b4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14009cc60
int3
dec eax
mov dword [0x14013faec], eax
mov ecx, 6
call fcn.14009cc60
int3
call fcn.1400b1c50
nop
mov ecx, 1
call fcn.14009cc60
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14009cc60
nop
mov ecx, 1
call fcn.14009cc60
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009cc60
nop
mov ecx, 1
call fcn.14009cc60
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009cc60
int3