Function at 0x1400581d0
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.140005f00
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140051c00
test al, al
je 0x140058712
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._n0Q
lea rcx, [rbp - 0x20]
call fcn.140005f00
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140056c00
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x8b3
jb 0x140058295
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x8b3
mov r8d, 0x1166
lea rdx, [0x140114510]
mov rcx, rbx
call fcn.1400c7260
mov word [rbx + 0x1166], r14w
jmp 0x1400582a6
lea r9, [0x140114510]
mov edx, 0x8b3
call fcn.140021b30
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x9b8
jb 0x1400582e1
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x9b8
mov r8d, 0x1370
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Lock_Health_nNum_3___Infinite_Shield_nNum_4___Max_Food_nNum_5___Infinite_Stamina_nNum_6___Stealth_Mode_When_activated__wild_pals_will_ignore_you__but_if_you_attack_them__they_will_fight_back._nNum_7___Perfect_Body_Temperature_nNum_8___100__Pal_Capture_Rate_nNum_9___100__Rare_Pal_Spawn_Rate_nNum_0___100__Drop_Rate_nNum_.___Drop_Item_Multiplier_nNum____Super_Damage_One_Hit_Kills_Only_affects_players_damage_toward_enemies._nNum____Damage_Multiplier_Only_affects_players_damage_toward_enemies._nNum_____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_Takes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._n_nNote__you_must_have_at_least_1_gold_coin_for_it_to_work._nCtrlNum_2___Edit_Items_Amount_This_option_only_works_for_stackable_items._n_nTakes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._nCtrlNum_3___Zero_Weight_Takes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._nCtrlNum_4___Infinite_Equipment_Durability_Takes_effect_when_equipment_durability_changes._nCtrlNum_5___Food_Wont_Spoil_nCtrlNum_6___No_Crafting_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_7___No_Building_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_8___Fast_Crafting__Building_nCtrlNum_9___Freeze_Daytime_nCtrlNum_0___Time_Pass_Speed_nCtrlNum.___Set_Game_Speed_n_nAltNum_1___Pal:_Lock_Health_nAltNum_2___Pal:_Max_Food_nAltNum_3___Pal:_Max_San_nAltNum_4___Pal:_Infinite_Stamina_nAltNum_5___Pal:_Instant_Skill_Cooldown_nAltNum_6___Infinite_Ammo_No_Reload_nAltNum_7___Instant_Weapon_Cooldown_Activate_before_cooldown_begins._nAltNum_8___Infinite_Exp_Takes_effect_when_exp_increases__works_for_player_and_pals._nAltNum_9___Exp_Multiplier_Takes_effect_when_exp_increases__works_for_player_and_pals._nAltNum_0___Edit_Stat_Points_nAltNum_.___Edit_Technology_Points_nAltNum____Edit_Ancient_Technology_Points_nAltNum_____Set_Player_Speed_nAltNum_____Set_Movement_Speed_nAltNum____Set_Jump_Height_n_nEdit_Player_Stats_n_nShiftF1___Edit_Max_Health_nShiftF2___Edit_Max_Shield_nShiftF3___Edit_Max_Food_nShiftF4___Edit_Max_Stamina_nShiftF5___Edit_Work_Speed_nShiftF6___Edit_Max_Weight_n_n
mov rcx, rbx
call fcn.1400c7260
mov word [rbx + 0x1370], r14w
jmp 0x1400582f2
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Lock_Health_nNum_3___Infinite_Shield_nNum_4___Max_Food_nNum_5___Infinite_Stamina_nNum_6___Stealth_Mode_When_activated__wild_pals_will_ignore_you__but_if_you_attack_them__they_will_fight_back._nNum_7___Perfect_Body_Temperature_nNum_8___100__Pal_Capture_Rate_nNum_9___100__Rare_Pal_Spawn_Rate_nNum_0___100__Drop_Rate_nNum_.___Drop_Item_Multiplier_nNum____Super_Damage_One_Hit_Kills_Only_affects_players_damage_toward_enemies._nNum____Damage_Multiplier_Only_affects_players_damage_toward_enemies._nNum_____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_Takes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._n_nNote__you_must_have_at_least_1_gold_coin_for_it_to_work._nCtrlNum_2___Edit_Items_Amount_This_option_only_works_for_stackable_items._n_nTakes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._nCtrlNum_3___Zero_Weight_Takes_effect_when_inventory_items_update__pickup_or_drop_something__or_drag_items_to_different_slots_._nCtrlNum_4___Infinite_Equipment_Durability_Takes_effect_when_equipment_durability_changes._nCtrlNum_5___Food_Wont_Spoil_nCtrlNum_6___No_Crafting_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_7___No_Building_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effect__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_8___Fast_Crafting__Building_nCtrlNum_9___Freeze_Daytime_nCtrlNum_0___Time_Pass_Speed_nCtrlNum.___Set_Game_Speed_n_nAltNum_1___Pal:_Lock_Health_nAltNum_2___Pal:_Max_Food_nAltNum_3___Pal:_Max_San_nAltNum_4___Pal:_Infinite_Stamina_nAltNum_5___Pal:_Instant_Skill_Cooldown_nAltNum_6___Infinite_Ammo_No_Reload_nAltNum_7___Instant_Weapon_Cooldown_Activate_before_cooldown_begins._nAltNum_8___Infinite_Exp_Takes_effect_when_exp_increases__works_for_player_and_pals._nAltNum_9___Exp_Multiplier_Takes_effect_when_exp_increases__works_for_player_and_pals._nAltNum_0___Edit_Stat_Points_nAltNum_.___Edit_Technology_Points_nAltNum____Edit_Ancient_Technology_Points_nAltNum_____Set_Player_Speed_nAltNum_____Set_Movement_Speed_nAltNum____Set_Jump_Height_n_nEdit_Player_Stats_n_nShiftF1___Edit_Max_Health_nShiftF2___Edit_Max_Shield_nShiftF3___Edit_Max_Food_nShiftF4___Edit_Max_Stamina_nShiftF5___Edit_Work_Speed_nShiftF6___Edit_Max_Weight_n_n
mov edx, 0x9b8
call fcn.140021b30
mov rcx, rdi
call fcn.140055890
mov rcx, rdi
call fcn.140055b80
lea r15, [0x140144a80]
mov esi, dword [0x140144274]
test esi, esi
je 0x1400583be
mov ebx, dword [0x140144278]
test ebx, ebx
je 0x1400583be
mov rcx, r15
call fcn.14009d450
test eax, eax
jne 0x140058726
mov eax, dword [0x140144acc]
cmp eax, 0x7fffffff
je 0x140058731
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.14009d458
mov rcx, rdi
call fcn.1400587a0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140061c10
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140058492
mov rcx, r15
call fcn.14009d450
test eax, eax
jne 0x140058726
mov eax, dword [0x140144acc]
cmp eax, 0x7fffffff
je 0x140058731
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.14009d458
mov rcx, r15
call fcn.14009d450
test eax, eax
jne 0x140058726
mov eax, dword [0x140144acc]
cmp eax, 0x7fffffff
je 0x140058731
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, [0x140055570]
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.14009d458
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14006f290
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14009d450
test eax, eax
jne 0x140058726
mov eax, dword [0x140144acc]
cmp eax, 0x7fffffff
je 0x140058731
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.14001ee80
mov rdx, rax
mov rcx, rdi
call fcn.140051ff0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001ee80
mov rdx, rax
mov rcx, rdi
call fcn.140051ff0
nop
mov rcx, r15
call fcn.14009d458
mov ecx, 8
call fcn.14009e4d4
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, [0x14005d3a0]
xor edx, edx
xor ecx, ecx
call fcn.1400b2594
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140058789
cmp dword [rbp - 0x28], 0
je 0x14005877e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d810
test eax, eax
jne 0x14005877e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14009e4d4
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, [0x14005d3d0]
xor edx, edx
xor ecx, ecx
call fcn.1400b2594
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005876f
cmp dword [rbp - 0x28], 0
je 0x140058764
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d810
test eax, eax
jne 0x140058764
lea ecx, [rax + 8]
call fcn.14009e4d4
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, [0x14005d210]
xor edx, edx
xor ecx, ecx
call fcn.1400b2594
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140058755
cmp dword [rbp - 0x38], 0
je 0x14005874a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14009d810
test eax, eax
jne 0x14005874a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14005870c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140055280
cmp byte [rdi + 0x4b8], 0
je 0x1400586f0
cmp dword [rbp - 0x38], 0
jne 0x140058744
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14009d3a0
int3
dec eax
mov dword [0x140144acc], eax
mov ecx, 6
call fcn.14009d3a0
int3
call fcn.1400b2430
nop
mov ecx, 1
call fcn.14009d3a0
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14009d3a0
nop
mov ecx, 1
call fcn.14009d3a0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009d3a0
nop
mov ecx, 1
call fcn.14009d3a0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009d3a0
int3