Function at 0x180007310
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 [0x180094038]
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.180062028
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.180062028
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, [0x180066584]
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 0x180007479
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 0x18000746f
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
js 0x18000746f
jne 0x180007423
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1800074e2
movsxd rbx, eax
lea rcx, [rbx + 1]
lea rdx, [0x180065a3c]
call fcn.180062610
mov rdi, rax
test rax, rax
je 0x18000746f
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 0x1800074bb
mov rcx, rdi
call fcn.180062020
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.180007620
movzx ebx, al
lea rcx, [rbp - 0x29]
call fcn.18000b730
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180062000
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.18000ea00
mov ebx, eax
mov rcx, rdi
call fcn.180062020
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
js 0x180007479
lea r8, str.GamePath
lea rcx, [rbp - 0x29]
call fcn.18000b860
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180007500
mov rdx, rax
mov rcx, r14
call fcn.1800051a0
lea r8, str.LaunchOptions
lea rcx, [rbp - 0x29]
call fcn.18000b860
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180007530
lea rcx, [r14 + 0x20]
mov rdx, rax
call fcn.1800051a0
lea r8, str.DLLPath_1
lea rcx, [rbp - 0x29]
call fcn.18000b860
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180007560
lea rcx, [r14 + 0x40]
mov rdx, rax
call fcn.1800051a0
lea r8, str.DLLPath_2
lea rcx, [rbp - 0x29]
call fcn.18000b860
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180007590
lea rcx, [r14 + 0x60]
mov rdx, rax
call fcn.1800051a0
lea r8, str.DLLPath_3
lea rcx, [rbp - 0x29]
call fcn.18000b860
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800075c0
lea rcx, [r14 + 0x80]
mov rdx, rax
call fcn.1800051a0
lea r8, [0x180065fa8]
lea rcx, [rbp - 0x29]
call fcn.18000b860
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800075f0
lea rcx, [r14 + 0xa0]
mov r8, rbx
mov rdx, rax
call fcn.1800051a0
movzx ebx, r12b
jmp 0x180007487