Function at 0x140036f20
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.140005320
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140030a60
test al, al
je 0x140037462
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x26]
lea rdx, [0x1400c70b0]
lea rcx, [rbp - 0x20]
call fcn.140005320
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035950
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x64b
jb 0x140036fe5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x64b
mov r8d, 0xc96
lea rdx, [0x1400c7100]
mov rcx, rbx
call fcn.14009cee0
mov word [rbx + 0xc96], r14w
jmp 0x140036ff6
lea r9, [0x1400c7100]
mov edx, 0x64b
call fcn.140020dc0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x6c2
jb 0x140037031
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x6c2
mov r8d, 0xd84
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_HP_nNum_3___Infinite_FP_nNum_4___Infinite_Stamina_nNum_5___Zero_Weight_nNum_6___Infinite_Item_Usage_Takes_effect_when_you_use_items__their_amounts_will_be_reset_to_max._nNum_7___100__Drop_Rate_nNum_8___Stealth_Mode_When_activated__enemies_will_ignore_you__but_you_will_be_detected_if_you_attack_them._nNum_9___Immune_To_All_Negative_Status_nNum_0___Super_Damage_One_Hit_Kill_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_nNum_____Infinite_Horse_HP_Note__the_horse_may_still_run_away_disappear_if_it_gets_hit_multiple_times._To_prevent_that__you_can_use__God_Mode_Ignore_Hits__option__which_also_works_for_the_horse._n_nCtrlNum_1___Edit_Runes_nCtrlNum_2___Runes_Multiplier_nCtrlNum_3___Wont_Lose_Runes_When_Player_Dies_nCtrlNum_4___Freeze_Daytime_nCtrlNum_5___Daytime_1_Hour_nCtrlNum_6___Set_Game_Speed_nCtrlNum_7___Enable_Fly_Mode_When_activated__it_will_lock_players_Y_position__use__Fly_Up__or__Fly_Down__to_go_up_and_down__then_move_freely_with_regular_control__keyboard_controller_._n_nIf_you_want_to_disable_this_option__make_sure_youre_near_the_ground__otherwise_you_may_die_from_fall_damage__God_Mode_and_Infinite_HP_wont_work_for_fall_damage_._n_nAlso_try_not_to_jump_in_fly_mode__you_may_die_from_fall_damage_if_you_stuck_in_the_jumping_animation_for_too_long._nCtrlNum_8___Fly_Up_nCtrlNum_9___Fly_Down_nCtrlNum_0___Freeze_Enemies_Position_n_nEdit_Player_Stats_n_nAltNum_1___Edit_Level_nAltNum_2___Edit_Vigor_nAltNum_3___Edit_Mind_nAltNum_4___Edit_Endurance_nAltNum_5___Edit_Strength_nAltNum_6___Edit_Dexterity_nAltNum_7___Edit_Intelligence_nAltNum_8___Edit_Faith_nAltNum_9___Edit_Arcane_nAltNum_0___Edit_Max_HP_nAltNum_.___Edit_Max_FP_nAltNum____Edit_Max_Stamina_n_n
mov rcx, rbx
call fcn.14009cee0
mov word [rbx + 0xd84], r14w
jmp 0x140037042
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_HP_nNum_3___Infinite_FP_nNum_4___Infinite_Stamina_nNum_5___Zero_Weight_nNum_6___Infinite_Item_Usage_Takes_effect_when_you_use_items__their_amounts_will_be_reset_to_max._nNum_7___100__Drop_Rate_nNum_8___Stealth_Mode_When_activated__enemies_will_ignore_you__but_you_will_be_detected_if_you_attack_them._nNum_9___Immune_To_All_Negative_Status_nNum_0___Super_Damage_One_Hit_Kill_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_nNum_____Infinite_Horse_HP_Note__the_horse_may_still_run_away_disappear_if_it_gets_hit_multiple_times._To_prevent_that__you_can_use__God_Mode_Ignore_Hits__option__which_also_works_for_the_horse._n_nCtrlNum_1___Edit_Runes_nCtrlNum_2___Runes_Multiplier_nCtrlNum_3___Wont_Lose_Runes_When_Player_Dies_nCtrlNum_4___Freeze_Daytime_nCtrlNum_5___Daytime_1_Hour_nCtrlNum_6___Set_Game_Speed_nCtrlNum_7___Enable_Fly_Mode_When_activated__it_will_lock_players_Y_position__use__Fly_Up__or__Fly_Down__to_go_up_and_down__then_move_freely_with_regular_control__keyboard_controller_._n_nIf_you_want_to_disable_this_option__make_sure_youre_near_the_ground__otherwise_you_may_die_from_fall_damage__God_Mode_and_Infinite_HP_wont_work_for_fall_damage_._n_nAlso_try_not_to_jump_in_fly_mode__you_may_die_from_fall_damage_if_you_stuck_in_the_jumping_animation_for_too_long._nCtrlNum_8___Fly_Up_nCtrlNum_9___Fly_Down_nCtrlNum_0___Freeze_Enemies_Position_n_nEdit_Player_Stats_n_nAltNum_1___Edit_Level_nAltNum_2___Edit_Vigor_nAltNum_3___Edit_Mind_nAltNum_4___Edit_Endurance_nAltNum_5___Edit_Strength_nAltNum_6___Edit_Dexterity_nAltNum_7___Edit_Intelligence_nAltNum_8___Edit_Faith_nAltNum_9___Edit_Arcane_nAltNum_0___Edit_Max_HP_nAltNum_.___Edit_Max_FP_nAltNum____Edit_Max_Stamina_n_n
mov edx, 0x6c2
call fcn.140020dc0
mov rcx, rdi
call fcn.1400345e0
mov rcx, rdi
call fcn.1400348d0
lea r15, [0x1400e0250]
mov esi, dword [0x1400dfc2c]
test esi, esi
je 0x14003710e
mov ebx, dword [0x1400dfc28]
test ebx, ebx
je 0x14003710e
mov rcx, r15
call fcn.140074608
test eax, eax
jne 0x140037476
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140037481
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.140074610
mov rcx, rdi
call fcn.1400374f0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140040c80
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400371e2
mov rcx, r15
call fcn.140074608
test eax, eax
jne 0x140037476
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140037481
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.140074610
mov rcx, r15
call fcn.140074608
test eax, eax
jne 0x140037476
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140037481
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, [0x1400342c0]
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.140074610
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004e3b0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140074608
test eax, eax
jne 0x140037476
mov eax, dword [0x1400e029c]
cmp eax, 0x7fffffff
je 0x140037481
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.14001e0b0
mov rdx, rax
mov rcx, rdi
call fcn.140030e50
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001e0b0
mov rdx, rax
mov rcx, rdi
call fcn.140030e50
nop
mov rcx, r15
call fcn.140074610
mov ecx, 8
call fcn.1400755b4
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, [0x14003c260]
xor edx, edx
xor ecx, ecx
call fcn.1400882a4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400374d9
cmp dword [rbp - 0x28], 0
je 0x1400374ce
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400748f0
test eax, eax
jne 0x1400374ce
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400755b4
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, [0x14003c290]
xor edx, edx
xor ecx, ecx
call fcn.1400882a4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400374bf
cmp dword [rbp - 0x28], 0
je 0x1400374b4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400748f0
test eax, eax
jne 0x1400374b4
lea ecx, [rax + 8]
call fcn.1400755b4
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, [0x14003c0d0]
xor edx, edx
xor ecx, ecx
call fcn.1400882a4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400374a5
cmp dword [rbp - 0x38], 0
je 0x14003749a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400748f0
test eax, eax
jne 0x14003749a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14003745c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400340e0
cmp byte [rdi + 0x4b8], 0
je 0x140037440
cmp dword [rbp - 0x38], 0
jne 0x140037494
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140074558
int3
dec eax
mov dword [0x1400e029c], eax
mov ecx, 6
call fcn.140074558
int3
call fcn.140088140
nop
mov ecx, 1
call fcn.140074558
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140074558
nop
mov ecx, 1
call fcn.140074558
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074558
nop
mov ecx, 1
call fcn.140074558
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074558
int3