Function at 0x18005fbb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1110]
mov eax, 0x1210
call fcn.18006ce90
sub rsp, rax
lea r13d, [rdx + 0xa10]
mov r15, r9
mov rsi, r8
mov r14d, edx
mov r12, rcx
cmp edx, r13d
jae 0x18005ff44
mov rdi, qword [rsp + 0x38]
lea rdx, [0x180000000]
xor ebx, ebx
nop word [rax + rax]
cmp r14d, 0xbf
ja 0x18005fd0d
je 0x18005fcc7
cmp r14d, 0x1e
je 0x18005fca0
cmp r14d, 0x26
je 0x18005fc5f
cmp r14d, 0x6f
jne case.0x18005fd44.205
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea edx, [r14 - 0x38]
xor ecx, ecx
call fcn.180024c20
test al, al
jne 0x18005ffda
mov rax, rbx
jmp 0x18005ff49
mov rax, qword [r15]
movsx rdx, word [r12]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x1160]
mov rdi, qword [rcx + rdx*8 - 8]
cmp byte [rax], bl
je 0x18005fc96
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0xd2
call fcn.1800501a0
movzx eax, byte [rsi]
mov byte [rdi], al
jmp 0x18005ffbe
mov eax, dword [r15]
mov dword [rbp + 0x49c], eax
movsx eax, word [rsi]
mov dword [rbp + 0x4a0], eax
mov rax, qword [rbp + 0x1160]
movsx eax, word [rax]
mov dword [rbp + 0x4a4], eax
jmp case.0x18005fd44.205
xor r9d, r9d
mov dword [rsp + 0x30], 0x200
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], 0x157
mov rdx, r12
lea rcx, [rbp + 0x140]
call fcn.1800108e0
mov ecx, 0xfffffe60
lea rdx, [rsp + 0x40]
call qword [0x1800ce8f0]
mov ecx, 0xfffffe54
lea rdx, [rsp + 0x40]
jmp 0x18005ffb8
cmp r14d, 0x16c
ja 0x18005ff1a
je case.0x18005fd44.203
lea eax, [r14 - 0xc7]
cmp eax, 0xa1
ja case.0x18005fd44.205
movzx eax, byte [rdx + rax + 0x60028]
mov ecx, dword [rdx + rax*4 + 0x6000c]
add rcx, rdx
jmp rcx
movzx eax, byte [rsi + 1]
mov byte [rdi + 1], al
jmp case.0x18005fd44.205
mov dword [rbp + 0x107c], 0x4e414d45
lea rdx, [rbp + 0xb20]
mov byte [rbp + 0xf72], bl
mov ecx, 0xfffffe52
jmp 0x18005ffb8
mov eax, dword [r15]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov dword [rbp + 0xa8c], eax
mov rdx, rsi
mov byte [rbp + 0x980], bl
lea rcx, [rbp + 0x530]
mov dword [rsp + 0x30], 0x200
mov dword [rsp + 0x20], 0x157
call fcn.1800108e0
xor r9d, r9d
mov dword [rsp + 0x30], 0x200
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], 0x157
mov rdx, r12
lea rcx, [rbp + 0x730]
call fcn.1800108e0
jmp 0x18005ffbe
mov word [0x1800ce8f8], bx
jmp case.0x18005fd44.205
movsx eax, byte [rdi]
dec eax
cmp eax, 0x21
ja case.0x18005fe03.8
cdqe
movzx eax, byte [rdx + rax + 0x600ec]
mov ecx, dword [rdx + rax*4 + 0x600cc]
add rcx, rdx
jmp rcx
mov ecx, 0x12b
nop word [rax + rax]
mov eax, ecx
sub eax, 0x12a
je case.0x18005fe03.8
cmp eax, 1
jne 0x18005fe3a
movzx eax, word [rsi + 2]
mov word [rdi + 2], ax
movzx eax, word [rsi + 4]
mov word [rdi + 4], ax
movzx eax, word [rsi + 6]
mov word [rdi + 6], ax
dec ecx
cmp ecx, 0x129
ja 0x18005fe10
mov eax, dword [rsi + 2]
mov r14d, 0x168
mov dword [rdi + 2], eax
jmp case.0x18005fd44.205
movzx eax, byte [rsi + 2]
mov r14d, 0x168
mov byte [rdi + 2], al
jmp case.0x18005fd44.205
mov ecx, 0x1e
nop dword [rax]
mov eax, ecx
sub eax, 0x1d
je case.0x18005fe03.8
cmp eax, 1
jne 0x18005fe92
movzx eax, word [rsi + 0xe]
mov word [rdi + 0xe], ax
mov eax, dword [rsi + 2]
mov dword [rdi + 2], eax
mov rax, qword [rsi + 6]
mov qword [rdi + 6], rax
dec ecx
cmp ecx, 0x1c
ja 0x18005fe70
mov eax, dword [rsi + 2]
mov r14d, 0x168
mov dword [rdi + 2], eax
mov rax, qword [rsi + 6]
mov qword [rdi + 6], rax
jmp case.0x18005fd44.205
movups xmm0, xmmword [rsi + 2]
mov r14d, 0x168
movups xmmword [rdi + 2], xmm0
mov eax, dword [rsi + 0x12]
mov dword [rdi + 0x12], eax
jmp case.0x18005fd44.205
mov rax, qword [rsi + 2]
mov qword [rdi + 2], rax
mov r14d, 0x168
jmp case.0x18005fd44.205
mov rdx, qword [r12]
xor r8d, r8d
mov rcx, r15
call fcn.1800749cc
test eax, eax
jne 0x18005fff9
mov r9, r15
lea edx, [rax + 2]
lea r8d, [rax + 1]
lea rcx, [rbp + 0x1148]
call fcn.180074690
cmp rax, 1
jne 0x18005fff9
jmp 0x18005ffbe
mov eax, r14d
sub eax, 0x176
je 0x18005ffac
sub eax, 0x1f
je 0x18005ff93
sub eax, 0x78
je 0x18005ff6a
sub eax, 0xa
je case.0x18005fd44.203
cmp eax, 0x1f
jne case.0x18005fd44.205
mov rax, qword [rsp + 0x38]
lea r11, [rsp + 0x1210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x30], 0x200
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], 0x157
lea rdx, [rbp + 0xb20]
mov rcx, r15
call fcn.1800108e0
jmp 0x18005ffbe
movzx ecx, byte [rbp + 0x1149]
movzx eax, byte [rbp + 0x1148]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x38], ecx
jmp case.0x18005fd44.205
mov ecx, 0xfffffeac
lea rdx, [rbp + 0x530]
call qword [0x1800ce8f0]
lea rdx, [0x180000000]
add r14d, 0xa1
cmp r14d, r13d
jb 0x18005fc10
jmp 0x18005ff44
cmp qword [r15 + 0x18], 0x10
jb 0x18005ffe4
mov r15, qword [r15]
lea rdx, [0x1800b6120]
mov rcx, r15
call qword [0x1800b6110]
jmp 0x18005ff49
xor ecx, ecx
call fcn.1800726e0
mov ecx, 1
call fcn.18007267c
int3