Function at 0x1401eb0da
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r12d, r9d
mov rbx, r8
mov rsi, rcx
mov r13, qword [rsp + 0xd8]
mov ebp, dword [rsp + 0xd0]
mov rax, qword [0x14028f028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdx
lea eax, [r12 + rbp]
lea rdi, [rcx + 0x28]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rdi
mov rdx, rax
call fcn.1400bdb78
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x1401eb18b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x19
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ccfe0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
jne 0x1401eb1bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x1b
jmp 0x1401eb16b
mov r14, rax
mov r15d, r12d
mov eax, ebp
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x1401eb200
test ebp, ebp
je 0x1401eb200
lea rdi, [r14 + r15]
mov rcx, rdi
mov rdx, rbx
mov r8, qword [rsp + 0x38]
call fcn.1400cf0a0
xor eax, eax
mov rcx, qword [rdi + rax*8]
test rcx, rcx
je 0x1401eb1f7
sub rcx, rbx
mov qword [rdi + rax*8], rcx
inc rax
cmp rax, 0x40
jne 0x1401eb1e7
mov qword [0x14029b938], r15
lea r8, [0x14029b938]
mov r9d, 8
mov rcx, rsi
call fcn.1401eb386
mov qword [0x14029b938], 0
test eax, eax
je 0x1401eb23c
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
jmp 0x1401eb16b
mov rax, qword [rsp + 0x38]
mov qword [0x14029b940], rax
lea r8, [0x14029b940]
mov r9d, 8
mov rcx, rsi
call fcn.1401eb386
mov qword [0x14029b940], 0
test eax, eax
jne 0x1401eb22b
lea r9, [rsi + 0x40]
mov eax, dword [rsi + 0x10]
lea r8, [rsp + 0x4c]
mov dword [r8], eax
mov rax, qword [rsi]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.1401edc65
mov rcx, qword [rdi]
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], rcx
test rdi, rdi
je 0x1401eb2c1
mov rcx, rdi
call fcn.1401ed710
mov rcx, rdi
call fcn.1400c9cac
mov rcx, qword [rsi + 0x38]
mov rdx, r14
mov r8d, r12d
mov r9d, 0x400
call fcn.1401edcd2
mov ebx, 4
test al, al
je 0x1401eb16b
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x50]
mov qword [r14], rax
mov rbx, qword [rsi]
mov rdi, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 7
mov rcx, rax
mov rdx, rdi
mov r8, rbx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1401eb33a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x1a
jmp 0x1401eb16b
mov rax, qword [rsp + 0x50]
mov qword [0x1402999c8], rax
lea r8, [0x1402999c8]
mov r9d, 8
mov rcx, rsi
call fcn.1401eb386
mov qword [0x1402999c8], 0
test eax, eax
jne 0x1401eb22b
mov rcx, rsi
call fcn.1401ec9a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1401eb16b