Function at 0x180037eb4
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 [0x1800a1628]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, r8
mov qword [rsp + 0x48], rdx
mov r15, rcx
mov ecx, 8
call fcn.1800590f8
xor edi, edi
cmp rax, rdi
je 0x180037f11
lea rcx, [rsp + 0x68]
mov qword [rax], rcx
jmp 0x180037f14
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 [0x1800a7890]
mov rsi, rax
cmp rbx, 0xffffffffffffffff
je 0x180037f9f
cmp rbx, rdi
je 0x180037f9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rsi
mov qword [rsp + 0x60], rbx
cmp rsi, rdi
je 0x180037fb2
cmp rsi, 0xffffffffffffffff
jne 0x180037fbf
inc r13d
add r14, 4
cmp r13d, 4
jb 0x180037f63
cmp rsi, rdi
je 0x180038062
cmp rsi, 0xffffffffffffffff
je 0x180038062
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 0x180038029
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180038078
mov ecx, dword [rsp + 0xa8]
sub ecx, 2
je 0x180038052
cmp ecx, 1
je 0x180038047
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
jmp 0x180038078
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180038078
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 2
jmp 0x180038078
cmp rsi, 0xffffffffffffffff
je 0x180038076
cmp rsi, rdi
je 0x180038076
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, edi
sub ebp, 2
je 0x18003809f
cmp ebp, 1
je 0x180038087
jmp 0x18003813c
mov r8, r12
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180036e8c
nop
mov edi, eax
jmp 0x18003813c
mov rbx, qword [r12 + 0x18]
cmp rbx, qword [r12 + 0x20]
jbe 0x1800380b0
call fcn.1800590d8
mov rsi, qword [r12]
mov rbp, qword [r12 + 0x20]
cmp qword [r12 + 0x18], rbp
jbe 0x1800380c5
call fcn.1800590d8
cmp rsi, rdi
je 0x1800380d0
cmp rsi, qword [r12]
je 0x1800380d5
call fcn.1800590d8
cmp rbx, rbp
je 0x180038127
cmp rsi, rdi
jne 0x1800380e9
call fcn.1800590d8
mov r11, rdi
jmp 0x1800380ec
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x1800380f7
call fcn.1800590d8
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180006180
cmp rsi, rdi
jne 0x180038113
call fcn.1800590d8
mov r11, rdi
jmp 0x180038116
mov r11, qword [rsi]
cmp rbx, qword [r11 + 0x20]
jb 0x180038121
call fcn.1800590d8
add rbx, 0x30
jmp 0x1800380b4
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, r15
call fcn.180035890
nop
mov edi, eax
lea rcx, [rsp + 0x68]
call fcn.180007a10
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret