Function at 0x1400123c0
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.140032e60
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 [0x1400a4088]
xor rax, rsp
mov qword [rbp + 0x2060], rax
xor esi, esi
mov rcx, qword [0x1400a9400]
test rcx, rcx
jne 0x140012508
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x48]
lea rdx, [0x14008d4a8]
lea rcx, [0x14008d498]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x1400a9400]
test eax, eax
js 0x1400124be
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
lea r8, [0x14008d488]
lea rdx, str.v4.0.30319
call qword [rax + 0x18]
mov ebx, eax
test eax, eax
js 0x1400124af
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r9, rdi
lea r8, [0x1400897a8]
lea rdx, [0x1400897b8]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x1400124a4
mov rcx, qword [0x1400a9400]
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 0x140012501
mov rcx, qword [0x1400a9400]
test rcx, rcx
jne 0x140012508
mov qword [rsp + 0x20], rdi
lea r9, [0x1400897a8]
lea r8, [0x1400897b8]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14001273f
mov rcx, qword [0x1400a9400]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [0x1400a9400]
xor dil, dil
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x68]
test eax, eax
js 0x140012ca7
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140012cfc
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x14008d478]
call qword [rax]
test eax, eax
js 0x140012c96
mov qword [rsp + 0x60], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r8, [rsp + 0x60]
lea rdx, [0x14008cd8c]
mov ecx, 0x65
call fcn.140011d40
mov rax, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
sub rax, r13
mov qword [rsp + 0x58], rax
je 0x140012c5f
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x60]
call fcn.140050b00
lea rdx, [rbp + 0x60]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140012c5f
movdqa xmm0, xmmword [0x140091480]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
mov r8d, 0x11
lea rdx, str.FLiNGTrainer.tmp
lea rcx, [rbp - 0x20]
call fcn.140002140
nop
lea rax, [rbp + 0x60]
mov r9, 0xffffffffffffffff
nop dword [rax + rax]
inc r9
cmp word [rax + r9*2], 0
jne 0x1400125f0
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.140006340
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 0x14001266e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012669
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d07
call fcn.140032654
movdqa xmm0, xmmword [0x140091480]
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, [0x14008cd88]
lea rcx, [rbp - 0x60]
call fcn.140002140
nop
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
mov r8d, 2
lea rdx, [0x14008d44c]
lea rcx, [rbp - 0x40]
call fcn.140002140
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.1400026c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001275f
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.140016650
mov rdi, qword [rbp - 0x50]
add rbx, rdi
jmp 0x1400126e0
xor r9d, r9d
lea r8, [0x14008cdc8]
lea rdx, [0x14008cde0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140012cbb
cmp r15, 8
jb 0x14001279b
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140012792
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d0d
mov rcx, rsi
call fcn.140032654
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400127db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400127d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d13
call fcn.140032654
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 0x140012b6e
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.140011060
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.140002140
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.140002140
nop
mov edx, r12d
lea rcx, [rbp + 0x40]
call fcn.140012d60
nop
mov r9d, 1
lea r8, [0x14008d464]
mov rcx, rax
call fcn.140006340
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 0x140012903
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.140050cc0
mov word [rbx + rdi*2], si
lea rax, [rbp - 0x60]
jmp 0x140012921
mov qword [rsp + 0x20], 4
lea r9, str..tmp
mov edx, 4
lea rcx, [rbp - 0x60]
call fcn.1400030d0
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.1400026c0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400129bf
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.140016650
mov rdi, qword [rbp - 0x30]
add rbx, rdi
jmp 0x140012960
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140012a00
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d1f
call fcn.140032654
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140012a40
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d25
call fcn.140032654
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 0x140012a92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d2b
call fcn.140032654
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
cmp r15, 8
jb 0x140012add
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140012ad5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d31
mov rcx, r14
call fcn.140032654
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 0x140012b28
inc r12d
cmp r12d, 0x32
jl 0x140012830
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140012b68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012b63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d19
call fcn.140032654
cmp rbx, 0xffffffffffffffff
je 0x140012b96
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 0x140012c1b
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
jb 0x140012c02
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x140012c02
mov rbx, rsi
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x48], esi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140012d37
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 0x140012c1e
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140012cf1
jmp 0x140012bcb
xor dil, dil
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140012c5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012d42
call fcn.140032654
nop
test r13, r13
je 0x140012c96
mov rdx, qword [rsp + 0x70]
sub rdx, r13
mov rax, r13
cmp rdx, 0x1000
jb 0x140012c8d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012ceb
mov rcx, r13
call fcn.140032654
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140012ca7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140012cb7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, dil
mov rcx, qword [rbp + 0x2060]
xor rcx, rsp
call fcn.140032630
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.140053be4
nop
mov ecx, 0x8007000e
call fcn.140012140
nop
mov ecx, 0x80004003
call fcn.14002fa60
nop
call fcn.140053be4
nop
call fcn.140053be4
nop
call fcn.140053be4
int3
call fcn.140053be4
nop
call fcn.140053be4
nop
call fcn.140053be4
nop
call fcn.140053be4
nop
call fcn.140053be4
nop
mov ecx, 0x80004003
call fcn.14002fa60
nop
call fcn.140053be4
int3