Function at 0x14000fa40
Capabilities:
Create thread
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
xor r12d, r12d
mov dword [rbp - 0x59], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
lea r8d, [r12 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x39]
call fcn.140002750
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [rbp - 0x39]
mov rcx, rbx
call fcn.14000b830
test al, al
je 0x140010092
lea rcx, [rbx + 0x380]
lea r8d, [r12 + 0xc]
lea rdx, str._n0sYy
call fcn.1400022b0
lea rcx, [rbx + 0x3c0]
lea r8d, [r12 + 0x12]
lea rdx, str.v1.0_v1.04
call fcn.1400022b0
mov esi, reloc.OLEAUT32.dll_SafeArrayDestroy
mov r8d, esi
lea rdx, str.Persona_5_Royal
lea rcx, [rbx + 0x3a0]
call fcn.1400022b0
lea rcx, [rbx + 0x3e0]
lea r8d, [r12 + 0x1a]
lea rdx, str.v1.0_v1.04_Plus_34_Trainer
call fcn.1400022b0
nop
mov r15, qword [rbx + 0x3b0]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov ecx, r12d
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], rsi
mov byte [rbp + 7], cl
mov dword [rbp - 0x59], 1
cmp r15, 0x10
jb 0x14000fb60
mov rdx, r15
lea rcx, [rbp + 7]
call fcn.140005f40
mov ecx, r12d
mov qword [rbp + 0x17], rcx
mov edi, r12d
mov rsi, qword [rbp + 0x1f]
jmp 0x14000fb70
mov rdi, r12
test r15, r15
je 0x14000fbd4
nop dword [rax + rax]
lea rax, [rbx + 0x3a0]
cmp qword [rbx + 0x3b8], 7
jbe 0x14000fb88
mov rax, qword [rbx + 0x3a0]
movzx r9d, byte [rax + rdi*2]
cmp rcx, rsi
jae 0x14000fbb2
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rsi, 0xf
cmova rax, qword [rbp + 7]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000fbc2
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 7]
call fcn.140002a00
inc rdi
cmp rdi, r15
jae 0x14000fbd4
mov rsi, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
jmp 0x14000fb70
mov rdx, qword [0x140080448]
cmp rdx, 0xf
jbe 0x14000fc15
mov rcx, qword [0x140080430]
inc rdx
cmp rdx, 0x1000
jb 0x14000fc10
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400100d8
mov rcx, r8
call fcn.140035720
movups xmm0, xmmword [rbp + 7]
movaps xmmword [0x140080430], xmm0
movups xmm1, xmmword [rbp + 0x17]
movaps xmmword [0x140080440], xmm1
mov r8d, 7
lea rdx, str.6356403
lea rcx, [0x140080410]
call fcn.1400020c0
lea rcx, [rbx + 0x400]
mov r8d, 0x76b
lea rdx, [0x14006bdd0]
call fcn.1400022b0
lea rcx, [rbx + 0x420]
mov r8d, 0xc2a
lea rdx, str._n_nNum_1___Infinite_HP_Only_works_in_battle._nNum_2___Infinite_SP_Only_works_in_battle._nNum_3___Infinite_Bullets_nNum_4___Melee_Skills_Dont_Cost_HP_When_activated__HP_wont_decrease_when_using_melee_skills._nNum_5___Items_Wont_Decrease_Works_for_most_items_such_as_consumables__tools__materials__and_essentials__but_does_not_work_for_treasures_and_skill_cards._n_nWhen_using_items_in_the_item_menu__the_item_amount_may_appear_to_decrease__but_the_actual_amount_is_not_changed__exit_the_item_menu_and_re_enter_to_see_the_item_amounts_restore._nNum_6___Edit_Security_Level_nNum_7___Infinite_Exp_Takes_effect_when_you_win_a_battle._Note_theres_a_limit_on_how_many_exp_you_can_get_per_battle__you_may_need_to_fight_10_battles_in_order_to_reach_max_level._nNum_8___Exp_Multiplier_nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_nCtrlNum_2___Money_Multiplier_nCtrlNum_3___Edit_P_Medals_n_nCtrlF1___Obtain_All_Consumables__Amount:__nCtrlF2___Obtain_All_Tools__Amount:__nCtrlF3___Obtain_All_Materials__Amount:__nCtrlF4___Obtain_All_Skill_Cards__Amount:__nCtrlF5___Obtain_All_Melee_Weapons__Amount:__nCtrlF6___Obtain_All_Ranged_Weapons__Amount:__nCtrlF7___Obtain_All_Protectors__Amount:__nCtrlF8___Obtain_All_Accessories__Amount:__nCtrlF9___Obtain_All_Outfits__Amount:__n_nEdit_Social_Stats_n_nAltNum_1___Knowledge_nAltNum_2___Guts_nAltNum_3___Proficiency_nAltNum_4___Kindness_nAltNum_5___Charm_n_nEdit_Persona_Stats_n_nAltNum_6___St_Open_a_personas_stats_menu__activate_editor_option__the_effect_will_be_applied_to_that_persona._n_nAfter_youre_done_editing__exit_all_menus__and_re_enter_that_personas_stats_menu_to_see_the_value_changes._n_nThis_option_edits_personas_base_stat__the_final_stat_may_not_be_the_same_as_the_editor_value._nAltNum_7___Ma_Open_a_personas_stats_menu__activate_editor_option__the_effect_will_be_applied_to_that_persona._n_nAfter_youre_done_editing__exit_all_menus__and_re_enter_that_personas_stats_menu_to_see_the_value_changes._n_nThis_option_edits_personas_base_stat__the_final_stat_may_not_be_the_same_as_the_editor_value._nAltNum_8___En_Open_a_personas_stats_menu__activate_editor_option__the_effect_will_be_applied_to_that_persona._n_nAfter_youre_done_editing__exit_all_menus__and_re_enter_that_personas_stats_menu_to_see_the_value_changes._n_nThis_option_edits_personas_base_stat__the_final_stat_may_not_be_the_same_as_the_editor_value._nAltNum_9___Ag_Open_a_personas_stats_menu__activate_editor_option__the_effect_will_be_applied_to_that_persona._n_nAfter_youre_done_editing__exit_all_menus__and_re_enter_that_personas_stats_menu_to_see_the_value_changes._n_nThis_option_edits_personas_base_stat__the_final_stat_may_not_be_the_same_as_the_editor_value._nAltNum_0___Lu_Open_a_personas_stats_menu__activate_editor_option__the_effect_will_be_applied_to_that_persona._n_nAfter_youre_done_editing__exit_all_menus__and_re_enter_that_personas_stats_menu_to_see_the_value_changes._n_nThis_option_edits_personas_base_stat__the_final_stat_may_not_be_the_same_as_the_editor_value._n_n
call fcn.1400022b0
mov rcx, rbx
call fcn.14000ece0
mov rcx, rbx
call fcn.14000efe0
lea r14, [0x1400804c0]
mov esi, dword [0x14007ff3c]
test esi, esi
je 0x14000fd42
mov edi, dword [0x14007ff38]
test edi, edi
je 0x14000fd42
mov rcx, r14
call fcn.140034f24
test eax, eax
jne 0x1400100ba
mov eax, dword [0x14008050c]
cmp eax, 0x7fffffff
je 0x1400100c5
mov dword [rbp - 0x49], 9
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x59], esi
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x59], edi
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034f2c
mov rcx, rbx
call fcn.140010140
lea rdi, [rbx + 0x520]
mov r8, rdi
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140012ab0
mov rax, qword [rdi + 8]
cmp rax, qword [rdi]
je 0x14000fe16
mov rcx, r14
call fcn.140034f24
test eax, eax
jne 0x1400100ba
mov eax, dword [0x14008050c]
cmp eax, 0x7fffffff
je 0x1400100c5
mov dword [rbp - 0x59], 3
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
mov dword [rbp - 0x59], eax
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rdi]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 8
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034f2c
mov rcx, r14
call fcn.140034f24
test eax, eax
jne 0x1400100ba
mov eax, dword [0x14008050c]
cmp eax, 0x7fffffff
je 0x1400100c5
mov dword [rbp - 0x59], 5
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x14000e9e0]
mov qword [rbp - 0x59], rax
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 8
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034f2c
lea r8, [rbx + 0x420]
lea rdx, [rbx + 0x400]
call fcn.14002a7f0
mov qword [rbp + 7], r14
mov rcx, r14
call fcn.140034f24
test eax, eax
jne 0x1400100ba
mov eax, dword [0x14008050c]
cmp eax, 0x7fffffff
je 0x1400100c5
mov dword [rbp - 0x59], 4
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbx + 0x400]
lea rcx, [rbp - 0x19]
call fcn.140012390
mov rdx, rax
mov rcx, rbx
call fcn.14000bb80
lea rdx, [rbx + 0x420]
lea rcx, [rbp - 0x19]
call fcn.140012390
mov rdx, rax
mov rcx, rbx
call fcn.14000bb80
nop
mov rcx, r14
call fcn.140034f2c
mov ecx, 8
call fcn.140035754
mov qword [rax], rbx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012a00]
xor edx, edx
xor ecx, ecx
call fcn.140040b48
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140010123
cmp dword [rbp - 0x41], 0
je 0x140010118
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034e84
test eax, eax
jne 0x140010118
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm0
lea ecx, [rax + 8]
call fcn.140035754
mov qword [rax], rbx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x41]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012a30]
xor edx, edx
xor ecx, ecx
call fcn.140040b48
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140010109
cmp dword [rbp - 0x41], 0
je 0x1400100fe
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034e84
test eax, eax
jne 0x1400100fe
lea ecx, [rax + 8]
call fcn.140035754
mov qword [rax], rbx
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012880]
xor edx, edx
xor ecx, ecx
call fcn.140040b48
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400100ef
cmp dword [rbp - 0x31], 0
je 0x1400100e4
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034e84
test eax, eax
jne 0x1400100e4
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
cmp byte [rbx + 0x460], al
jne 0x14001008c
nop
mov rcx, rbx
call fcn.14000e800
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rbx + 0x460], 0
je 0x140010070
cmp dword [rbp - 0x31], 0
jne 0x1400100de
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140035700
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 5
call fcn.140034de8
int3
dec eax
mov dword [0x14008050c], eax
mov ecx, 6
call fcn.140034de8
nop
call fcn.14003c54c
nop
call fcn.14003fc9c
nop
mov ecx, 1
call fcn.140034de8
nop
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.140034de8
nop
mov ecx, 1
call fcn.140034de8
nop
mov dword [rbp - 0x41], r12d
mov ecx, 6
call fcn.140034de8
nop
mov ecx, 1
call fcn.140034de8
nop
mov dword [rbp - 0x41], r12d
mov ecx, 6
call fcn.140034de8
int3