Function at 0x140013e60
Capabilities:
Check if file exists
Get common file path
Get file attributes
Load windows common language runtime
Write file on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2070]
mov eax, 0x2170
call fcn.140035760
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x21a0], rbx
mov qword [rsp + 0x21a8], rsi
mov qword [rsp + 0x21b0], rdi
mov rax, qword [0x1400ab088]
xor rax, rsp
mov qword [rbp + 0x2060], rax
xor esi, esi
mov rcx, qword [0x1400b0700]
test rcx, rcx
jne 0x140013fa8
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x48]
lea rdx, [0x1400935b8]
lea rcx, [0x1400935a8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400b0700]
test eax, eax
js 0x140013f5e
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
lea r8, [0x140093598]
lea rdx, str.v4.0.30319
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x140013f4f
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r9, rdi
lea r8, [0x14008f8a8]
lea rdx, [0x14008f8b8]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140013f44
mov rcx, qword [0x1400b0700]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x140013fa1
mov rcx, qword [0x1400b0700]
test rcx, rcx
jne 0x140013fa8
mov qword [rsp + 0x20], rdi
lea r9, [0x14008f8a8]
lea r8, [0x14008f8b8]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x1400141df
mov rcx, qword [0x1400b0700]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [0x1400b0700]
xor dil, dil
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x68]
test eax, eax
js 0x140014747
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001479c
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x140093588]
call qword [rax]
test eax, eax
js 0x140014736
mov qword [rsp + 0x60], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r8, [rsp + 0x60]
lea rdx, [0x140092ea0]
mov ecx, 0x65
call fcn.1400137e0
mov rax, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
sub rax, r13
mov qword [rsp + 0x58], rax
je 0x1400146ff
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x60]
call fcn.140053400
lea rdx, [rbp + 0x60]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400146ff
movdqa xmm0, xmmword [0x1400971e0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
mov r8d, 0x11
lea rdx, str.FLiNGTrainer.tmp
lea rcx, [rbp - 0x20]
call fcn.1400021b0
nop
lea rax, [rbp + 0x60]
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rax + r9*2], 0
jne 0x140014090
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140006e30
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14001410e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014109
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147a7
call fcn.140034f54
movdqa xmm0, xmmword [0x1400971e0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
mov r8d, 1
lea rdx, [0x140092e88]
lea rcx, [rbp - 0x60]
call fcn.1400021b0
nop
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
mov r8d, 2
lea rdx, [0x14009355c]
lea rcx, [rbp - 0x40]
call fcn.1400021b0
nop
mov rbx, rsi
mov r15, qword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x50]
lea r9, [rbp - 0x40]
cmp r15, 8
cmovae r9, rsi
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], r14
mov r8, rbx
mov rdx, qword [rbp - 0x70]
call fcn.140002730
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400141ff
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r9, qword [rbp - 0x60]
mov qword [rsp + 0x20], rdi
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400185f0
mov rdi, qword [rbp - 0x50]
add rbx, rdi
jmp 0x140014180
xor r9d, r9d
lea r8, [0x140092ed8]
lea rdx, [0x140092ef0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x14001475b
cmp r15, 8
jb 0x14001423b
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140014232
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147ad
mov rcx, rsi
call fcn.140034f54
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14001427b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147b3
call fcn.140034f54
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14001460e
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.140012b00
nop
mov r12d, esi
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400021b0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
mov r8d, 4
lea rdx, str..tmp
lea rcx, [rbp]
call fcn.1400021b0
nop
mov edx, r12d
lea rcx, [rbp + 0x40]
call fcn.140014800
nop
mov r9d, 1
lea r8, [0x140093574]
mov rcx, rax
call fcn.140006e30
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x1400143a3
lea rdi, [rcx + 4]
mov qword [rbp - 0x50], rdi
lea rbx, [rbp - 0x60]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 8
lea rdx, str..tmp
call fcn.1400535c0
mov word [rbx + rdi*2], si
lea rax, [rbp - 0x60]
jmp 0x1400143c1
mov qword [rsp + 0x20], 4
lea r9, str..tmp
mov edx, 4
lea rcx, [rbp - 0x60]
call fcn.1400030c0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rbx, rsi
mov r15, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x10]
mov r14, qword [rbp]
mov rdi, qword [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp]
cmp r15, 8
cmovae r9, r14
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov rdx, qword [rbp - 0x70]
call fcn.140002730
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001445f
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r9, qword [rbp - 0x40]
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400185f0
mov rdi, qword [rbp - 0x30]
add rbx, rdi
jmp 0x140014400
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400144a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001449a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147bf
call fcn.140034f54
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400144e0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400144db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147c5
call fcn.140034f54
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], si
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140014532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001452d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147cb
call fcn.140034f54
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
cmp r15, 8
jb 0x14001457d
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140014575
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147d1
mov rcx, r14
call fcn.140034f54
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400145c8
inc r12d
cmp r12d, 0x32
jl 0x1400142d0
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140014608
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147b9
call fcn.140034f54
cmp rbx, 0xffffffffffffffff
je 0x140014636
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x58]
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400146bb
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
jb 0x1400146a2
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x1400146a2
mov rbx, rsi
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x48], esi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400147d7
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x190]
test eax, eax
setns dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1400146be
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140014791
jmp 0x14001466b
xor dil, dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400146ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400146f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400147e2
call fcn.140034f54
nop
test r13, r13
je 0x140014736
mov rdx, qword [rsp + 0x70]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x14001472d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001478b
mov rcx, r13
call fcn.140034f54
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140014747
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140014757
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, dil
mov rcx, qword [rbp + 0x2060]
xor rcx, rsp
call fcn.140034f30
lea r11, [rsp + 0x2170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400566cc
nop
mov ecx, 0x8007000e
call fcn.140013be0
nop
mov ecx, 0x80004003
call fcn.140032360
nop
call fcn.1400566cc
nop
call fcn.1400566cc
nop
call fcn.1400566cc
int3
call fcn.1400566cc
nop
call fcn.1400566cc
nop
call fcn.1400566cc
nop
call fcn.1400566cc
nop
call fcn.1400566cc
nop
mov ecx, 0x80004003
call fcn.140032360
nop
call fcn.1400566cc
int3