Function at 0x140059fb0
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.140006530
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140052bc0
test al, al
je 0x14005a4f2
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.140006530
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400589e0
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x8b3
jb 0x14005a075
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x8b3
mov r8d, 0x1166
lea rdx, [0x1401181d0]
mov rcx, rbx
call fcn.1400cbd00
mov word [rbx + 0x1166], r14w
jmp 0x14005a086
lea r9, [0x1401181d0]
mov edx, 0x8b3
call fcn.1400223f0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x9b8
jb 0x14005a0c1
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.1400cbd00
mov word [rbx + 0x1370], r14w
jmp 0x14005a0d2
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.1400223f0
mov rcx, rdi
call fcn.140057670
mov rcx, rdi
call fcn.140057960
lea r15, [0x14014aad0]
mov esi, dword [0x14014a2c8]
test esi, esi
je 0x14005a19e
mov ebx, dword [0x14014a2c4]
test ebx, ebx
je 0x14005a19e
mov rcx, r15
call fcn.14009ffa0
test eax, eax
jne 0x14005a506
mov eax, dword [0x14014ab1c]
cmp eax, 0x7fffffff
je 0x14005a511
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.14009ffa8
mov rcx, rdi
call fcn.14005a580
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140063a50
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14005a272
mov rcx, r15
call fcn.14009ffa0
test eax, eax
jne 0x14005a506
mov eax, dword [0x14014ab1c]
cmp eax, 0x7fffffff
je 0x14005a511
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.14009ffa8
mov rcx, r15
call fcn.14009ffa0
test eax, eax
jne 0x14005a506
mov eax, dword [0x14014ab1c]
cmp eax, 0x7fffffff
je 0x14005a511
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, [0x140057350]
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.14009ffa8
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140071000
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14009ffa0
test eax, eax
jne 0x14005a506
mov eax, dword [0x14014ab1c]
cmp eax, 0x7fffffff
je 0x14005a511
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.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f600
mov rdx, rax
mov rcx, rdi
call fcn.140052fb0
nop
mov rcx, r15
call fcn.14009ffa8
mov ecx, 8
call fcn.1400a1024
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, [0x14005f1e0]
xor edx, edx
xor ecx, ecx
call fcn.1400b5044
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005a569
cmp dword [rbp - 0x28], 0
je 0x14005a55e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0360
test eax, eax
jne 0x14005a55e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400a1024
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, [0x14005f210]
xor edx, edx
xor ecx, ecx
call fcn.1400b5044
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005a54f
cmp dword [rbp - 0x28], 0
je 0x14005a544
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0360
test eax, eax
jne 0x14005a544
call fcn.140056290
mov ecx, 8
call fcn.1400a1024
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, [0x14005f050]
xor edx, edx
xor ecx, ecx
call fcn.1400b5044
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14005a535
cmp dword [rbp - 0x38], 0
je 0x14005a52a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a0360
test eax, eax
jne 0x14005a52a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x14005a4ec
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140057020
cmp byte [rdi + 0x4b9], 0
je 0x14005a4d0
cmp dword [rbp - 0x38], 0
jne 0x14005a524
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14009fef0
int3
dec eax
mov dword [0x14014ab1c], eax
mov ecx, 6
call fcn.14009fef0
int3
call fcn.1400b4ee0
nop
mov ecx, 1
call fcn.14009fef0
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14009fef0
nop
mov ecx, 1
call fcn.14009fef0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009fef0
nop
mov ecx, 1
call fcn.14009fef0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14009fef0
int3