Function at 0x18000d000
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1802bb7b8]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0xb0], 0
jg 0x18000d039
xor eax, eax
jmp 0x18000d2ae
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x68], 0
je 0x18000d06a
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
call fcn.18000d2d0
jmp 0x18000d2ae
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x38]
cmp qword [rax], 0
je 0x18000d0aa
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x18000d0b2
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jbe 0x18000d1ab
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rax
jae 0x18000d0e0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
jmp 0x18000d0ea
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x50]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x50]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x38]
movsxd rcx, dword [rsp + 0x28]
add rcx, qword [rax]
mov rax, rcx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x38]
mov qword [rcx], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x80], 0
je 0x18000d29e
mov rcx, qword [rsp + 0xa0]
call fcn.18000a8b0
mov qword [rsp + 0x60], 0xfff
cmp qword [rsp + 0x68], 0xfff
jbe 0x18000d260
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0xa8]
call fcn.1800540f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x30], 0xfff
je 0x18000d25b
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
jmp 0x18000d2ae
jmp 0x18000d1d7
cmp qword [rsp + 0x68], 0
jbe 0x18000d29e
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, qword [rsp + 0xa8]
call fcn.1800540f8
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18004e560
add rsp, 0x88
pop rdi
pop rsi
ret