Function at 0x140038120
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.1400062b0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140031b30
test al, al
je 0x140038662
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x25]
lea rdx, [0x1400cc170]
lea rcx, [rbp - 0x20]
call fcn.1400062b0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036b50
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x454
jb 0x1400381e5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x454
mov r8d, 0x8a8
lea rdx, [0x1400cc1c0]
mov rcx, rbx
call fcn.1400a1db0
mov word [rbx + 0x8a8], r14w
jmp 0x1400381f6
lea r9, [0x1400cc1c0]
mov edx, 0x454
call fcn.140021ea0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x5d3
jb 0x140038231
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x5d3
mov r8d, 0xba6
lea rdx, str._n_nNum_1___Infinite_Health_nNum_2___Infinite_Mana_nNum_3___Infinite_Stamina_nNum_4___Freeze_Enshrouded_Duration_nNum_5___Max_Comfort_You_may_need_to_take_a_rest_for_the_display_value_to_update._nNum_6___Infinite_Equipment_Durability_nNum_7___Edit_Critical_Chance_nNum_8___Increase_Critical_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_9___Increase_Melee_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_0___Increase_Ranged_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_.___Increase_Magic_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum____Enemies_Cant_Attack_n_nCtrlNum_1___Edit_Exp_nCtrlNum_2___Exp_Multiplier_nCtrlNum_3___Skill_Points_Wont_Decrease_nCtrlNum_4___Edit_Dragged_Item_Amount_Activate__then_drag_an_item_in_your_backpack_to_a_different_slot__the_item_amount_will_be_changed._nCtrlNum_5___No_Crafting_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effects__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_6___Set_Game_Speed_n_n
mov rcx, rbx
call fcn.1400a1db0
mov word [rbx + 0xba6], r14w
jmp 0x140038242
lea r9, str._n_nNum_1___Infinite_Health_nNum_2___Infinite_Mana_nNum_3___Infinite_Stamina_nNum_4___Freeze_Enshrouded_Duration_nNum_5___Max_Comfort_You_may_need_to_take_a_rest_for_the_display_value_to_update._nNum_6___Infinite_Equipment_Durability_nNum_7___Edit_Critical_Chance_nNum_8___Increase_Critical_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_9___Increase_Melee_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_0___Increase_Ranged_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum_.___Increase_Magic_Damage___You_can_set_the_value_higher_than_the_max_stat_value__900____it_should_still_work_as_expected__but_the_display_value_will_be_capped_at_the_max_stat_value._nNum____Enemies_Cant_Attack_n_nCtrlNum_1___Edit_Exp_nCtrlNum_2___Exp_Multiplier_nCtrlNum_3___Skill_Points_Wont_Decrease_nCtrlNum_4___Edit_Dragged_Item_Amount_Activate__then_drag_an_item_in_your_backpack_to_a_different_slot__the_item_amount_will_be_changed._nCtrlNum_5___No_Crafting_Material_Requirements_If_you_want_to_disable_this_option_after_it_took_effects__you_will_need_to_restart_the_game_in_order_to_restore_material_requirements._nCtrlNum_6___Set_Game_Speed_n_n
mov edx, 0x5d3
call fcn.140021ea0
mov rcx, rdi
call fcn.1400357e0
mov rcx, rdi
call fcn.140035ad0
lea r15, [0x1400e5260]
mov esi, dword [0x1400e4c3c]
test esi, esi
je 0x14003830e
mov ebx, dword [0x1400e4c38]
test ebx, ebx
je 0x14003830e
mov rcx, r15
call fcn.140077458
test eax, eax
jne 0x140038676
mov eax, dword [0x1400e52ac]
cmp eax, 0x7fffffff
je 0x140038681
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.140077460
mov rcx, rdi
call fcn.1400386f0
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140041e80
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400383e2
mov rcx, r15
call fcn.140077458
test eax, eax
jne 0x140038676
mov eax, dword [0x1400e52ac]
cmp eax, 0x7fffffff
je 0x140038681
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.140077460
mov rcx, r15
call fcn.140077458
test eax, eax
jne 0x140038676
mov eax, dword [0x1400e52ac]
cmp eax, 0x7fffffff
je 0x140038681
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, [0x1400354c0]
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.140077460
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004f5a0
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140077458
test eax, eax
jne 0x140038676
mov eax, dword [0x1400e52ac]
cmp eax, 0x7fffffff
je 0x140038681
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.14001f190
mov rdx, rax
mov rcx, rdi
call fcn.140031f20
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f190
mov rdx, rax
mov rcx, rdi
call fcn.140031f20
nop
mov rcx, r15
call fcn.140077460
mov ecx, 8
call fcn.140078404
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, [0x14003d460]
xor edx, edx
xor ecx, ecx
call fcn.14008b0f4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400386d9
cmp dword [rbp - 0x28], 0
je 0x1400386ce
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077740
test eax, eax
jne 0x1400386ce
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140078404
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, [0x14003d490]
xor edx, edx
xor ecx, ecx
call fcn.14008b0f4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400386bf
cmp dword [rbp - 0x28], 0
je 0x1400386b4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077740
test eax, eax
jne 0x1400386b4
lea ecx, [rax + 8]
call fcn.140078404
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, [0x14003d2d0]
xor edx, edx
xor ecx, ecx
call fcn.14008b0f4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400386a5
cmp dword [rbp - 0x38], 0
je 0x14003869a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077740
test eax, eax
jne 0x14003869a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14003865c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.1400351b0
cmp byte [rdi + 0x4b8], 0
je 0x140038640
cmp dword [rbp - 0x38], 0
jne 0x140038694
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400773a8
int3
dec eax
mov dword [0x1400e52ac], eax
mov ecx, 6
call fcn.1400773a8
int3
call fcn.14008af90
nop
mov ecx, 1
call fcn.1400773a8
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400773a8
nop
mov ecx, 1
call fcn.1400773a8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400773a8
nop
mov ecx, 1
call fcn.1400773a8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400773a8
int3