Function at 0x140036af0
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.140005720
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030690
test al, al
je 0x140037026
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x3f]
lea rdx, str._n00Ws
lea rcx, [rbp - 0x20]
call fcn.140005720
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035520
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x5ae
jb 0x140036bb5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x5ae
mov r8d, 0xb5c
lea rdx, [0x1400c6020]
mov rcx, rbx
call fcn.14009c1a0
mov word [rbx + 0xb5c], r14w
jmp 0x140036bc6
lea r9, [0x1400c6020]
mov edx, 0x5ae
call fcn.140020d20
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x8cd
jb 0x140036c01
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x8cd
mov r8d, 0x119a
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Focus_nNum_4___Infinite_Valor_nNum_5___Infinite_Skill_Duration_nNum_6___Infinite_Oxygen_nNum_7___Max_Medicine_Pouch_nNum_8___Infinite_Arrow__Traps_Note__for_arrow__it_will_take_effect_immediately._For_traps__it_will_take_effect_when_you_place_traps._nNum_9___Bow_Instant_Charge_nNum_0___Super_Damage_One_Hit_Kills_Note__this_option_also_affects_companion._nNum_.___Damage_Multiplier_Note__this_option_also_affects_companion._nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Tools_Amount_Takes_effect_when_you_open_the_tools_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_2___Edit_Ammo_Amount_Takes_effect_when_you_open_the_ammo_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_3___Edit_Resources_Amount_Takes_effect_when_you_open_the_resources_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_4___Ignore_Crafting__Purchase_Requirements_When_activated__you_can_craft_or_purchase_items_even_if_you_dont_have_enough_materials__but_if_you_do_have_materials__they_will_be_used._nCtrlNum_5___Set_Game_Speed_Note__the_game_running_at_high_speed_may_cause_issue_in_some_events__if_that_happens__disable_this_option_and_load_the_last_autosave._n_nAltNum_1___Stealth_Mode_If_you_encounter_issues_in_certain_events__try_disabling_this_option._nAltNum_2___Freeze_Trial_Mission_Timer_nAltNum_3___Infinite_Exp_Takes_effect_when_you_gain_exp__you_will_gain_999999_exp_once._n_nThis_game_doesnt_seem_to_have_a_level_cap__you_can_use_this_option_multiple_times_if_needed._nAltNum_4___Exp_Multiplier_nAltNum_5___Edit_Skill_Points_Takes_effect_when_opening_the_tab_menu_twice__or_when_you_spend_skill_points._nAltNum_6___Save_Location_nAltNum_7___Teleport_nAltNum_8___Undo_Teleport_nAltNum_9___Teleport_To_Waypoint_If_you_fall_under_the_map_after_teleporting__you_can_activate_this_option_again_to_increase_height_until_you_are_above_the_ground._n_nYou_should_also_enable__God_Mode_Ignore_Hits__to_avoid_fall_damage._n_n
mov rcx, rbx
call fcn.14009c1a0
mov word [rbx + 0x119a], r14w
jmp 0x140036c12
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Infinite_Focus_nNum_4___Infinite_Valor_nNum_5___Infinite_Skill_Duration_nNum_6___Infinite_Oxygen_nNum_7___Max_Medicine_Pouch_nNum_8___Infinite_Arrow__Traps_Note__for_arrow__it_will_take_effect_immediately._For_traps__it_will_take_effect_when_you_place_traps._nNum_9___Bow_Instant_Charge_nNum_0___Super_Damage_One_Hit_Kills_Note__this_option_also_affects_companion._nNum_.___Damage_Multiplier_Note__this_option_also_affects_companion._nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Tools_Amount_Takes_effect_when_you_open_the_tools_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_2___Edit_Ammo_Amount_Takes_effect_when_you_open_the_ammo_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_3___Edit_Resources_Amount_Takes_effect_when_you_open_the_resources_tab_in_the_inventory_menu._n_nOnly_works_when_the_item_amount_is_greater_than_0_and_the_max_stackable_amount_is_greater_than_1._nCtrlNum_4___Ignore_Crafting__Purchase_Requirements_When_activated__you_can_craft_or_purchase_items_even_if_you_dont_have_enough_materials__but_if_you_do_have_materials__they_will_be_used._nCtrlNum_5___Set_Game_Speed_Note__the_game_running_at_high_speed_may_cause_issue_in_some_events__if_that_happens__disable_this_option_and_load_the_last_autosave._n_nAltNum_1___Stealth_Mode_If_you_encounter_issues_in_certain_events__try_disabling_this_option._nAltNum_2___Freeze_Trial_Mission_Timer_nAltNum_3___Infinite_Exp_Takes_effect_when_you_gain_exp__you_will_gain_999999_exp_once._n_nThis_game_doesnt_seem_to_have_a_level_cap__you_can_use_this_option_multiple_times_if_needed._nAltNum_4___Exp_Multiplier_nAltNum_5___Edit_Skill_Points_Takes_effect_when_opening_the_tab_menu_twice__or_when_you_spend_skill_points._nAltNum_6___Save_Location_nAltNum_7___Teleport_nAltNum_8___Undo_Teleport_nAltNum_9___Teleport_To_Waypoint_If_you_fall_under_the_map_after_teleporting__you_can_activate_this_option_again_to_increase_height_until_you_are_above_the_ground._n_nYou_should_also_enable__God_Mode_Ignore_Hits__to_avoid_fall_damage._n_n
mov edx, 0x8cd
call fcn.140020d20
call fcn.1400342e0
mov rcx, rdi
call fcn.1400344a0
lea r15, [0x1400df1f0]
mov esi, dword [0x1400debcc]
test esi, esi
je 0x140036cdb
mov ebx, dword [0x1400debc8]
test ebx, ebx
je 0x140036cdb
mov rcx, r15
call fcn.1400738cc
test eax, eax
jne 0x14003703a
mov eax, dword [0x1400df23c]
cmp eax, 0x7fffffff
je 0x140037045
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.1400738d4
mov rcx, rdi
call fcn.1400370b0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140040840
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140036daf
mov rcx, r15
call fcn.1400738cc
test eax, eax
jne 0x14003703a
mov eax, dword [0x1400df23c]
cmp eax, 0x7fffffff
je 0x140037045
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.1400738d4
mov rcx, r15
call fcn.1400738cc
test eax, eax
jne 0x14003703a
mov eax, dword [0x1400df23c]
cmp eax, 0x7fffffff
je 0x140037045
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, [0x140034000]
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.1400738d4
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004cdc0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400738cc
test eax, eax
jne 0x14003703a
mov eax, dword [0x1400df23c]
cmp eax, 0x7fffffff
je 0x140037045
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.14001e2c0
mov rdx, rax
mov rcx, rdi
call fcn.140030a80
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e2c0
mov rdx, rax
mov rcx, rdi
call fcn.140030a80
nop
mov rcx, r15
call fcn.1400738d4
mov ecx, 8
call fcn.140074874
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, [0x14003be20]
xor edx, edx
xor ecx, ecx
call fcn.140087564
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003709d
cmp dword [rbp - 0x28], 0
je 0x140037092
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073bb0
test eax, eax
jne 0x140037092
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140074874
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, [0x14003be50]
xor edx, edx
xor ecx, ecx
call fcn.140087564
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140037083
cmp dword [rbp - 0x28], 0
je 0x140037078
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073bb0
test eax, eax
jne 0x140037078
lea ecx, [rax + 8]
call fcn.140074874
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, [0x14003bc90]
xor edx, edx
xor ecx, ecx
call fcn.140087564
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140037069
cmp dword [rbp - 0x38], 0
je 0x14003705e
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073bb0
test eax, eax
jne 0x14003705e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x140037020
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140033d10
cmp byte [rdi + 0x4b8], 0
je 0x140037004
cmp dword [rbp - 0x38], 0
jne 0x140037058
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14007381c
int3
dec eax
mov dword [0x1400df23c], eax
mov ecx, 6
call fcn.14007381c
int3
call fcn.140087400
nop
mov ecx, 1
call fcn.14007381c
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14007381c
nop
mov ecx, 1
call fcn.14007381c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007381c
nop
mov ecx, 1
call fcn.14007381c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007381c
int3