Function at 0x1800057d0
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1800760b0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, rdx
mov rsi, rcx
xor edi, edi
mov dword [rbp + 0x17], edi
mov dword [rbp + 0x13], edi
mov dword [rbp + 0xf], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x13]
lea r8, [rbp + 0xf]
xor edx, edx
mov rcx, qword [rcx + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test eax, eax
jne 0x180005855
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.O5qDrYw_kmtKTNpWagCD32rpkRQi4zPU0DkeZ6JP4YpUQx7rm8WkWonDWF4x58I52VQCFYugd0wMIoltk35W_qAmzcG69v
xor ecx, ecx
call fcn.180012cf0
xor eax, eax
jmp 0x180005a4e
cmp dword [rbp + 0xf], 0xffffffff
je 0x18000584e
lea r9, [rsi + 0x128]
cmp qword [r9 + 0x18], 8
jb 0x18000586c
mov r9, qword [r9]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
test rax, rax
jne 0x18000589f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.rBzSpVZBqqfXb8jWLeBuCtln5kA55pm7Wki80n7K6DfvW8VCTfdTdtZxXoqDioSRf2ceUwzszHflYLdjGz4B5mweaI
xor ecx, ecx
call fcn.180012cf0
xor eax, eax
jmp 0x180005a4e
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rax
mov r12d, dword [rbp + 0x13]
lea rcx, [rsi + 0xa8]
call fcn.180002bb0
mov eax, dword [rbp + 0x13]
test eax, eax
je 0x180005a24
mov dword [rsp + 0x20], r12d
mov r9d, eax
mov r8d, dword [rbp + 0xf]
lea rdx, str._CUwpExtSlotSvr::ReadSlot____cbMessage__d__Message__d__d_
mov ecx, 4
call fcn.180012cf0
mov edx, dword [rbp + 0xf]
test rdx, rdx
je 0x18000599e
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x1800059e5
mov word [rax], di
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x17]
mov r8d, dword [rbp + 0xf]
mov rdx, rbx
mov rcx, qword [rsi + 0xf8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800059c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x180005995
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], rdi
mov word [rbp - 0x39], di
cmp word [rbx], 0
jne 0x180005956
mov r8, rdi
jmp 0x18000596b
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x180005960
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.180008eb0
nop
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.180007d60
nop
cmp qword [rbp - 0x21], 8
jb 0x180005995
mov rcx, qword [rbp - 0x39]
call fcn.18001b768
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x13]
lea r8, [rbp + 0xf]
xor edx, edx
mov rcx, qword [rsi + 0xf8]
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test eax, eax
je 0x180005a15
jmp 0x1800058b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.K8q3dEafmttIZ9U2x_oOkWeOdz3jroNZXpWvc8fjCngrlbZNbXr_NVnI3Tm3iwLvaf1Ge_Ve5TFVMy2spbbFmPM
xor ecx, ecx
call fcn.180012cf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1800059fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.15C0xkyRtyCeAKMSc8ICWwbVjcZdwOo1fJyYWhbhXIiINZWWWHLTSxYdnTELuNBmVJuTwk_Q_CvBdwq4eNB4WNbY
mov r8d, eax
xor ecx, ecx
call fcn.180012cf0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsi + 0xa8]
call fcn.180002c00
xor eax, eax
jmp 0x180005a4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.B0ScJk_R9CSnCnlaeJRershxSZbJSXlrpYWhbhd52PArGKUmfaVmpQFowylWM566eS9xumlyymMrwJQuMGRk60sdhpKL7
jmp 0x1800059f2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsi + 0xa8]
call fcn.180002c00
mov rcx, qword [r13 + 8]
sub rcx, qword [r13]
sar rcx, 5
test rcx, rcx
setne dil
mov eax, edi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18001a840
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret