Function at 0x18003db40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x180072270]
xor rax, rsp
mov qword [rbp], rax
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x50], rdx
mov eax, ecx
mov dword [rsp + 0x38], ecx
mov qword [rbp - 0x40], 0
mov esi, 0xf
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x50], 0
mov r14d, ecx
imul ecx, ecx, 0x598
mov dword [rsp + 0x20], ecx
movzx ebx, byte [rsp + 0x24]
cmp eax, ecx
ja 0x18003dfd0
mov r13d, dword [rsp + 0x38]
lea r10, [0x180000000]
lea r11, [0x1800a4200]
cmp r14d, 0x230f
ja 0x18003df60
je 0x18003df5c
cmp r14d, 0x19
je 0x18003dc8b
cmp r14d, 0x2f
je 0x18003dc25
cmp r14d, 0xf0
je 0x18003dbff
cmp r14d, 0x1194
je 0x18003df54
jmp 0x18003dfa1
xor r8d, r8d
lea edx, [r8 + 0x56]
lea rcx, [rbp - 0x78]
call fcn.18004e770
lea rdx, [0x1800a4388]
mov ecx, 0xca
call fcn.180017da0
jmp 0x18003df9d
mov ecx, 0x20
call fcn.18005dd9c
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18003dc61
mov rdx, qword [rsp + 0x50]
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], rsi
mov byte [rax], 0
mov rcx, rax
call fcn.18004c5f0
jmp 0x18003dc63
xor edi, edi
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov r9d, 0xf4
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.180022f30
jmp 0x18003df9d
mov r12d, dword [r9]
mov eax, r12d
shr rax, 1
imul r15, rax, 0x38
add r15, r11
mov eax, dword [r8]
shl r12, 6
add r12, qword [r10 + rax*8 + 0x71cf0]
mov ecx, dword [rdx]
test ecx, ecx
je 0x18003dedc
cmp ecx, 1
jne 0x18003df9d
mov esi, 7
cmp esi, 7
ja case.default.0x18003dcd8
mov eax, esi
mov ecx, dword [r10 + rax*4 + 0x3e038]
add rcx, r10
jmp rcx
test byte [r12 + 0x2c], 2
jne 0x18003dfca
mov byte [0x1800a41cc], 1
jmp case.default.0x18003dcd8
mov eax, dword [r9]
shr eax, 1
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x40]
mov ecx, 0x66
call fcn.18004ff20
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea edx, [r8 + 0x56]
lea rcx, [rsp + 0x70]
call fcn.18004e770
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x28], 0x1e
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov ecx, 0x95
call fcn.18000eee0
jmp 0x18003debd
test r13d, r13d
je 0x18003dd57
mov byte [0x180096fbd], 1
jmp 0x18003dd5e
mov byte [0x180096fbe], 1
mov byte [r15 + 0x10], 1
cmp byte [0x180096fbe], 0
je case.default.0x18003dcd8
mov byte [0x18009614e], 1
jmp case.default.0x18003dcd8
lea rdx, [rbp - 0x30]
mov ecx, 0xf9
call fcn.1800080d0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call fcn.180047de0
jmp 0x18003debd
mov ecx, 0xdc
call fcn.180049620
lea rdx, [rsp + 0x70]
mov ecx, 0xca
call fcn.180017da0
mov byte [0x1800a41cc], 0
jmp 0x18003debd
movsd xmm0, qword [str.Loading__]
movsd qword [rbp - 0x30], xmm0
movzx eax, word [0x180066cc0]
mov word [rbp - 0x28], ax
lea rax, [rbp - 0x30]
dec rax
lea rax, [rax + 1]
cmp byte [rax], 0
jne 0x18003dde3
xor edx, edx
nop
movzx ecx, byte [r15 + rdx + 0x11]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x18003ddf0
lea rcx, [rbp - 0x30]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x18003de10
movzx eax, word [0x180064d4c]
mov word [rcx], ax
jmp case.default.0x18003dcd8
xor edx, edx
xor ecx, ecx
mov r8d, 0xc4
call fcn.18004cfd0
xor r13d, r13d
mov edx, 0x8000
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__open]
mov edi, eax
cmp eax, 0xffffffff
je 0x18003dea0
lea r8d, [r13 + 0x38]
mov rdx, r15
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cmp eax, 0x38
jne 0x18003de79
mov rdx, qword [0x1800a44a0]
test rdx, rdx
je 0x18003de96
mov ecx, edi
call rdx
test al, al
jne 0x18003de96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13d, dword [rax]
mov dword [rsp + 0x28], r13d
lea r8, [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 0x2b]
call fcn.18002e5f0
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
jmp 0x18003debd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13d, dword [rax]
mov dword [rsp + 0x28], r13d
lea r8, [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 0x2b]
call fcn.18002e5f0
mov r9, qword [rsp + 0x30]
lea r10, [0x180000000]
dec esi
lea eax, [rsi + 0x76]
cmp eax, 0x75
ja 0x18003dcc2
jmp 0x18003df9d
cmp byte [0x180096fbe], 0
jne case.0x18003dcd8.0
mov edi, 0x9f
nop word [rax + rax]
mov eax, edi
sub eax, 0x9d
je 0x18003df27
sub eax, 1
je 0x18003df15
cmp eax, 1
jne 0x18003df46
lea r8d, [rax + 0x46]
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.18003e570
jmp 0x18003df46
cmp byte [r15 + 0x10], 0
setne al
add al, 2
mov byte [0x1800974c2], al
jmp 0x18003df46
cmp byte [r15 + 0x10], 0
lea rcx, [r15 + 0x11]
jne 0x18003df39
lea rcx, str.Empty
call qword [0x180071d20]
mov byte [0x1800974c2], 3
dec edi
cmp edi, 0x9c
ja 0x18003def0
mov ecx, dword [rsp + 0x20]
mov r14d, 0x1194
jmp 0x18003dfa1
xor bl, bl
jmp 0x18003dfa1
cmp r14d, 0x348a
je 0x18003dfcc
cmp r14d, 0xa8c0
je 0x18003df8b
cmp r14d, 0x15090
jne 0x18003dfa1
lea rdx, [rbp - 0x78]
mov ecx, 0xca
call fcn.180017da0
jmp 0x18003df9d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xcc
call fcn.180036040
mov ecx, dword [rsp + 0x20]
imul eax, dword [rsp + 0x38], 0xb3
add r14d, eax
cmp r14d, ecx
ja 0x18003dfcc
mov esi, 0xf
mov rdx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x60]
jmp 0x18003dbb3
xor bl, bl
mov rsi, qword [rbp - 0x38]
cmp rsi, 0x10
jb 0x18003e00b
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e006
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003e006
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005ddd8
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18005e580
mov rbx, qword [rsp + 0x150]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret