Function at 0x1400580f0
Capabilities:
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.140005df0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140051ae0
test al, al
je 0x140058672
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x2c]
lea rdx, str._n0k
lea rcx, [rbp - 0x20]
call fcn.140005df0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140056ae0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 8], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, qword [str.6412265]
mov dword [rbp - 0x20], eax
movzx eax, word [0x140113a54]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x140113a56]
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140058040
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x466
jb 0x1400581f8
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x466
mov r8d, 0x8cc
lea rdx, [0x140113180]
mov rcx, rbx
call fcn.1400c7030
mov word [rbx + 0x8cc], r14w
jmp 0x140058209
lea r9, [0x140113180]
mov edx, 0x466
call fcn.1400219d0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x60e
jb 0x140058244
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x60e
mov r8d, 0xc1c
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_Note_this_does_not_work_for_environment_damages_such_as_fire__electrocution__poison__traps__etc._nNum_2___Infinite_Health_Takes_effect_when_you_receive_damage__your_health_will_restore_to_max._nNum_3___Infinite_Stamina_nNum_4___Infinite_Weapon_Durability_When_activated__weapon_durability_wont_decrease._nNum_5___Stealth_Mode_nNum_6___Set_Player_Speed_nNum_7___Set_Movement_Speed_nNum_8___Set_Game_Speed_nNum_9___Super_Stamina_Damage_nNum_0___Stamina_Damage_Multiplier_nNum_.___One_Hit_Kills_nNum____Damage_Multiplier_nNum_____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_Takes_effect_when_opening_menu._nCtrlNum_2___Infinite_Consumables__Parts_Takes_effect_when_you_open_inventory_and_view_consumables_or_parts._n_nItem_amounts_will_be_changed_to_max_stackable_amount._nCtrlNum_3___Items_Dont_Decrease_Only_works_when_item_quantity_is_greater_than_one._Works_for_most_items__including_ammo._nCtrlNum_4___No_Crafting_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_to_cancel_its_effect._n_nAltNum_1___Infinite_Ammo_Takes_effect_when_you_reload__your_total_ammo_wont_decrease._nAltNum_2___No_Reload_nAltNum_3___Super_Accuracy_nAltNum_4___No_Recoil_nAltNum_5___Instant_Curveball_Cooldown_Activate_before_using_curveballs._nAltNum_6___Max_Fury_Gauge_Takes_effect_when_the_fury_gauge_increases._nAltNum_7___Infinite_Fury_Mode_Duration_nAltNum_8___Infinite_Exp_Takes_effect_when_you_gain_exp._nAltNum_9___Exp_Multiplier_Takes_effect_when_you_gain_exp._n_n
mov rcx, rbx
call fcn.1400c7030
mov word [rbx + 0xc1c], r14w
jmp 0x140058255
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_Note_this_does_not_work_for_environment_damages_such_as_fire__electrocution__poison__traps__etc._nNum_2___Infinite_Health_Takes_effect_when_you_receive_damage__your_health_will_restore_to_max._nNum_3___Infinite_Stamina_nNum_4___Infinite_Weapon_Durability_When_activated__weapon_durability_wont_decrease._nNum_5___Stealth_Mode_nNum_6___Set_Player_Speed_nNum_7___Set_Movement_Speed_nNum_8___Set_Game_Speed_nNum_9___Super_Stamina_Damage_nNum_0___Stamina_Damage_Multiplier_nNum_.___One_Hit_Kills_nNum____Damage_Multiplier_nNum_____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_Takes_effect_when_opening_menu._nCtrlNum_2___Infinite_Consumables__Parts_Takes_effect_when_you_open_inventory_and_view_consumables_or_parts._n_nItem_amounts_will_be_changed_to_max_stackable_amount._nCtrlNum_3___Items_Dont_Decrease_Only_works_when_item_quantity_is_greater_than_one._Works_for_most_items__including_ammo._nCtrlNum_4___No_Crafting_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_to_cancel_its_effect._n_nAltNum_1___Infinite_Ammo_Takes_effect_when_you_reload__your_total_ammo_wont_decrease._nAltNum_2___No_Reload_nAltNum_3___Super_Accuracy_nAltNum_4___No_Recoil_nAltNum_5___Instant_Curveball_Cooldown_Activate_before_using_curveballs._nAltNum_6___Max_Fury_Gauge_Takes_effect_when_the_fury_gauge_increases._nAltNum_7___Infinite_Fury_Mode_Duration_nAltNum_8___Infinite_Exp_Takes_effect_when_you_gain_exp._nAltNum_9___Exp_Multiplier_Takes_effect_when_you_gain_exp._n_n
mov edx, 0x60e
call fcn.1400219d0
mov rcx, rdi
call fcn.140055770
mov rcx, rdi
call fcn.140055a60
lea r15, [0x14013fa80]
mov esi, dword [0x14013f278]
test esi, esi
je 0x140058321
mov ebx, dword [0x14013f274]
test ebx, ebx
je 0x140058321
mov rcx, r15
call fcn.14009d220
test eax, eax
jne 0x140058686
mov eax, dword [0x14013facc]
cmp eax, 0x7fffffff
je 0x140058691
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.14009d228
mov rcx, rdi
call fcn.140058700
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140061b70
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400583f5
mov rcx, r15
call fcn.14009d220
test eax, eax
jne 0x140058686
mov eax, dword [0x14013facc]
cmp eax, 0x7fffffff
je 0x140058691
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.14009d228
mov rcx, r15
call fcn.14009d220
test eax, eax
jne 0x140058686
mov eax, dword [0x14013facc]
cmp eax, 0x7fffffff
je 0x140058691
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, [0x140055450]
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.14009d228
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14006f1f0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14009d220
test eax, eax
jne 0x140058686
mov eax, dword [0x14013facc]
cmp eax, 0x7fffffff
je 0x140058691
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.14001ed20
mov rdx, rax
mov rcx, rdi
call fcn.140051ed0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001ed20
mov rdx, rax
mov rcx, rdi
call fcn.140051ed0
nop
mov rcx, r15
call fcn.14009d228
mov ecx, 8
call fcn.14009e2a4
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, [0x14005d300]
xor edx, edx
xor ecx, ecx
call fcn.1400b2364
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400586e9
cmp dword [rbp - 0x28], 0
je 0x1400586de
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d5e0
test eax, eax
jne 0x1400586de
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14009e2a4
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, [0x14005d330]
xor edx, edx
xor ecx, ecx
call fcn.1400b2364
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400586cf
cmp dword [rbp - 0x28], 0
je 0x1400586c4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d5e0
test eax, eax
jne 0x1400586c4
lea ecx, [rax + 8]
call fcn.14009e2a4
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, [0x14005d170]
xor edx, edx
xor ecx, ecx
call fcn.1400b2364
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400586b5
cmp dword [rbp - 0x38], 0
je 0x1400586aa
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d5e0
test eax, eax
jne 0x1400586aa
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14005866c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140055160
cmp byte [rdi + 0x4b8], 0
je 0x140058650
cmp dword [rbp - 0x38], 0
jne 0x1400586a4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14009d170
int3
dec eax
mov dword [0x14013facc], eax
mov ecx, 6
call fcn.14009d170
int3
call fcn.1400b2200
nop
mov ecx, 1
call fcn.14009d170
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14009d170
nop
mov ecx, 1
call fcn.14009d170
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009d170
nop
mov ecx, 1
call fcn.14009d170
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009d170
int3