Function at 0x140038560
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.1400063b0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140031f90
test al, al
je 0x140038aa2
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x26]
lea rdx, [0x1400c9670]
lea rcx, [rbp - 0x20]
call fcn.1400063b0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036f90
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x4b8
jb 0x140038625
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x4b8
mov r8d, 0x970
lea rdx, [0x1400c96c0]
mov rcx, rbx
call fcn.14009ed80
mov word [rbx + 0x970], r14w
jmp 0x140038636
lea r9, [0x1400c96c0]
mov edx, 0x4b8
call fcn.140022080
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x64d
jb 0x140038671
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x64d
mov r8d, 0xc9a
lea rdx, str._n_nNum_1___God_Mode_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Fast_Skill_Cooldown_Activate_before_using_skills._nNum_5___Infinite_Ammo_When_activated__total_ammo_wont_decrease._nNum_6___No_Reload_nNum_7___Instant_Reload_nNum_8___Infinite_Weapon_Mod_Ammo_When_activated__weapon_mod_ammo_wont_decrease._nNum_9___Super_Accuracy_nNum_0___No_Recoil_nNum_.___All_Guns_Become_Fully_Automatic_nNum____Rapid_Fire_n_nF1___Stealth_Mode_When_activated__enemies_wont_be_able_to_detect_you._n_nIf_you_got_detected_before_using_this_option__youll_remain_detected_by_those_who_already_detected_you._nF2___Infinite_Buff_Duration_n_nCtrlNum_1___100__Drop_Rate_nCtrlNum_2___Max_Critical_Chance_nCtrlNum_3___Super_Damage_One_Hit_Kills_nCtrlNum_4___Damage_Multiplier_nCtrlNum_5___Set_Player_Speed_nCtrlNum_6___Set_Movement_Speed_nCtrlNum_7___Set_Game_Speed_n_nAltNum_1___Edit_Scraps_Open_inventory_first__then_activate_this_option_to_edit_scraps._n_nNote_you_must_have_at_least_100_scraps_for_it_to_work._nAltNum_2___Consumables_Wont_Decrease_Only_works_if_consumable_amount_is_greater_than_1._nAltNum_3___Infinite_Dragon_Hearts_Takes_effect_when_you_restore_dragon_hearts_at_any_checkpoints__you_will_get_990_extra_dragon_hearts._nAltNum_4___Ignore_Crafting__Upgrade_Requirements_Activate_before_talking_to_NPCs._n_nWhen_activated__you_can_craft_and_upgrade_equipments_even_if_you_dont_have_enough_materials._But_if_you_have_materials__they_will_be_used._nAltNum_5___Infinite_Archetype_Exp_Takes_effect_when_you_gain_archetype_exp._nAltNum_6___Archetype_Exp_Multiplier_nAltNum_7___Edit_Total_Trait_Points_n_n
mov rcx, rbx
call fcn.14009ed80
mov word [rbx + 0xc9a], r14w
jmp 0x140038682
lea r9, str._n_nNum_1___God_Mode_nNum_2___Infinite_Health_nNum_3___Infinite_Stamina_nNum_4___Fast_Skill_Cooldown_Activate_before_using_skills._nNum_5___Infinite_Ammo_When_activated__total_ammo_wont_decrease._nNum_6___No_Reload_nNum_7___Instant_Reload_nNum_8___Infinite_Weapon_Mod_Ammo_When_activated__weapon_mod_ammo_wont_decrease._nNum_9___Super_Accuracy_nNum_0___No_Recoil_nNum_.___All_Guns_Become_Fully_Automatic_nNum____Rapid_Fire_n_nF1___Stealth_Mode_When_activated__enemies_wont_be_able_to_detect_you._n_nIf_you_got_detected_before_using_this_option__youll_remain_detected_by_those_who_already_detected_you._nF2___Infinite_Buff_Duration_n_nCtrlNum_1___100__Drop_Rate_nCtrlNum_2___Max_Critical_Chance_nCtrlNum_3___Super_Damage_One_Hit_Kills_nCtrlNum_4___Damage_Multiplier_nCtrlNum_5___Set_Player_Speed_nCtrlNum_6___Set_Movement_Speed_nCtrlNum_7___Set_Game_Speed_n_nAltNum_1___Edit_Scraps_Open_inventory_first__then_activate_this_option_to_edit_scraps._n_nNote_you_must_have_at_least_100_scraps_for_it_to_work._nAltNum_2___Consumables_Wont_Decrease_Only_works_if_consumable_amount_is_greater_than_1._nAltNum_3___Infinite_Dragon_Hearts_Takes_effect_when_you_restore_dragon_hearts_at_any_checkpoints__you_will_get_990_extra_dragon_hearts._nAltNum_4___Ignore_Crafting__Upgrade_Requirements_Activate_before_talking_to_NPCs._n_nWhen_activated__you_can_craft_and_upgrade_equipments_even_if_you_dont_have_enough_materials._But_if_you_have_materials__they_will_be_used._nAltNum_5___Infinite_Archetype_Exp_Takes_effect_when_you_gain_archetype_exp._nAltNum_6___Archetype_Exp_Multiplier_nAltNum_7___Edit_Total_Trait_Points_n_n
mov edx, 0x64d
call fcn.140022080
mov rcx, rdi
call fcn.140035c20
mov rcx, rdi
call fcn.140035f10
lea r15, [0x1400e32a0]
mov esi, dword [0x1400e2c7c]
test esi, esi
je 0x14003874e
mov ebx, dword [0x1400e2c78]
test ebx, ebx
je 0x14003874e
mov rcx, r15
call fcn.140077878
test eax, eax
jne 0x140038ab6
mov eax, dword [0x1400e32ec]
cmp eax, 0x7fffffff
je 0x140038ac1
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.140077880
mov rcx, rdi
call fcn.140038b30
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400422c0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140038822
mov rcx, r15
call fcn.140077878
test eax, eax
jne 0x140038ab6
mov eax, dword [0x1400e32ec]
cmp eax, 0x7fffffff
je 0x140038ac1
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.140077880
mov rcx, r15
call fcn.140077878
test eax, eax
jne 0x140038ab6
mov eax, dword [0x1400e32ec]
cmp eax, 0x7fffffff
je 0x140038ac1
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, [0x140035900]
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.140077880
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004f840
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140077878
test eax, eax
jne 0x140038ab6
mov eax, dword [0x1400e32ec]
cmp eax, 0x7fffffff
je 0x140038ac1
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.14001f340
mov rdx, rax
mov rcx, rdi
call fcn.140032380
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001f340
mov rdx, rax
mov rcx, rdi
call fcn.140032380
nop
mov rcx, r15
call fcn.140077880
mov ecx, 8
call fcn.140078824
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, [0x14003d8a0]
xor edx, edx
xor ecx, ecx
call fcn.140088bbc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038b19
cmp dword [rbp - 0x28], 0
je 0x140038b0e
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077b60
test eax, eax
jne 0x140038b0e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140078824
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, [0x14003d8d0]
xor edx, edx
xor ecx, ecx
call fcn.140088bbc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140038aff
cmp dword [rbp - 0x28], 0
je 0x140038af4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077b60
test eax, eax
jne 0x140038af4
lea ecx, [rax + 8]
call fcn.140078824
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, [0x14003d710]
xor edx, edx
xor ecx, ecx
call fcn.140088bbc
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140038ae5
cmp dword [rbp - 0x38], 0
je 0x140038ada
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140077b60
test eax, eax
jne 0x140038ada
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x140038a9c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140035610
cmp byte [rdi + 0x4b8], 0
je 0x140038a80
cmp dword [rbp - 0x38], 0
jne 0x140038ad4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.1400777c8
int3
dec eax
mov dword [0x1400e32ec], eax
mov ecx, 6
call fcn.1400777c8
int3
call fcn.140088a70
nop
mov ecx, 1
call fcn.1400777c8
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.1400777c8
nop
mov ecx, 1
call fcn.1400777c8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400777c8
nop
mov ecx, 1
call fcn.1400777c8
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.1400777c8
int3