Function at 0x14001b610
Capabilities:
Check if file exists
Create process on windows
Create process suspended
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400db800]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x288]
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
xor edi, edi
lea rax, str.StarCraft
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x60], rax
movzx r13d, r9b
lea rax, str.Brood
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x68], rax
movzx r15d, r8b
lea rax, str.Frozen_Throne
mov r12, rdx
mov qword [rbp - 0x20], rax
mov rsi, rcx
lea rax, str.Warcraft_III
mov ebx, edi
mov qword [rbp - 0x18], rax
lea rax, str.war3
mov qword [rbp - 0x10], rax
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
nop dword [rax + rax]
mov rax, qword [rsp + rbx*8 + 0x60]
lea r8, str._s_s.exe
mov r9, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp]
call fcn.140001040
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001b773
inc rbx
cmp rbx, 2
jb 0x14001b6c0
mov rbx, rdi
mov rax, qword [rbp + rbx*8 - 0x20]
lea r8, str._s_s.exe
mov r9, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp]
call fcn.140001040
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001b74a
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14008ec40
cmp dword [rsp + 0x54], 0x1001c
jae 0x14001b762
inc rbx
cmp rbx, 3
jb 0x14001b701
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001b769
mov ebx, 2
jmp 0x14001b786
mov eax, 2
jmp 0x14001b8f5
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14008ec40
mov ebx, 1
mov ecx, 0xfffe
mov qword [rsp + 0x370], r14
call fcn.140094b74
mov r14, rax
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
mov edx, 0x7fff
mov rcx, r14
lea rsi, [rax + 0xfffe]
lea rax, [rbp]
mov qword [rsp + 0x30], rax
lea rax, str.__s_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140001db0
cmp ebx, 2
jne 0x14001b89c
mov r10, qword [rsp + 0x50]
test r15b, r15b
je 0x14001b863
mov rcx, rsi
sub rcx, r10
sar rcx, 1
je 0x14001b863
cmp rcx, 0x7fffffff
jbe 0x14001b803
mov word [r10], di
jmp 0x14001b863
mov r9d, 0x7ffffffe
lea r11, str.__window
sub r9, rcx
mov r8, rdi
sub r11, r10
mov rdx, r10
nop dword [rax]
lea rax, [r9 + rcx]
test rax, rax
je 0x14001b85c
movzx eax, word [r11 + rdx]
test ax, ax
je 0x14001b84d
mov word [rdx], ax
inc r8
add rdx, 2
sub rcx, 1
jne 0x14001b820
lea r8, [r8 - 1]
mov word [rdx - 2], di
jmp 0x14001b85f
test rcx, rcx
jne 0x14001b85c
lea r8, [r8 - 1]
mov word [rdx - 2], di
jmp 0x14001b85f
mov word [rdx], di
lea r10, [r10 + r8*2]
test r12, r12
je 0x14001b89c
test r13b, r13b
jne 0x14001b89c
sub rsi, r10
mov qword [rsp + 0x30], r12
sar rsi, 1
lea rax, str.__loadfile___s_
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rcx, r10
call fcn.140001db0
mov rax, qword [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, r14
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001b8e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call fcn.140062970
mov r14, qword [rsp + 0x370]
mov eax, edi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140094850
add rsp, 0x320
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret