Function at 0x1401aedd0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [rcx + 8], r15
jne 0x1401aee76
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401af0be
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140262520]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bd0
test al, al
jne 0x1401aee69
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401aee50
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140018f70
nop
mov dword [rsp + 0x30], 1
jmp 0x1401af09a
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x1401aeedc
call fcn.1400195b0
mov rdx, rax
test rax, rax
je 0x1401af0be
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140262520]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bd0
test al, al
jne 0x1401aef69
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401aeed0
jmp 0x1401aef5a
mov qword [rsp + 0x20], 0x20d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r14, rax
test rax, rax
jne 0x1401aef76
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x10], r15
call fcn.1400195b0
mov rdx, rax
test rax, rax
je 0x1401af0be
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsi], rax
lea rbx, [0x140262520]
mov rdx, rbx
mov rcx, rsi
call fcn.140018bd0
test al, al
jne 0x1401aef69
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x1401aef50
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call fcn.140018f70
nop
mov dword [rsp + 0x30], 1
jmp 0x1401af09a
mov edx, 0xfa
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401aefb9
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rdx, [0x140262520]
mov rcx, rsi
call fcn.140019100
nop
mov dword [rsp + 0x30], 1
jmp 0x1401af09a
mov qword [rsp + 0x40], r15
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401af0be
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rdi, 0xffffffffffffffff
cmp byte [r14 + 1], 2
jne 0x1401af034
mov byte [r14 + 0x20c], 0
lea rdx, [r14 + 2]
test rdx, rdx
je 0x1401af01d
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1401af010
mov r15d, eax
mov r8d, r15d
lea rcx, [rsp + 0x40]
call fcn.140018f70
mov byte [r14 + 1], 1
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rbx - 0x18]
cmp word [rbx], 0
jne 0x1401af067
call fcn.1400191a0
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x30], 1
jmp 0x1401af07b
call fcn.1400191a0
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x30], 1
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x1401af09a
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rax, rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3