Function at 0x180035a20
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, r8
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov ecx, 8
call fcn.180054d48
xor edi, edi
cmp rax, rdi
je 0x180035a7d
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x180035a80
mov rax, rdi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 5
mov ebp, 3
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x5c], 7
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], rbx
mov r13d, edi
lea r14, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov r8d, dword [r14]
mov edx, 0x80000000
mov rcx, r15
call qword [0x1800a0740]
mov rsi, rax
cmp rbx, 0xffffffffffffffff
je 0x180035b0b
cmp rbx, rdi
je 0x180035b0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rsi
mov qword [rsp + 0x60], rbx
cmp rsi, rdi
je 0x180035b1e
cmp rsi, 0xffffffffffffffff
jne 0x180035b2b
inc r13d
add r14, 4
cmp r13d, 4
jb 0x180035acf
cmp rsi, rdi
je 0x180035bce
cmp rsi, 0xffffffffffffffff
je 0x180035bce
mov dword [rsp + 0x40], edi
or qword [rsp + 0xa0], 0xffffffffffffffff
or dword [rsp + 0xa8], 0xffffffff
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov r8d, 0xc
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
movabs r11, 0x706c646f70bfbbef
cmp qword [rsp + 0xa0], r11
je 0x180035b95
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180035be4
mov ecx, dword [rsp + 0xa8]
sub ecx, 2
je 0x180035bbe
cmp ecx, 1
je 0x180035bb3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180035be4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180035be4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 2
jmp 0x180035be4
cmp rsi, 0xffffffffffffffff
je 0x180035be2
cmp rsi, rdi
je 0x180035be2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
sub ebp, 2
je 0x180035c0b
cmp ebp, 1
je 0x180035bf3
jmp 0x180035ca8
mov r8, r12
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180034ad0
nop
mov edi, eax
jmp 0x180035ca8
mov rbx, qword [r12 + 0x18]
cmp rbx, qword [r12 + 0x20]
jbe 0x180035c1c
call fcn.180054d28
mov rsi, qword [r12]
mov rbp, qword [r12 + 0x20]
cmp qword [r12 + 0x18], rbp
jbe 0x180035c31
call fcn.180054d28
cmp rsi, rdi
je 0x180035c3c
cmp rsi, qword [r12]
je 0x180035c41
call fcn.180054d28
cmp rbx, rbp
je 0x180035c93
cmp rsi, rdi
jne 0x180035c55
call fcn.180054d28
mov r11, rdi
jmp 0x180035c58
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x180035c63
call fcn.180054d28
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180005f38
cmp rsi, rdi
jne 0x180035c7f
call fcn.180054d28
mov r11, rdi
jmp 0x180035c82
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x180035c8d
call fcn.180054d28
add rbx, 0x30
jmp 0x180035c20
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.1800334d4
nop
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.1800075ac
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret