Function at 0x180005f10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, dword [rsp + 0x88]
lea r15d, [r9 - 6]
mov r12, r8
mov r8, rdx
mov r14d, r9d
mov rdx, rcx
cmp r9d, r15d
jbe 0x180005ffc
mov r13, qword [rsp + 0x90]
lea ebp, [r9 - 0xe6]
mov rsi, qword [rsp + 0x20]
lea r9, [0x180000000]
xor edi, edi
lea r10, [0x180069c90]
cmp ebp, 0x14
ja case.0x180005f86.3
mov ecx, dword [r9 + rbp*4 + 0x62d4]
add rcx, r9
jmp rcx
mov rsi, r12
jmp case.0x180005f86.3
test rdx, rdx
je 0x180005f97
mov dword [rdx], edi
test rsi, rsi
je 0x1800060b7
mov dword [rsi + 0x13e8], edi
test r13, r13
je 0x1800060b7
mov eax, dword [r8]
test eax, eax
js 0x1800060b7
cmp byte [rsi + 0x1394], dil
jne 0x18000609b
test eax, eax
je 0x180006087
mov dword [rsi + 0x13b8], eax
jmp case.0x180005f86.3
mov eax, dword [r12]
xchg dword [rdx + 0xc], eax
jmp case.0x180005f86.3
mov ecx, 0x4d
nop dword [rax + rax]
mov eax, ecx
sub eax, 0x4d
je 0x180006016
cmp eax, 1
jne 0x18000602b
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebx, edi
mov rax, rdx
test rdx, rdx
je 0x18000602b
mov rax, qword [rax + 8]
inc ebx
test rax, rax
jne 0x180006020
inc ecx
cmp ecx, 0x4f
jb 0x180005ff0
xor edx, edx
mov qword [rsp + 0x20], r10
mov r8d, 0xe5
lea rcx, [rsp + 0x20]
call fcn.18003c240
xor r9d, r9d
xor edx, edx
mov r8d, 0xf6
mov rcx, rax
call fcn.18001fbc0
mov rdx, qword [rsp + 0x70]
lea r9, [0x180000000]
mov r8, qword [rsp + 0x78]
lea r10, [0x180069c90]
dec r14d
dec ebp
cmp r14d, r15d
ja 0x180005f72
jmp 0x180005ffc
test rdx, rdx
je 0x18000608e
mov dword [rdx], edi
mov dword [rsi + 0x13e8], edi
mov eax, edi
jmp 0x180005ffe
test rdx, rdx
je 0x1800060a6
mov dword [rdx], 0xffffffff
mov dword [rsi + 0x13e8], 0xffffffff
mov eax, edi
jmp 0x180005ffe
test rdx, rdx
je 0x1800060c2
mov dword [rdx], 0xfffffffe
test rsi, rsi
je 0x1800062cd
mov dword [rsi + 0x13e8], 0xfffffffe
mov eax, edi
jmp 0x180005ffe
mov ebx, dword [rsp + 0x88]
mov ebp, dword [rsp + 0x88]
mov qword [rsi + 0x13b0], r13
mov r14d, 0x45
nop word [rax + rax]
mov eax, r14d
sub eax, 0x45
je 0x1800061a5
sub eax, 0x4b
je 0x18000614d
cmp eax, 0x4b
jne 0x180006258
cmp ebx, 4
je 0x18000626e
cmp dword [rsi + 0x13b8], edi
jne 0x180006258
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x18000613b
mov dword [rdx], edi
mov rax, qword [rsp + 0x78]
mov dword [rsi + 0x13e8], edi
mov eax, dword [rax]
jmp 0x180005ffe
test ebx, ebx
jne 0x180006258
mov r8, qword [rsi]
xor edx, edx
mov ecx, 0x120
call fcn.180039b20
test al, al
je 0x180006258
cmp dword [rsi + 0x13a0], edi
jne 0x180006258
cmp dword [rsi + 0x13b8], edi
jbe 0x180006258
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180006194
mov dword [rax], 0xfffffff9
mov dword [rsi + 0x13e8], 0xfffffff9
mov eax, edi
jmp 0x180005ffe
mov rcx, qword [rsi]
call fcn.180070d10
test eax, eax
jne 0x1800062b3
cmp dword [rsi + 0x13a0], edi
jne 0x180006238
mov r8, qword [rsi]
xor edx, edx
mov ecx, 0x120
call fcn.180039b20
test al, al
jne 0x180006238
mov ebx, 0xc0
mov eax, ebx
sub eax, 0xc0
je 0x180006203
sub eax, 0x45
je 0x1800061f5
cmp eax, 0x45
jne 0x18000622d
lea rax, [rsi + 8]
mov qword [rsi + 0x1398], rax
jmp 0x18000622d
mov dword [rsi + 0x1390], ebp
mov dword [rsi + 0x13a0], ebp
jmp 0x18000622d
mov r9, qword [rsi]
lea rcx, [rsi + 8]
mov edx, 1
mov r8d, 0x1388
call fcn.1800713e0
mov rcx, qword [rsi]
mov rbp, rax
call fcn.180070d10
test eax, eax
jne 0x1800062b3
add ebx, 0x45
cmp ebx, 0x18f
jb 0x1800061d5
lea rcx, [rsi + 0x1398]
xor r9d, r9d
xor edx, edx
mov r8d, 0xde
call fcn.18003f970
mov ebx, eax
test eax, 0xfffffffb
jne 0x18000629a
add r14d, 0x4b
cmp r14d, 0x126
jb 0x180006100
jmp 0x1800060f1
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x18000627e
mov dword [rdx], 4
mov rax, qword [rsp + 0x78]
mov dword [rsi + 0x13e8], 4
mov eax, dword [rax]
sub eax, dword [rsi + 0x13b8]
jmp 0x180005ffe
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800062a6
mov dword [rax], ebx
mov dword [rsi + 0x13e8], ebx
mov eax, edi
jmp 0x180005ffe
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800062c3
mov dword [rax], 0xfffffffa
mov dword [rsi + 0x13e8], 0xfffffffa
mov eax, edi
jmp 0x180005ffe