Function at 0x180037b20
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 [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, r8
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov ecx, 8
call fcn.1800592c8
xor edi, edi
cmp rax, rdi
je 0x180037b7d
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x180037b80
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 [0x1800a7880]
mov rsi, rax
cmp rbx, 0xffffffffffffffff
je 0x180037c0b
cmp rbx, rdi
je 0x180037c0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rsi
mov qword [rsp + 0x60], rbx
cmp rsi, rdi
je 0x180037c1e
cmp rsi, 0xffffffffffffffff
jne 0x180037c2b
inc r13d
add r14, 4
cmp r13d, 4
jb 0x180037bcf
cmp rsi, rdi
je 0x180037cce
cmp rsi, 0xffffffffffffffff
je 0x180037cce
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 0x180037c95
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180037ce4
mov ecx, dword [rsp + 0xa8]
sub ecx, 2
je 0x180037cbe
cmp ecx, 1
je 0x180037cb3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180037ce4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180037ce4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 2
jmp 0x180037ce4
cmp rsi, 0xffffffffffffffff
je 0x180037ce2
cmp rsi, rdi
je 0x180037ce2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
sub ebp, 2
je 0x180037d0b
cmp ebp, 1
je 0x180037cf3
jmp 0x180037da8
mov r8, r12
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180036af8
nop
mov edi, eax
jmp 0x180037da8
mov rbx, qword [r12 + 0x18]
cmp rbx, qword [r12 + 0x20]
jbe 0x180037d1c
call fcn.1800592a8
mov rsi, qword [r12]
mov rbp, qword [r12 + 0x20]
cmp qword [r12 + 0x18], rbp
jbe 0x180037d31
call fcn.1800592a8
cmp rsi, rdi
je 0x180037d3c
cmp rsi, qword [r12]
je 0x180037d41
call fcn.1800592a8
cmp rbx, rbp
je 0x180037d93
cmp rsi, rdi
jne 0x180037d55
call fcn.1800592a8
mov r11, rdi
jmp 0x180037d58
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x180037d63
call fcn.1800592a8
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800060b8
cmp rsi, rdi
jne 0x180037d7f
call fcn.1800592a8
mov r11, rdi
jmp 0x180037d82
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x180037d8d
call fcn.1800592a8
add rbx, 0x30
jmp 0x180037d20
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180035450
nop
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.180007858
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret