Function at 0x140037b30
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.140005d50
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140031560
test al, al
je 0x140038072
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x3a]
lea rdx, [0x1400c8630]
lea rcx, [rbp - 0x20]
call fcn.140005d50
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140036560
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x7a6
jb 0x140037bf5
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x7a6
mov r8d, 0xf4c
lea rdx, [0x1400c86b0]
mov rcx, rbx
call fcn.14009e030
mov word [rbx + 0xf4c], r14w
jmp 0x140037c06
lea r9, [0x1400c86b0]
mov edx, 0x7a6
call fcn.1400218c0
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0xa82
jb 0x140037c41
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0xa82
mov r8d, 0x1504
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Max_Skybound_Art_Gauge_nNum_4___Max_Link_Takes_effect_when_link_value_increases._nNum_5___Max_Arts_nNum_6___Instant_Skill_Cooldown_nNum_7___Infinite_Recovery_Items_nNum_8___Set_Game_Speed_nNum_9___Set_Movement_Speed_nNum_0___Infinite_Jumps_n_nNum_.___One_Hit_Stun_nNum____Stun_Multiplier_nNum_____Super_Damage_One_Hit_Kills_nNum_____Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Infinite_Exp_Takes_effect_when_killing_enemies._nCtrlNum_2___Exp_Multiplier_Takes_effect_when_killing_enemies._n_nAltNum_1___Edit_Gold_Takes_effect_when_opening_the_esc_menu._nAltNum_2___Edit_MSP_Takes_effect_when_opening_the_esc_menu._nAltNum_3___Edit_Rafale_Coins_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_4___Edit_Crewmate_Cards_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_5___Edit_Knickknack_Vouchers_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_6___Edit_Dalia_Badges_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_7___Obtain_All_Weapon_Materials_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_8___Obtain_All_Consumables_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_9___Obtain_All_World_Items_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_0___Obtain_All_Elemental_Items_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_.___Obtain_All_Monster_Materials_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_____Edit_Revenant_Medallions_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum____Edit_Supreme_Weapon_Essences_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._n_nAltNum____Infinite_Curio_Boxes_Takes_effect_when_you_have_0_curio_box_and_talk_to_the_appraisal_NPC__you_will_get_4_fake_curio_boxes__when_you_appraise_these_4_fake_curio_boxes__they_will_give_you_4_x_250_real_curio_boxes._nAltNum_____Infinite_Transmarvel_Stocks_Takes_effect_when_you_transmute_sigils._n_nNote__transmarvel_is_not_available_until_you_unlock_proud_difficulty._n
mov rcx, rbx
call fcn.14009e030
mov word [rbx + 0x1504], r14w
jmp 0x140037c52
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_Health_nNum_3___Max_Skybound_Art_Gauge_nNum_4___Max_Link_Takes_effect_when_link_value_increases._nNum_5___Max_Arts_nNum_6___Instant_Skill_Cooldown_nNum_7___Infinite_Recovery_Items_nNum_8___Set_Game_Speed_nNum_9___Set_Movement_Speed_nNum_0___Infinite_Jumps_n_nNum_.___One_Hit_Stun_nNum____Stun_Multiplier_nNum_____Super_Damage_One_Hit_Kills_nNum_____Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Infinite_Exp_Takes_effect_when_killing_enemies._nCtrlNum_2___Exp_Multiplier_Takes_effect_when_killing_enemies._n_nAltNum_1___Edit_Gold_Takes_effect_when_opening_the_esc_menu._nAltNum_2___Edit_MSP_Takes_effect_when_opening_the_esc_menu._nAltNum_3___Edit_Rafale_Coins_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_4___Edit_Crewmate_Cards_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_5___Edit_Knickknack_Vouchers_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_6___Edit_Dalia_Badges_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_7___Obtain_All_Weapon_Materials_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_8___Obtain_All_Consumables_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_9___Obtain_All_World_Items_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_0___Obtain_All_Elemental_Items_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_.___Obtain_All_Monster_Materials_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum_____Edit_Revenant_Medallions_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._nAltNum____Edit_Supreme_Weapon_Essences_Takes_effect_when_opening_the_inventory_menu._n_nNote__item_amounts_may_be_restored_when_loading_saved_game._n_nAltNum____Infinite_Curio_Boxes_Takes_effect_when_you_have_0_curio_box_and_talk_to_the_appraisal_NPC__you_will_get_4_fake_curio_boxes__when_you_appraise_these_4_fake_curio_boxes__they_will_give_you_4_x_250_real_curio_boxes._nAltNum_____Infinite_Transmarvel_Stocks_Takes_effect_when_you_transmute_sigils._n_nNote__transmarvel_is_not_available_until_you_unlock_proud_difficulty._n
mov edx, 0xa82
call fcn.1400218c0
mov rcx, rdi
call fcn.1400351f0
mov rcx, rdi
call fcn.1400354e0
lea r15, [0x1400e6270]
mov esi, dword [0x1400e5c48]
test esi, esi
je 0x140037d1e
mov ebx, dword [0x1400e5c4c]
test ebx, ebx
je 0x140037d1e
mov rcx, r15
call fcn.140076b28
test eax, eax
jne 0x140038086
mov eax, dword [0x1400e62bc]
cmp eax, 0x7fffffff
je 0x140038091
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.140076b30
mov rcx, rdi
call fcn.140038100
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140041890
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140037df2
mov rcx, r15
call fcn.140076b28
test eax, eax
jne 0x140038086
mov eax, dword [0x1400e62bc]
cmp eax, 0x7fffffff
je 0x140038091
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.140076b30
mov rcx, r15
call fcn.140076b28
test eax, eax
jne 0x140038086
mov eax, dword [0x1400e62bc]
cmp eax, 0x7fffffff
je 0x140038091
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, [0x140034ed0]
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.140076b30
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004ef90
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140076b28
test eax, eax
jne 0x140038086
mov eax, dword [0x1400e62bc]
cmp eax, 0x7fffffff
je 0x140038091
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.14001ebb0
mov rdx, rax
mov rcx, rdi
call fcn.140031950
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001ebb0
mov rdx, rax
mov rcx, rdi
call fcn.140031950
nop
mov rcx, r15
call fcn.140076b30
mov ecx, 8
call fcn.140077ad4
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, [0x14003ce70]
xor edx, edx
xor ecx, ecx
call fcn.140087e6c
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400380e9
cmp dword [rbp - 0x28], 0
je 0x1400380de
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140076e10
test eax, eax
jne 0x1400380de
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140077ad4
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, [0x14003cea0]
xor edx, edx
xor ecx, ecx
call fcn.140087e6c
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400380cf
cmp dword [rbp - 0x28], 0
je 0x1400380c4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140076e10
test eax, eax
jne 0x1400380c4
lea ecx, [rax + 8]
call fcn.140077ad4
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, [0x14003cce0]
xor edx, edx
xor ecx, ecx
call fcn.140087e6c
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400380b5
cmp dword [rbp - 0x38], 0
je 0x1400380aa
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.140076e10
test eax, eax
jne 0x1400380aa
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x14003806c
nop word [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140034be0
cmp byte [rdi + 0x4b8], 0
je 0x140038050
cmp dword [rbp - 0x38], 0
jne 0x1400380a4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140076a78
int3
dec eax
mov dword [0x1400e62bc], eax
mov ecx, 6
call fcn.140076a78
int3
call fcn.140087d20
nop
mov ecx, 1
call fcn.140076a78
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140076a78
nop
mov ecx, 1
call fcn.140076a78
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076a78
nop
mov ecx, 1
call fcn.140076a78
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140076a78
int3