Function at 0x14005b910
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.140006540
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140054520
test al, al
je 0x14005be52
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.140006540
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14005a340
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x8b3
jb 0x14005b9d5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x8b3
mov r8d, 0x1166
lea rdx, [0x14011b2e0]
mov rcx, rbx
call fcn.1400cecd0
mov word [rbx + 0x1166], r14w
jmp 0x14005b9e6
lea r9, [0x14011b2e0]
mov edx, 0x8b3
call fcn.1400224a0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x9b8
jb 0x14005ba21
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.1400cecd0
mov word [rbx + 0x1370], r14w
jmp 0x14005ba32
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.1400224a0
mov rcx, rdi
call fcn.140058fd0
mov rcx, rdi
call fcn.1400592c0
lea r15, [0x14014eca0]
mov esi, dword [0x14014e414]
test esi, esi
je 0x14005bafe
mov ebx, dword [0x14014e418]
test ebx, ebx
je 0x14005bafe
mov rcx, r15
call fcn.1400a2e70
test eax, eax
jne 0x14005be66
mov eax, dword [0x14014ecec]
cmp eax, 0x7fffffff
je 0x14005be71
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.1400a2e78
mov rcx, rdi
call fcn.14005bee0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400653b0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14005bbd2
mov rcx, r15
call fcn.1400a2e70
test eax, eax
jne 0x14005be66
mov eax, dword [0x14014ecec]
cmp eax, 0x7fffffff
je 0x14005be71
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.1400a2e78
mov rcx, r15
call fcn.1400a2e70
test eax, eax
jne 0x14005be66
mov eax, dword [0x14014ecec]
cmp eax, 0x7fffffff
je 0x14005be71
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, [0x140058cb0]
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.1400a2e78
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140072960
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400a2e70
test eax, eax
jne 0x14005be66
mov eax, dword [0x14014ecec]
cmp eax, 0x7fffffff
je 0x14005be71
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.14001f6b0
mov rdx, rax
mov rcx, rdi
call fcn.140054910
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f6b0
mov rdx, rax
mov rcx, rdi
call fcn.140054910
nop
mov rcx, r15
call fcn.1400a2e78
mov ecx, 8
call fcn.1400a3ef4
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, [0x140060b40]
xor edx, edx
xor ecx, ecx
call fcn.1400b7f14
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005bec9
cmp dword [rbp - 0x28], 0
je 0x14005bebe
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a3230
test eax, eax
jne 0x14005bebe
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400a3ef4
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, [0x140060b70]
xor edx, edx
xor ecx, ecx
call fcn.1400b7f14
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14005beaf
cmp dword [rbp - 0x28], 0
je 0x14005bea4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a3230
test eax, eax
jne 0x14005bea4
call fcn.140057bf0
mov ecx, 8
call fcn.1400a3ef4
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, [0x1400609b0]
xor edx, edx
xor ecx, ecx
call fcn.1400b7f14
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14005be95
cmp dword [rbp - 0x38], 0
je 0x14005be8a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400a3230
test eax, eax
jne 0x14005be8a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b9], al
jne 0x14005be4c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140058980
cmp byte [rdi + 0x4b9], 0
je 0x14005be30
cmp dword [rbp - 0x38], 0
jne 0x14005be84
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400a2dc0
int3
dec eax
mov dword [0x14014ecec], eax
mov ecx, 6
call fcn.1400a2dc0
int3
call fcn.1400b7db0
nop
mov ecx, 1
call fcn.1400a2dc0
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400a2dc0
nop
mov ecx, 1
call fcn.1400a2dc0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a2dc0
nop
mov ecx, 1
call fcn.1400a2dc0
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400a2dc0
int3