Function at 0x1800088d0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov rax, qword [0x1800d1eb0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0xb0]
mov r15, rcx
mov rcx, qword [rcx + 0x10]
mov ebx, edx
or edx, 0xffffffff
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], rax
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
lea rdx, str.961B9B78_B8F2_43d1_9A35_AE451DFD6156
lea rcx, [rsp + 0x68]
lea r8d, [rsi + 0x26]
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
call fcn.180004cc0
lea r8, [rsp + 0x68]
lea rdx, [rbp + 8]
mov r9d, ebx
mov rcx, r15
call fcn.1800087d0
cmp qword [rax + 0x18], 8
jb 0x180008964
mov rax, qword [rax]
xor r8d, r8d
mov r9, rax
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
cmp qword [rbp + 0x20], 8
mov r14, rax
jb 0x180008989
mov rcx, qword [rbp + 8]
call fcn.18007a7a4
lea rdx, str.2D77842A_A226_4b11_8C73_E18F672FB3A2
lea rcx, [rbp - 0x70]
mov r8d, 0x26
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], rsi
mov word [rbp + 8], si
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rsi
mov word [rbp - 0x70], si
call fcn.180004cc0
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x48]
mov r9d, ebx
mov rcx, r15
call fcn.1800087d0
cmp qword [rax + 0x18], 8
jb 0x1800089dc
mov rax, qword [rax]
xor r8d, r8d
mov r9, rax
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
cmp qword [rbp - 0x30], 8
mov r13, rax
jb 0x180008a01
mov rcx, qword [rbp - 0x48]
call fcn.18007a7a4
lea rdx, str.594947EB_D5AF_4159_843C_9FA18F8098C2
lea rcx, [rsp + 0x40]
mov r8d, 0x26
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x40], si
call fcn.180004cc0
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x20]
mov r9d, ebx
mov rcx, r15
call fcn.1800087d0
cmp qword [rax + 0x18], 8
jb 0x180008a59
mov rax, qword [rax]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
lea r8d, [r9 + 4]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0xa00000
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp qword [rbp - 8], 8
mov r12, rax
jb 0x180008a8c
mov rcx, qword [rbp - 0x20]
call fcn.18007a7a4
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
test r14, r14
je 0x180008bee
test r13, r13
je 0x180008bee
test r12, r12
je 0x180008bee
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 2]
mov qword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [rax], 4
mov ecx, dword [rdi]
mov dword [rax + 4], ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180008b48
lea rdx, [0x1800a9948]
lea rcx, [0x1800d7100]
call fcn.180006930
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x180008c01
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
lea edx, [r9 + 4]
mov qword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rax
mov esi, dword [rax]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor r9d, r9d
lea rax, [rsi + 4]
lea edx, [r9 + 4]
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, qword [rsp + 0x30]
mov r8d, esi
lea rdx, [rax + 4]
mov rbx, rax
call fcn.18007abc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov r11, qword [rsp + 0x38]
mov rcx, r14
mov dword [r11], esi
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r15 + 0x10]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x180008c03
lea rdx, [0x1800a9910]
lea rcx, [0x1800d7100]
call fcn.180006930
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18007a7c0
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret