Function at 0x14003b650
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.1400070c0
mov r8d, ebx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140033cc0
test al, al
je 0x14003bb92
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], r14
lea r8d, [r14 + 0x2a]
lea rdx, str._n0ASW_
lea rcx, [rbp - 0x20]
call fcn.1400070c0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14003a050
lea rcx, [rdi + 0x458]
cmp qword [rcx + 0x18], 0x434
jb 0x14003b715
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x434
mov r8d, 0x868
lea rdx, [0x1400ce110]
mov rcx, rbx
call fcn.1400a46e0
mov word [rbx + 0x868], r14w
jmp 0x14003b726
lea r9, [0x1400ce110]
mov edx, 0x434
call fcn.140023620
lea rcx, [rdi + 0x478]
cmp qword [rcx + 0x18], 0x477
jb 0x14003b761
mov rbx, qword [rcx]
mov qword [rcx + 0x10], 0x477
mov r8d, 0x8ee
lea rdx, str._n_nNum_1___Edit_Health_nNum_2___Edit_Gold_nNum_3___Edit_Prestige_nNum_4___Max_Level_of_Fame_nNum_5___Edit_Piety_nNum_6___Max_Level_of_Devotion_nNum_7___Edit_Influence_nNum_8___Max_Level_of_Influence_nNum_9___Edit_Renown_nNum_0___Max_Level_of_Splendor_nNum_.___Edit_Provisions_nNum____Edit_Dread_nNum_____Edit_Stress_n_nEdit_Selected_Character_Stats_n_nCtrlNum_1___Diplomacy_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_2___Martial_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_3___Stewardship_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_4___Intrigue_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_5___Learning_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_6___Prowess_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._n_n
mov rcx, rbx
call fcn.1400a46e0
mov word [rbx + 0x8ee], r14w
jmp 0x14003b772
lea r9, str._n_nNum_1___Edit_Health_nNum_2___Edit_Gold_nNum_3___Edit_Prestige_nNum_4___Max_Level_of_Fame_nNum_5___Edit_Piety_nNum_6___Max_Level_of_Devotion_nNum_7___Edit_Influence_nNum_8___Max_Level_of_Influence_nNum_9___Edit_Renown_nNum_0___Max_Level_of_Splendor_nNum_.___Edit_Provisions_nNum____Edit_Dread_nNum_____Edit_Stress_n_nEdit_Selected_Character_Stats_n_nCtrlNum_1___Diplomacy_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_2___Martial_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_3___Stewardship_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_4___Intrigue_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_5___Learning_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._nCtrlNum_6___Prowess_This_option_edits_the_characters_base_stat__the_final_stat_value_will_be_adjusted_by_the_characters_traits._n_n
mov edx, 0x477
call fcn.140023620
mov rcx, rdi
call fcn.140038ce0
mov rcx, rdi
call fcn.140038fd0
lea r15, [0x1400e52c0]
mov esi, dword [0x1400e540c]
test esi, esi
je 0x14003b83e
mov ebx, dword [0x1400e5408]
test ebx, ebx
je 0x14003b83e
mov rcx, r15
call fcn.140079ac8
test eax, eax
jne 0x14003bba6
mov eax, dword [0x1400e530c]
cmp eax, 0x7fffffff
je 0x14003bbb1
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.140079ad0
mov rcx, rdi
call fcn.14003bc20
lea rbx, [rdi + 0x578]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400453a0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x14003b912
mov rcx, r15
call fcn.140079ac8
test eax, eax
jne 0x14003bba6
mov eax, dword [0x1400e530c]
cmp eax, 0x7fffffff
je 0x14003bbb1
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.140079ad0
mov rcx, r15
call fcn.140079ac8
test eax, eax
jne 0x14003bba6
mov eax, dword [0x1400e530c]
cmp eax, 0x7fffffff
je 0x14003bbb1
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, [0x1400389c0]
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.140079ad0
lea r8, [rdi + 0x478]
lea rdx, [rdi + 0x458]
call fcn.140051d00
mov qword [rbp + 0x48], r15
mov rcx, r15
call fcn.140079ac8
test eax, eax
jne 0x14003bba6
mov eax, dword [0x1400e530c]
cmp eax, 0x7fffffff
je 0x14003bbb1
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.1400202d0
mov rdx, rax
mov rcx, rdi
call fcn.1400340b0
lea rdx, [rdi + 0x478]
lea rcx, [rbp - 0x20]
call fcn.1400202d0
mov rdx, rax
mov rcx, rdi
call fcn.1400340b0
nop
mov rcx, r15
call fcn.140079ad0
mov ecx, 8
call fcn.14007af64
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, [0x140040b30]
xor edx, edx
xor ecx, ecx
call fcn.14008daa4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003bc09
cmp dword [rbp - 0x28], 0
je 0x14003bbfe
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007a2a0
test eax, eax
jne 0x14003bbfe
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
lea ecx, [rax + 8]
call fcn.14007af64
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, [0x140040b60]
xor edx, edx
xor ecx, ecx
call fcn.14008daa4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14003bbef
cmp dword [rbp - 0x28], 0
je 0x14003bbe4
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007a2a0
test eax, eax
jne 0x14003bbe4
call fcn.1400373a0
mov ecx, 8
call fcn.14007af64
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, [0x1400409a0]
xor edx, edx
xor ecx, ecx
call fcn.14008daa4
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14003bbd5
cmp dword [rbp - 0x38], 0
je 0x14003bbca
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
call fcn.14007a2a0
test eax, eax
jne 0x14003bbca
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
cmp byte [0x1400e5410], al
jne 0x14003bb8c
nop
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140038690
cmp byte [0x1400e5410], 0
je 0x14003bb70
cmp dword [rbp - 0x38], 0
jne 0x14003bbc4
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 5
call fcn.140079a6c
int3
dec eax
mov dword [0x1400e530c], eax
mov ecx, 6
call fcn.140079a6c
int3
call fcn.14008d940
nop
mov ecx, 1
call fcn.140079a6c
nop
mov dword [rbp - 0x38], r14d
mov ecx, 6
call fcn.140079a6c
nop
mov ecx, 1
call fcn.140079a6c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140079a6c
nop
mov ecx, 1
call fcn.140079a6c
nop
mov dword [rbp - 0x28], r14d
mov ecx, 6
call fcn.140079a6c
int3