Function at 0x140038390
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.140006520
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140031db0
test al, al
je 0x1400388d2
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x25]
lea rdx, [0x1400c9670]
lea rcx, [rbp - 0x20]
call fcn.140006520
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036dc0
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x454
jb 0x140038455
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x454
mov r8d, 0x8a8
lea rdx, [0x1400c96c0]
mov rcx, rbx
call fcn.14009ef00
mov word [rbx + 0x8a8], r14w
jmp 0x140038466
lea r9, [0x1400c96c0]
mov edx, 0x454
call fcn.140022110
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x5d3
jb 0x1400384a1
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.14009ef00
mov word [rbx + 0xba6], r14w
jmp 0x1400384b2
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.140022110
mov rcx, rdi
call fcn.140035a50
mov rcx, rdi
call fcn.140035d40
lea r15, [0x1400e3270]
mov esi, dword [0x1400e2c48]
test esi, esi
je 0x14003857e
mov ebx, dword [0x1400e2c4c]
test ebx, ebx
je 0x14003857e
mov rcx, r15
call fcn.1400779f8
test eax, eax
jne 0x1400388e6
mov eax, dword [0x1400e32bc]
cmp eax, 0x7fffffff
je 0x1400388f1
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.140077a00
mov rcx, rdi
call fcn.140038960
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400420f0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140038652
mov rcx, r15
call fcn.1400779f8
test eax, eax
jne 0x1400388e6
mov eax, dword [0x1400e32bc]
cmp eax, 0x7fffffff
je 0x1400388f1
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.140077a00
mov rcx, r15
call fcn.1400779f8
test eax, eax
jne 0x1400388e6
mov eax, dword [0x1400e32bc]
cmp eax, 0x7fffffff
je 0x1400388f1
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, [0x140035730]
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.140077a00
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004f800
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.1400779f8
test eax, eax
jne 0x1400388e6
mov eax, dword [0x1400e32bc]
cmp eax, 0x7fffffff
je 0x1400388f1
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.14001f400
mov rdx, rax
mov rcx, rdi
call fcn.1400321a0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f400
mov rdx, rax
mov rcx, rdi
call fcn.1400321a0
nop
mov rcx, r15
call fcn.140077a00
mov ecx, 8
call fcn.1400789a4
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, [0x14003d6d0]
xor edx, edx
xor ecx, ecx
call fcn.140088d3c
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038949
cmp dword [rbp - 0x28], 0
je 0x14003893e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077ce0
test eax, eax
jne 0x14003893e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.1400789a4
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, [0x14003d700]
xor edx, edx
xor ecx, ecx
call fcn.140088d3c
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003892f
cmp dword [rbp - 0x28], 0
je 0x140038924
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077ce0
test eax, eax
jne 0x140038924
lea ecx, [rax + 8]
call fcn.1400789a4
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, [0x14003d540]
xor edx, edx
xor ecx, ecx
call fcn.140088d3c
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140038915
cmp dword [rbp - 0x38], 0
je 0x14003890a
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077ce0
test eax, eax
jne 0x14003890a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x1400388cc
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140035430
cmp byte [rdi + 0x4b8], 0
je 0x1400388b0
cmp dword [rbp - 0x38], 0
jne 0x140038904
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140077948
int3
dec eax
mov dword [0x1400e32bc], eax
mov ecx, 6
call fcn.140077948
int3
call fcn.140088bf0
nop
mov ecx, 1
call fcn.140077948
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140077948
nop
mov ecx, 1
call fcn.140077948
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140077948
nop
mov ecx, 1
call fcn.140077948
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140077948
int3