Function at 0x180008350
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x180097038]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rbx
mov byte [rbp - 0x11], bl
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
lea ecx, [rbx + 0x48]
call fcn.180063798
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
lea ecx, [rbx + 0x28]
call fcn.180063798
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp + 7], rax
xor al, al
mov dword [rbp + 0x18], 0x10000
mov byte [rbp + 0x1c], al
mov dword [rbp + 0x1f], ebx
movzx eax, al
mov r12d, 1
cmp qword [rbp - 0x29], rbx
cmove eax, r12d
mov byte [rbp + 0x17], al
mov qword [rbp - 0x39], rbx
lea r8, [0x180068728]
mov rdx, r15
lea rcx, [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rsi, qword [rbp - 0x39]
test rsi, rsi
je 0x1800084b9
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1800084af
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
js 0x1800084af
jne 0x180008463
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180008522
movsxd rbx, eax
lea rcx, [rbx + 1]
lea rdx, [0x180067a3c]
call fcn.180063d80
mov rdi, rax
test rax, rax
je 0x1800084af
mov byte [rbx + rax], 0
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, rsi
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbx
je 0x1800084fb
mov rcx, rdi
call fcn.180063790
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, r15
mov rcx, r14
call fcn.180008660
movzx ebx, al
lea rcx, [rbp - 0x29]
call fcn.18000cf10
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180063770
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.1800101f0
mov ebx, eax
mov rcx, rdi
call fcn.180063790
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
js 0x1800084b9
lea r8, str.GamePath
lea rcx, [rbp - 0x29]
call fcn.18000d040
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180008540
mov rdx, rax
mov rcx, r14
call fcn.180006370
lea r8, str.LaunchOptions
lea rcx, [rbp - 0x29]
call fcn.18000d040
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180008570
lea rcx, [r14 + 0x20]
mov rdx, rax
call fcn.180006370
lea r8, str.DLLPath_1
lea rcx, [rbp - 0x29]
call fcn.18000d040
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800085a0
lea rcx, [r14 + 0x40]
mov rdx, rax
call fcn.180006370
lea r8, str.DLLPath_2
lea rcx, [rbp - 0x29]
call fcn.18000d040
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800085d0
lea rcx, [r14 + 0x60]
mov rdx, rax
call fcn.180006370
lea r8, str.DLLPath_3
lea rcx, [rbp - 0x29]
call fcn.18000d040
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180008600
lea rcx, [r14 + 0x80]
mov rdx, rax
call fcn.180006370
lea r8, [0x180068160]
lea rcx, [rbp - 0x29]
call fcn.18000d040
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180008630
lea rcx, [r14 + 0xa0]
mov r8, rbx
mov rdx, rax
call fcn.180006370
movzx ebx, r12b
jmp 0x1800084c7