Function at 0x18003fec0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
lea eax, [rdx + 0xa]
mov rdi, r8
mov dword [rsp + 0x248], eax
mov rsi, rcx
cmp edx, eax
jae 0x180040173
mov r14, qword [rsp + 0x260]
lea r13d, [rdx - 0x52]
mov r15, qword [rsp + 0x68]
lea rdx, [0x180000000]
mov rbx, qword [rsp + 0x68]
mov ecx, eax
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x68]
nop dword [rax]
cmp r13d, 0x18
ja case.default.0x18003ff35
mov ecx, dword [rdx + r13*4 + 0x40224]
add rcx, rdx
jmp rcx
mov eax, dword [rdi]
shl eax, 5
add eax, 4
mov dword [rsp + 0x60], eax
mov eax, dword [rsi]
shl eax, 5
add eax, 2
mov dword [rsp + 0x5c], eax
mov eax, dword [r14]
shl eax, 5
add eax, 4
mov dword [rsp + 0x58], eax
jmp case.0x18003ff35.2
mov rax, qword [r9]
mov rcx, qword [rax + 0x2a8]
mov r15, qword [rcx + 0x30]
sar dword [rdi], 2
sar dword [rsi], 3
sar dword [r14], 2
jmp case.0x18003ff35.2
xor r9d, r9d
xor r8d, r8d
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rsi]
add eax, r8d
inc r8d
movsxd rdx, eax
movsxd rax, dword [r14]
shl rdx, 5
add rdx, rax
mov eax, dword [rdi]
add eax, r9d
cdqe
mov rcx, qword [r15 + rax*8]
movsx eax, byte [rbx]
inc eax
mov dword [rcx + rdx*4], eax
movsx eax, byte [rbx + 1]
inc eax
mov dword [rcx + rdx*4 + 4], eax
movsx eax, byte [rbx + 2]
inc eax
mov dword [rcx + rdx*4 + 8], eax
movsx eax, byte [rbx + 3]
add rbx, 4
inc eax
mov dword [rcx + rdx*4 + 0xc], eax
cmp r8d, 8
jl 0x18003ff90
inc r9d
cmp r9d, 4
jl 0x18003ff81
mov r9, qword [rsp + 0x258]
lea rdx, [0x180000000]
jmp case.0x18003ff35.2
test r9, r9
je case.0x18003ff35.12
test rdi, rdi
jne case.0x18003ff35.2
xor eax, eax
jmp 0x18004017a
mov rbp, qword [rdi]
mov edx, 1
mov rax, qword [rbp + 0x48]
mov r9, qword [rbp + 0x18]
mov r8, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x68], rax
call fcn.180082cbc
cmp rax, qword [rbp + 0x40]
je 0x180040057
mov rdx, qword [rsp + 0x258]
mov rax, qword [rdx]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x2b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax]
mov rax, qword [rbp + 0x20]
lea rdx, [0x180000000]
mov rbp, qword [rbp + 0x30]
mov r9, qword [rsp + 0x258]
mov r12, qword [rax]
jmp case.0x18003ff35.2
mov eax, dword [rsp + 0x58]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x70]
mov eax, dword [rsp + 0x5c]
mov edx, 0x73
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov rax, qword [r9]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180022060
mov rdx, qword [rsp + 0x258]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x70]
mov eax, dword [rsp + 0x58]
mov r9d, 0x84
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x70], eax
mov rax, qword [rdx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.18003b2d0
mov r9, qword [rsp + 0x258]
lea rdx, [0x180000000]
jmp case.0x18003ff35.2
shl dword [rdi], 2
lea rbx, [rsp + 0x80]
shl dword [rsi], 3
shl dword [r14], 2
mov ecx, dword [rsp + 0x248]
inc r13d
lea eax, [r13 + 0x52]
cmp eax, ecx
jb 0x18003ff20
mov eax, dword [rsp + 0x248]
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [r9]
mov edx, dword [rax + 0x30]
test edx, edx
je 0x180040218
mov r8, qword [rsp + 0x68]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp + 1]
lea r12, [r12 + 1]
movzx ecx, byte [rbp]
lea rbp, [rbp + 2]
shl rax, 8
or rax, rcx
movzx eax, byte [rax + r8]
mov byte [r12 - 1], al
add edx, 0xffffffff
jne 0x1800401b0
lea eax, [rdx + 1]
jmp 0x18004017a
mov rcx, 0xffffffffffffffff
mov rdx, rcx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1800401e6
nop
inc rcx
cmp byte [r9 + rcx], 0
jne 0x1800401f0
cmp ecx, edx
jl case.0x18003ff35.12
movsxd r8, edx
mov rcx, r9
mov rdx, rdi
call fcn.18007c540
test eax, eax
jne case.0x18003ff35.12
mov eax, 1
jmp 0x18004017a