Function at 0x14000ff30
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, 0xd0
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x69], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
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.1400028f0
mov r8d, ebx
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.14000bd10
test al, al
je 0x140010582
lea rcx, [rdi + 0x380]
lea r8d, [r12 + 6]
lea rdx, [0x14006bd18]
call fcn.1400022f0
lea rcx, [rdi + 0x3c0]
lea r8d, [r12 + 0xb]
lea rdx, str.v1.0
call fcn.1400022f0
lea r8d, [r12 + 8]
lea rdx, str.Wartales
lea rcx, [rdi + 0x3a0]
call fcn.1400022f0
lea rcx, [rdi + 0x3e0]
lea r8d, [r12 + 0x14]
lea rdx, str.v1.0_Plus_16_Trainer
call fcn.1400022f0
nop
mov r15, qword [rdi + 0x3b0]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov ecx, r12d
mov qword [rbp + 0x17], rcx
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x1f], rdx
mov byte [rbp + 7], cl
mov dword [rbp - 0x69], 1
cmp r15, rdx
jbe 0x140010053
mov rdx, r15
lea rcx, [rbp + 7]
call fcn.1400063e0
mov ecx, r12d
mov qword [rbp + 0x17], rcx
mov esi, r12d
mov rdx, qword [rbp + 0x1f]
jmp 0x14001005b
mov rsi, r12
test r15, r15
je 0x1400100c6
movzx ebx, byte [rbp - 0x49]
nop
lea rax, [rdi + 0x3a0]
cmp qword [rdi + 0x3b8], 7
jbe 0x140010078
mov rax, qword [rdi + 0x3a0]
movzx r9d, byte [rax + rsi*2]
cmp rcx, rdx
jae 0x1400100a2
lea rax, [rcx + 1]
mov qword [rbp + 0x17], rax
lea rax, [rbp + 7]
cmp rdx, 0xf
cmova rax, qword [rbp + 7]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400100b4
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 7]
call fcn.140002bb0
inc rsi
cmp rsi, r15
jae 0x1400100c6
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x17]
jmp 0x140010060
mov rdx, qword [0x14007e7e8]
cmp rdx, 0xf
jbe 0x140010107
mov rcx, qword [0x14007e7d0]
inc rdx
cmp rdx, 0x1000
jb 0x140010102
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400105c8
mov rcx, r8
call fcn.140035420
movups xmm0, xmmword [rbp + 7]
movaps xmmword [0x14007e7d0], xmm0
movups xmm1, xmmword [rbp + 0x17]
movaps xmmword [0x14007e7e0], xmm1
xor r8d, r8d
lea rdx, [0x140067e7e]
lea rcx, [0x14007e7b0]
call fcn.140002100
lea rcx, [rdi + 0x400]
mov r8d, 0x2e2
lea rdx, [0x14006bd90]
call fcn.1400022f0
lea rcx, [rdi + 0x420]
mov r8d, 0x534
lea rdx, str._n_nNum_1___God_Mode_Enemy_attacks_will_do_no_damage_to_player__but_you_may_still_receive_damage_from_debuffs_such_as_poison_and_burn._nNum_2___No_Fatigue_nNum_3___Zero_Suspicion_nNum_4___Unlimited_Run_Duration_nNum_5___Edit_Skill_Points_nNum_6___Super_Carrying_Capacity_nNum_7___Unlimited_XP_Takes_effect_when_you_win_a_battle__you_will_gain_9999999_XP._n_nNote_the_level_cap_is_12_in_the_current_game_version__this_may_change_in_future_game_versions._nNum_8___XP_Multiplier_Takes_effect_when_you_win_a_battle._n_nNote_the_level_cap_is_12_in_the_current_game_version__this_may_change_in_future_game_versions._nNum_9___Set_Game_Speed_nNum_0___Super_Damage_One_Hit_Kills_nNum_.___Damage_Multiplier_n_nCtrlNum_1___Edit_Gold_If_the_value_in_game_doesnt_change__try_saving_then_reload_the_game._nCtrlNum_2___Edit_Influence_If_the_value_in_game_doesnt_change__try_saving_then_reload_the_game._nCtrlNum_3___Edit_Valor_Points_If_the_value_in_game_doesnt_change__try_saving_then_reload_the_game._nCtrlNum_4___Edit_Knowledge_Points_You_must_have_at_least_1_knowledge_point_for_it_to_work._n_nIf_the_value_in_game_doesnt_change__try_saving_then_reload_the_game._nCtrlNum_5___Set_Mouse_Hover_Item_Amount_Works_for_the_mouse_hovered_item._n_nIf_the_mouse_is_not_hovering_any_item__then_it_will_work_for_the_previous_mouse_hovered_item._n_n
call fcn.1400022f0
mov rcx, rdi
call fcn.14000f1d0
mov rcx, rdi
call fcn.14000f4d0
lea r14, [0x14007e860]
mov esi, dword [0x14007e2dc]
test esi, esi
je 0x140010231
mov ebx, dword [0x14007e2d8]
test ebx, ebx
je 0x140010231
mov rcx, r14
call fcn.140034c24
test eax, eax
jne 0x1400105aa
mov eax, dword [0x14007e8ac]
cmp eax, 0x7fffffff
je 0x1400105b5
mov dword [rbp - 0x59], 9
mov dword [rbp - 0x69], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8d, 4
lea rdx, [rbp - 0x59]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x69], esi
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x69], ebx
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034c2c
mov rcx, rdi
call fcn.140010630
lea rbx, [rdi + 0x520]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.140012fb0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x140010305
mov rcx, r14
call fcn.140034c24
test eax, eax
jne 0x1400105aa
mov eax, dword [0x14007e8ac]
cmp eax, 0x7fffffff
je 0x1400105b5
mov dword [rbp - 0x69], 3
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp - 0x69], eax
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 8
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034c2c
mov rcx, r14
call fcn.140034c24
test eax, eax
jne 0x1400105aa
mov eax, dword [0x14007e8ac]
cmp eax, 0x7fffffff
je 0x1400105b5
mov dword [rbp - 0x69], 5
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x14000eee0]
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 8
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call fcn.140034c2c
lea r8, [rdi + 0x420]
lea rdx, [rdi + 0x400]
call fcn.14002a450
mov qword [rbp + 7], r14
mov rcx, r14
call fcn.140034c24
test eax, eax
jne 0x1400105aa
mov eax, dword [0x14007e8ac]
cmp eax, 0x7fffffff
je 0x1400105b5
mov dword [rbp - 0x69], 4
mov dword [rbp - 0x59], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x59]
mov r8d, 4
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x400]
lea rcx, [rbp - 0x19]
call fcn.140012880
mov rdx, rax
mov rcx, rdi
call fcn.14000c060
lea rdx, [rdi + 0x420]
lea rcx, [rbp - 0x19]
call fcn.140012880
mov rdx, rax
mov rcx, rdi
call fcn.14000c060
nop
mov rcx, r14
call fcn.140034c2c
mov ecx, 8
call fcn.140035454
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012f00]
xor edx, edx
xor ecx, ecx
call fcn.140040848
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140010613
cmp dword [rbp - 0x51], 0
je 0x140010608
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034b84
test eax, eax
jne 0x140010608
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
lea ecx, [rax + 8]
call fcn.140035454
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012f30]
xor edx, edx
xor ecx, ecx
call fcn.140040848
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400105f9
cmp dword [rbp - 0x51], 0
je 0x1400105ee
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034b84
test eax, eax
jne 0x1400105ee
lea ecx, [rax + 8]
call fcn.140035454
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140012d70]
xor edx, edx
xor ecx, ecx
call fcn.140040848
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400105df
cmp dword [rbp - 0x31], 0
je 0x1400105d4
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140034b84
test eax, eax
jne 0x1400105d4
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
cmp byte [rdi + 0x460], al
jne 0x14001057c
nop
mov rcx, rdi
call fcn.14000ed10
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0x460], 0
je 0x140010560
cmp dword [rbp - 0x31], 0
jne 0x1400105ce
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140035400
lea r11, [rsp + 0xd0]
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.140034ae8
int3
dec eax
mov dword [0x14007e8ac], eax
mov ecx, 6
call fcn.140034ae8
nop
call fcn.14003c24c
nop
call fcn.14003f99c
nop
mov ecx, 1
call fcn.140034ae8
nop
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.140034ae8
nop
mov ecx, 1
call fcn.140034ae8
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call fcn.140034ae8
nop
mov ecx, 1
call fcn.140034ae8
nop
mov dword [rbp - 0x51], r12d
mov ecx, 6
call fcn.140034ae8
int3