Function at 0x14003cd50
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.1400086e0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140035320
test al, al
je 0x14003d292
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x3c]
lea rdx, [0x1400ced30]
lea rcx, [rbp - 0x20]
call fcn.1400086e0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14003b750
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0xb68
jb 0x14003ce15
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0xb68
mov r8d, 0x16d0
lea rdx, [0x1400cd650]
mov rcx, rbx
call fcn.1400a2890
mov word [rbx + 0x16d0], r14w
jmp 0x14003ce26
lea r9, [0x1400cd650]
mov edx, 0xb68
call fcn.140024c80
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x1197
jb 0x14003ce61
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x1197
mov r8d, 0x232e
lea rdx, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_HP_nNum_3___Infinite_MP_nNum_4___Max_Critical_Chance_Only_works_in_turn_based_battle._n_nNote__only_melee_attacks_can_do_critical_hit._nNum_5___Max_Evade_Chance_Only_works_in_turn_based_battle._nNum_6___100__Drop_Rate_nNum_7___Consumables_Wont_Decrease_nNum_8___Stealth_Mode_nNum_9___One_Hit_Stun_Only_works_in_field_battle__does_not_work_in_turn_based_battle._nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_nCtrlNum_2___Money_Multiplier_Takes_effect_when_you_win_battles._nCtrlNum_3___Edit_MAG_nCtrlNum_4___MAG_Multiplier_Takes_effect_when_you_win_battles._nCtrlNum_5___Get_All_Consumables_Open_the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_6___Get_All_Ingredients__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_7___Get_All_Unidentified_Items__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_8___Get_All_Weapons__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_9___Get_All_Armors__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_0___Get_All_Gears__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_.___Get_All_Accessories__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._n_nAltNum_1___Infinite_Exp_Takes_effect_when_you_win_battles._nAltNum_2___Exp_Multiplier_nAltNum_3___Infinite_A_Exp_Takes_effect_when_you_win_battles._nAltNum_4___A_Exp_Multiplier_nAltNum_5___Set_Game_Speed_n_nEdit_Character_Stats_n_nShiftF1___Edit_Max_HP_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF2___Edit_Max_MP_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF3___Edit_ST_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF4___Edit_MA_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF5___Edit_EN_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF6___Edit_AG_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF7___Edit_LK_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._n_nEdit_Royal_Virtues_n_nShiftF8___Edit_Courage_Takes_effect_when_you_open_the_royal_virtues_menu._n_nThis_option_edits_courage_exp._Max_level_requires_240_exp._nShiftF9___Edit_Wisdom_Takes_effect_when_you_open_the_royal_virtues_menu._n_nThis_option_edits_wisd
mov rcx, rbx
call fcn.1400a2890
mov word [rbx + 0x232e], r14w
jmp 0x14003ce72
lea r9, str._n_nNum_1___God_Mode_Ignore_Hits_nNum_2___Infinite_HP_nNum_3___Infinite_MP_nNum_4___Max_Critical_Chance_Only_works_in_turn_based_battle._n_nNote__only_melee_attacks_can_do_critical_hit._nNum_5___Max_Evade_Chance_Only_works_in_turn_based_battle._nNum_6___100__Drop_Rate_nNum_7___Consumables_Wont_Decrease_nNum_8___Stealth_Mode_nNum_9___One_Hit_Stun_Only_works_in_field_battle__does_not_work_in_turn_based_battle._nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_nNum____Defense_Multiplier_n_nCtrlNum_1___Edit_Money_nCtrlNum_2___Money_Multiplier_Takes_effect_when_you_win_battles._nCtrlNum_3___Edit_MAG_nCtrlNum_4___MAG_Multiplier_Takes_effect_when_you_win_battles._nCtrlNum_5___Get_All_Consumables_Open_the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_6___Get_All_Ingredients__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_7___Get_All_Unidentified_Items__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_8___Get_All_Weapons__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_9___Get_All_Armors__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_0___Get_All_Gears__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._nCtrlNum_.___Get_All_Accessories__the_item_menu__then_activate_this_option__then_leave_and_re_enter_the_item_menu_to_see_the_updated_item_amounts._n_nAltNum_1___Infinite_Exp_Takes_effect_when_you_win_battles._nAltNum_2___Exp_Multiplier_nAltNum_3___Infinite_A_Exp_Takes_effect_when_you_win_battles._nAltNum_4___A_Exp_Multiplier_nAltNum_5___Set_Game_Speed_n_nEdit_Character_Stats_n_nShiftF1___Edit_Max_HP_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF2___Edit_Max_MP_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF3___Edit_ST_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF4___Edit_MA_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF5___Edit_EN_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF6___Edit_AG_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._nShiftF7___Edit_LK_Open_a_characters_details_menu__then_activate_this_option__the_effect_will_be_applied_to_that_character._n_nNote__the_display_values_wont_update_immediately__leave_and_re_enter_the_character_details_menu_to_see_the_updated_stat_values._n_nEdit_Royal_Virtues_n_nShiftF8___Edit_Courage_Takes_effect_when_you_open_the_royal_virtues_menu._n_nThis_option_edits_courage_exp._Max_level_requires_240_exp._nShiftF9___Edit_Wisdom_Takes_effect_when_you_open_the_royal_virtues_menu._n_nThis_option_edits_wisd
mov edx, 0x1197
call fcn.140024c80
mov rcx, rdi
call fcn.14003a3e0
mov rcx, rdi
call fcn.14003a6d0
lea r15, [0x1400ea2d0]
mov esi, dword [0x1400ea674]
test esi, esi
je 0x14003cf3e
mov ebx, dword [0x1400ea670]
test ebx, ebx
je 0x14003cf3e
mov rcx, r15
call fcn.14007ce98
test eax, eax
jne 0x14003d2a6
mov eax, dword [0x1400ea31c]
cmp eax, 0x7fffffff
je 0x14003d2b1
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.14007cea0
mov rcx, rdi
call fcn.14003d320
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400467f0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14003d012
mov rcx, r15
call fcn.14007ce98
test eax, eax
jne 0x14003d2a6
mov eax, dword [0x1400ea31c]
cmp eax, 0x7fffffff
je 0x14003d2b1
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.14007cea0
mov rcx, r15
call fcn.14007ce98
test eax, eax
jne 0x14003d2a6
mov eax, dword [0x1400ea31c]
cmp eax, 0x7fffffff
je 0x14003d2b1
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, [0x14003a0c0]
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.14007cea0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140053a20
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.14007ce98
test eax, eax
jne 0x14003d2a6
mov eax, dword [0x1400ea31c]
cmp eax, 0x7fffffff
je 0x14003d2b1
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.140021930
mov rdx, rax
mov rcx, rdi
call fcn.140035750
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.140021930
mov rdx, rax
mov rcx, rdi
call fcn.140035750
nop
mov rcx, r15
call fcn.14007cea0
mov ecx, 8
call fcn.14007e334
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, [0x140041f80]
xor edx, edx
xor ecx, ecx
call fcn.14008e6cc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003d309
cmp dword [rbp - 0x28], 0
je 0x14003d2fe
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007d670
test eax, eax
jne 0x14003d2fe
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14007e334
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, [0x140041fb0]
xor edx, edx
xor ecx, ecx
call fcn.14008e6cc
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003d2ef
cmp dword [rbp - 0x28], 0
je 0x14003d2e4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007d670
test eax, eax
jne 0x14003d2e4
call fcn.140038aa0
mov ecx, 8
call fcn.14007e334
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, [0x140041df0]
xor edx, edx
xor ecx, ecx
call fcn.14008e6cc
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14003d2d5
cmp dword [rbp - 0x38], 0
je 0x14003d2ca
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007d670
test eax, eax
jne 0x14003d2ca
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [0x1400ea678], al
jne 0x14003d28c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140039d90
cmp byte [0x1400ea678], 0
je 0x14003d270
cmp dword [rbp - 0x38], 0
jne 0x14003d2c4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.14007ce3c
int3
dec eax
mov dword [0x1400ea31c], eax
mov ecx, 6
call fcn.14007ce3c
int3
call fcn.14008e580
nop
mov ecx, 1
call fcn.14007ce3c
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.14007ce3c
nop
mov ecx, 1
call fcn.14007ce3c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007ce3c
nop
mov ecx, 1
call fcn.14007ce3c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.14007ce3c
int3