Function at 0x140036e30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
lea r8d, [r12 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x20]
call fcn.140005700
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.1400306a0
test al, al
je 0x140037306
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
lea r8d, [r12 + 0x36]
lea rdx, str._n0:R
lea rcx, [rbp - 0x40]
call fcn.140005700
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400357f0
mov r8d, 0x3a5
lea rdx, [0x1400c4f30]
lea rcx, [rdi + 0x430]
call fcn.14001fcf0
mov r8d, 0x5e4
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hit_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Infinite_Oxygen_nNum_5___Infinite_Focus_Takes_effect_when_you_gain_or_spend_focus._nNum_6___Stealth_Mode_When_activated__most_enemies_will_ignore_you__but_if_you_attack_them__youll_be_detected._n_nThis_option_may_not_work_during_certain_story_missions._nNum_7___Elixir_Dont_Decrease_nNum_8___Ammo__Throwables_Dont_Decrease_Only_works_if_ammo_throwables_amount_is_greater_than_1._nNum_9___One_Hit_Stun_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_Resources_Takes_effect_when_opening_the_item_bag._Only_affects_resources_you_already_owned._nCtrlNum_2___Edit_Upgrade_Materials_Takes_effect_when_opening_the_item_bag._Only_affects_materials_you_already_owned._nCtrlNum_3___No_Upgrade_Material_Requirement_If_you_want_to_disable_this_option_after_it_took_effect__youll_need_to_restart_the_game_in_order_to_cancel_its_effects._nCtrlNum_4___Infinite_Skill_Points_nCtrlNum_5___Zero_Notoriety_nCtrlNum_6___Set_Game_Speed_Doesnt_affect_game_speed_in_menus_and_cutscenes._nCtrlNum_7___Teleport_to_Waypoint_Make_sure_you_only_have_one_waypoint_set__if_you_have_multiple_waypoints__youll_be_teleported_randomly_to_one_of_them._n_nIf_you_fall_from_the_sky_after_teleporting__enable_god_mode_to_prevent_death._n_nIf_you_fall_under_the_ground_after_teleporting__you_may_need_to_reload_the_last_auto_save_or_disable_god_mode_to_let_the_character_die._n_n
lea rcx, [rdi + 0x450]
call fcn.14001fcf0
call fcn.1400343b0
mov rcx, rdi
call fcn.140034580
lea r13, [0x1400dc4c0]
mov esi, dword [0x1400dbe78]
test esi, esi
je 0x140036fbb
mov ebx, dword [0x1400dbe7c]
test ebx, ebx
je 0x140036fbb
mov rcx, r13
call fcn.140073920
test eax, eax
jne 0x140037321
mov eax, dword [0x1400dc50c]
cmp eax, 0x7fffffff
je 0x14003732c
mov dword [rbp + 0x50], 9
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x50], esi
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
lea r8d, [r12 + 4]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140073928
mov rcx, rdi
call fcn.1400373a0
lea rbx, [rdi + 0x550]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140040cb0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14003708f
mov rcx, r13
call fcn.140073920
test eax, eax
jne 0x140037321
mov eax, dword [0x1400dc50c]
cmp eax, 0x7fffffff
je 0x14003732c
mov dword [rbp + 0x50], 3
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp + 0x50], eax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140073928
mov rcx, r13
call fcn.140073920
test eax, eax
jne 0x140037321
mov eax, dword [0x1400dc50c]
cmp eax, 0x7fffffff
je 0x14003732c
mov dword [rbp + 0x50], 5
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x140034060]
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 8
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140073928
lea r8, [rdi + 0x450]
lea rdx, [rdi + 0x430]
call fcn.14004cfc0
mov qword [rbp + 0x58], r13
mov rcx, r13
call fcn.140073920
test eax, eax
jne 0x140037321
mov eax, dword [0x1400dc50c]
cmp eax, 0x7fffffff
je 0x14003732c
mov dword [rbp + 0x50], 4
mov dword [rbp + 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x48]
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x430]
lea rcx, [rbp - 0x20]
call fcn.14001eea0
mov rdx, rax
mov rcx, rdi
call fcn.140030b00
lea rdx, [rdi + 0x450]
lea rcx, [rbp - 0x20]
call fcn.14001eea0
mov rdx, rax
mov rcx, rdi
call fcn.140030b00
nop
mov rcx, r13
call fcn.140073928
mov ecx, 8
call fcn.140074854
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c340]
xor edx, edx
xor ecx, ecx
call fcn.140087084
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140037384
cmp dword [rbp - 0x38], 0
je 0x140037379
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073ae0
test eax, eax
jne 0x140037379
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea ecx, [rax + 8]
call fcn.140074854
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c370]
xor edx, edx
xor ecx, ecx
call fcn.140087084
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14003736a
cmp dword [rbp - 0x38], 0
je 0x14003735f
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073ae0
test eax, eax
jne 0x14003735f
lea ecx, [rax + 8]
call fcn.140074854
mov qword [rax], rdi
mov qword [rbp + 0x48], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x14003c1b0]
xor edx, edx
xor ecx, ecx
call fcn.140087084
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140037350
cmp dword [rbp - 0x48], 0
je 0x140037345
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140073ae0
test eax, eax
jne 0x140037345
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
cmp byte [rdi + 0x490], al
jne 0x140037300
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140033d70
cmp byte [rdi + 0x490], 0
je 0x1400372e4
cmp dword [rbp - 0x48], 0
jne 0x14003733f
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140073674
int3
dec eax
mov dword [0x1400dc50c], eax
mov ecx, 6
call fcn.140073674
int3
call fcn.140086f20
nop
mov ecx, 1
call fcn.140073674
nop
mov dword [rbp - 0x48], r12d
mov ecx, 6
call fcn.140073674
nop
mov ecx, 1
call fcn.140073674
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.140073674
nop
mov ecx, 1
call fcn.140073674
nop
mov dword [rbp - 0x38], r12d
mov ecx, 6
call fcn.140073674
int3