Function at 0x140035b50
Capabilities:
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.1400046c0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14002f6e0
test al, al
je 0x140036086
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x25]
lea rdx, [0x1400c6ff0]
lea rcx, [rbp - 0x20]
call fcn.1400046c0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140034580
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x9e5
jb 0x140035c15
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x9e5
mov r8d, 0x13ca
lea rdx, [0x1400c7040]
mov rcx, rbx
call fcn.14009d790
mov word [rbx + 0x13ca], r14w
jmp 0x140035c26
lea r9, [0x1400c7040]
mov edx, 0x9e5
call fcn.14001fc30
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0xb0a
jb 0x140035c61
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0xb0a
mov r8d, 0x1614
lea rdx, str._n_nNum_1___Infinite_Health_nNum_2___Clear_Loss_Gauge_nNum_3___Infinite_Stamina_nNum_4___Edit_Max_Encumbrance_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nNum_5___Edit_Gold_nNum_6___Edit_Rift_Crystals_nNum_7___Freeze_Daytime_nNum_8___Daytime_1_Hour_nNum_9___Daytime__1_Hour_nNum_0___Set_Game_Speed_n_nEdit_Player_Stats_n_nCtrlNum_1___Edit_Level_nCtrlNum_2___Edit_Experiences_nCtrlNum_3___Edit_Total_DCP_nCtrlNum_4___Edit_Vocation_DCP__Rank__Works_for_all_vocations__it_takes_about_27700_vocation_dcp_to_max_out_vocation_rank._nCtrlNum_5___Edit_Base_Max_Health_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_6___Edit_Base_Max_Stamina_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_7___Edit_Base_Strength_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_8___Edit_Base_Defense_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_9___Edit_Base_Magick_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_0___Edit_Base_Magick_Defense_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_.___Edit_Base_Knockdown_Power_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._n_nEdit_Main_Pawn_Stats_n_nAltNum_1___Edit_Level_nAltNum_2___Edit_Experiences_nAltNum_3___Edit_Total_DCP_nAltNum_4___Edit_Vocation_DCP__Rank__Works_for_all_vocations__it_takes_about_27700_vocation_dcp_to_max_out_vocation_rank._nAltNum_5___Edit_Base_Max_Health_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_6___Edit_Base_Max_Stamina_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_7___Edit_Base_Strength_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_8___Edit_Base_Defense_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_9___Edit_Base_Magick_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_0___Edit_Base_Magick_Defense_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_.___Edit_Base_Knockdown_Power_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum____Edit_Max_Encumbrance_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._n_n
mov rcx, rbx
call fcn.14009d790
mov word [rbx + 0x1614], r14w
jmp 0x140035c72
lea r9, str._n_nNum_1___Infinite_Health_nNum_2___Clear_Loss_Gauge_nNum_3___Infinite_Stamina_nNum_4___Edit_Max_Encumbrance_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nNum_5___Edit_Gold_nNum_6___Edit_Rift_Crystals_nNum_7___Freeze_Daytime_nNum_8___Daytime_1_Hour_nNum_9___Daytime__1_Hour_nNum_0___Set_Game_Speed_n_nEdit_Player_Stats_n_nCtrlNum_1___Edit_Level_nCtrlNum_2___Edit_Experiences_nCtrlNum_3___Edit_Total_DCP_nCtrlNum_4___Edit_Vocation_DCP__Rank__Works_for_all_vocations__it_takes_about_27700_vocation_dcp_to_max_out_vocation_rank._nCtrlNum_5___Edit_Base_Max_Health_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_6___Edit_Base_Max_Stamina_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_7___Edit_Base_Strength_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_8___Edit_Base_Defense_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_9___Edit_Base_Magick_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_0___Edit_Base_Magick_Defense_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nCtrlNum_.___Edit_Base_Knockdown_Power_This_option_edits_the_players_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._n_nEdit_Main_Pawn_Stats_n_nAltNum_1___Edit_Level_nAltNum_2___Edit_Experiences_nAltNum_3___Edit_Total_DCP_nAltNum_4___Edit_Vocation_DCP__Rank__Works_for_all_vocations__it_takes_about_27700_vocation_dcp_to_max_out_vocation_rank._nAltNum_5___Edit_Base_Max_Health_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_6___Edit_Base_Max_Stamina_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_7___Edit_Base_Strength_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_8___Edit_Base_Defense_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_9___Edit_Base_Magick_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_0___Edit_Base_Magick_Defense_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum_.___Edit_Base_Knockdown_Power_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._nAltNum____Edit_Max_Encumbrance_This_option_edits_the_main_pawns_base_stat__the_final_stat_value_maybe_higher_than_the_input_value._n_n
mov edx, 0xb0a
call fcn.14001fc30
call fcn.140033340
mov rcx, rdi
call fcn.140033500
lea r15, [0x1400de220]
mov esi, dword [0x1400ddbc8]
test esi, esi
je 0x140035d3b
mov ebx, dword [0x1400ddbcc]
test ebx, ebx
je 0x140035d3b
mov rcx, r15
call fcn.140074ebc
test eax, eax
jne 0x14003609a
mov eax, dword [0x1400de26c]
cmp eax, 0x7fffffff
je 0x1400360a5
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.140074ec4
mov rcx, rdi
call fcn.140036110
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.14003f8a0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140035e0f
mov rcx, r15
call fcn.140074ebc
test eax, eax
jne 0x14003609a
mov eax, dword [0x1400de26c]
cmp eax, 0x7fffffff
je 0x1400360a5
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.140074ec4
mov rcx, r15
call fcn.140074ebc
test eax, eax
jne 0x14003609a
mov eax, dword [0x1400de26c]
cmp eax, 0x7fffffff
je 0x1400360a5
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, [0x140033060]
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.140074ec4
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.14004c860
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140074ebc
test eax, eax
jne 0x14003609a
mov eax, dword [0x1400de26c]
cmp eax, 0x7fffffff
je 0x1400360a5
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.14001d380
mov rdx, rax
mov rcx, rdi
call fcn.14002fad0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.14001d380
mov rdx, rax
mov rcx, rdi
call fcn.14002fad0
nop
mov rcx, r15
call fcn.140074ec4
mov ecx, 8
call fcn.140075e64
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, [0x14003ae80]
xor edx, edx
xor ecx, ecx
call fcn.140088b54
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400360fd
cmp dword [rbp - 0x28], 0
je 0x1400360f2
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400751a0
test eax, eax
jne 0x1400360f2
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.140075e64
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, [0x14003aeb0]
xor edx, edx
xor ecx, ecx
call fcn.140088b54
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400360e3
cmp dword [rbp - 0x28], 0
je 0x1400360d8
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400751a0
test eax, eax
jne 0x1400360d8
lea ecx, [rax + 8]
call fcn.140075e64
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, [0x14003acf0]
xor edx, edx
xor ecx, ecx
call fcn.140088b54
mov qword [rbp - 0x40], rax
test rax, rax
je 0x1400360c9
cmp dword [rbp - 0x38], 0
je 0x1400360be
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.1400751a0
test eax, eax
jne 0x1400360be
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [rdi + 0x4b8], al
jne 0x140036080
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140032d60
cmp byte [rdi + 0x4b8], 0
je 0x140036064
cmp dword [rbp - 0x38], 0
jne 0x1400360b8
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140074e0c
int3
dec eax
mov dword [0x1400de26c], eax
mov ecx, 6
call fcn.140074e0c
int3
call fcn.1400889f0
nop
mov ecx, 1
call fcn.140074e0c
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140074e0c
nop
mov ecx, 1
call fcn.140074e0c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074e0c
nop
mov ecx, 1
call fcn.140074e0c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140074e0c
int3