Function at 0x140012ee0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14008b048]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
xor r12d, r12d
mov qword [rbp - 0x19], r12
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
lea r8d, [r12 + 0x16]
lea rdx, str.FLiNGTrainerNamedPipe_
lea rcx, [rbp - 0x19]
call fcn.1400040a0
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.14000efa0
test al, al
je 0x140013446
lea rcx, [rdi + 0x7e8]
xor r8d, r8d
lea rdx, [0x140075468]
call fcn.1400040a0
lea rcx, [rdi + 0x690]
lea r8d, [r12 + 0xb]
lea rdx, [0x1400791d8]
call fcn.1400040a0
lea rcx, [rdi + 0x6d0]
lea r8d, [r12 + 0x14]
lea rdx, str.v1.0_v1.2.10
call fcn.1400040a0
lea r8d, [r12 + 0x1c]
lea rdx, str.Mount__Blade_II:_Bannerlord
lea rcx, [rdi + 0x6b0]
call fcn.1400040a0
lea rcx, [rdi + 0x6f0]
lea r8d, [r12 + 0x1c]
lea rdx, str.v1.0_v1.2.10_Plus_33_Trainer
call fcn.1400040a0
lea rdx, [rdi + 0x6b0]
lea rcx, [rbp + 7]
call fcn.140018ee0
mov rdx, rax
lea rcx, [0x14008ea60]
call fcn.140003ea0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x14001302c
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013027
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013482
call fcn.14003a990
mov r8d, 7
lea rdx, str.6025383
lea rcx, [0x14008ea40]
call fcn.140004260
mov r8d, 0x507
lea rdx, [0x1400792b0]
lea rcx, [rdi + 0x710]
call fcn.1400040a0
mov r8d, 0x98b
lea rdx, [0x140079cc0]
lea rcx, [rdi + 0x730]
call fcn.1400040a0
mov rcx, rdi
call fcn.140012390
mov rcx, rdi
call fcn.140012660
lea r13, [0x14008ead0]
mov esi, dword [0x14008e580]
test esi, esi
je 0x140013130
mov ebx, dword [0x14008e574]
test ebx, ebx
je 0x140013130
mov rcx, r13
call fcn.140039f48
test eax, eax
jne 0x140013488
mov dword [rbp - 0x39], 9
mov dword [rbp - 0x49], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x49]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x39]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x49], esi
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp - 0x49], ebx
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140039f50
mov rcx, rdi
call fcn.140013510
lea rbx, [rdi + 0x830]
mov r8, rbx
lea rdx, str.Cover
mov ecx, 0x75
call fcn.1400159b0
mov rax, qword [rbx + 8]
cmp rax, qword [rbx]
je 0x1400131f1
mov rcx, r13
call fcn.140039f48
test eax, eax
jne 0x140013490
mov dword [rbp - 0x49], 3
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 4
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140039f50
mov rcx, r13
call fcn.140039f48
test eax, eax
jne 0x140013498
mov dword [rbp - 0x49], 5
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, [0x140012100]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
mov r8d, 8
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r13
call fcn.140039f50
lea r8, [rdi + 0x730]
lea rdx, [rdi + 0x710]
call fcn.14002ead0
mov qword [rbp + 7], r13
mov rcx, r13
call fcn.140039f48
test eax, eax
jne 0x1400134a0
mov dword [rbp - 0x49], 4
mov dword [rbp - 0x39], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x39]
lea r8d, [rax + 4]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rdi + 0x710]
lea rcx, [rbp - 0x39]
call fcn.1400151c0
mov rdx, rax
mov rcx, rdi
call fcn.14000f310
lea rdx, [rdi + 0x730]
lea rcx, [rbp - 0x39]
call fcn.1400151c0
mov rdx, rax
mov rcx, rdi
call fcn.14000f310
nop
mov rcx, r13
call fcn.140039f50
mov ecx, 8
call fcn.14003a9c4
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, [0x140015900]
xor edx, edx
xor ecx, ecx
call fcn.140047670
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140013473
cmp dword [rbp - 0x31], 0
je 0x1400134a8
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140039c3c
test eax, eax
jne 0x1400134b3
lea ecx, [rax + 8]
call fcn.14003a9c4
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, [0x140015930]
xor edx, edx
xor ecx, ecx
call fcn.140047670
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400134f6
cmp dword [rbp - 0x31], 0
je 0x1400134bb
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140039c3c
test eax, eax
jne 0x1400134c6
lea ecx, [rax + 8]
call fcn.14003a9c4
mov qword [rax], rdi
mov qword [rbp + 7], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400157a0]
xor edx, edx
xor ecx, ecx
call fcn.140047670
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400134e7
cmp dword [rbp - 0x11], 0
je 0x1400134ce
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.140039c3c
test eax, eax
jne 0x1400134d9
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x19], xmm0
cmp byte [rdi + 0x770], al
jne 0x14001343c
nop dword [rax]
mov rcx, rdi
call fcn.140011f10
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [rdi + 0x770], 0
je 0x140013420
cmp dword [rbp - 0x11], 0
jne 0x1400134e1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003a970
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.140039bac
nop
call fcn.1400412d4
int3
mov ecx, eax
call fcn.140039b70
int3
mov ecx, eax
call fcn.140039b70
int3
mov ecx, eax
call fcn.140039b70
int3
mov ecx, eax
call fcn.140039b70
nop
mov ecx, 1
call fcn.140039bac
int3
mov ecx, eax
call fcn.140039b70
nop
mov ecx, 1
call fcn.140039bac
int3
mov ecx, eax
call fcn.140039b70
nop
mov ecx, 1
call fcn.140039bac
int3
mov ecx, eax
call fcn.140039b70
nop
call fcn.1400466ac
nop
mov dword [rbp - 0x11], r12d
mov ecx, 6
call fcn.140039bac
nop
mov dword [rbp - 0x31], r12d
mov ecx, 6
call fcn.140039bac
int3