Function at 0x18009aed0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rsp + 0x120], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rbp - 0x79], r15d
mov eax, 6
mov dword [0x1801c0a48], eax
cmp qword [rcx + 0x10], r15
je 0x18009b4f1
lea rsi, [rax - 7]
cmp qword [rdx + 0x10], r15
je 0x18009b214
lea ecx, [rax + 0x3a]
call fcn.1800ecce4
mov rdx, rax
mov qword [rbp - 0x19], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_RC::RCEvent_.0
mov qword [rdx], rax
lea rcx, [rdx + 0x10]
mov qword [rbp - 0x41], rcx
mov qword [rcx], r15
mov byte [rcx + 8], r15b
mov qword [rcx + 0x20], r15
mov qword [rcx + 0x28], 7
mov word [rcx + 0x10], r15w
xor eax, eax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov dword [rbp - 0x79], 1
mov qword [rbp - 0x31], rcx
mov qword [rbp - 0x29], rdx
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rdx
movdqu xmmword [rbp - 0x31], xmm0
mov rax, qword [0x1801c0a38]
mov qword [rbp - 0x51], rax
mov qword [0x1801c0a38], rcx
mov rcx, qword [0x1801c0a40]
mov qword [rbp - 0x49], rcx
mov qword [0x1801c0a40], rdx
test rcx, rcx
je 0x18009b003
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009b003
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18009b003
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x79], eax
cmp qword [rdi + 0x18], 8
jb 0x18009b018
mov rdi, qword [rdi]
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
mov r8, rsi
inc r8
cmp word [rdi + r8*2], 0
jne 0x18009b034
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.180004930
nop
mov rbx, qword [0x1801c0a38]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18009b061
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
cmp qword [rbp - 0x61], 0
jne 0x18009b070
mov r9, r15
jmp 0x18009b07e
lea r9, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae r9, qword [rbp - 0x71]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
mov byte [rbx + 8], al
lea rcx, [rbx + 0x10]
lea rax, [rbp - 0x71]
cmp rcx, rax
je 0x18009b0c3
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.180004930
mov rbx, qword [rbx]
test rbx, rbx
setne dil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18009b10d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b108
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b51c
call fcn.1800ecd20
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
test rbx, rbx
jne 0x18009b20e
lea edx, [rbx + 2]
lea rcx, [0x1801c12b8]
call fcn.1800ce980
mov ebx, eax
test eax, eax
je 0x18009b462
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1801683c0]
lea rcx, [rbp - 0x11]
call fcn.1800ceea0
mov dword [rsp + 0x28], 0x92
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCDesktopItemClickedData_::InitializeImpl
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rbp - 0x11]
mov edx, 2
lea rcx, [0x1801c12b8]
call fcn.1800ce9d0
cmp ebx, 1
jbe 0x18009b1b8
lea rdx, [rbp - 0x11]
lea rcx, [0x1801c12b8]
call fcn.1800ced60
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18009b1f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b522
call fcn.1800ecd20
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
jmp 0x18009b462
mov eax, dword [0x1801c0a48]
imul ecx, eax, 0x410
add ecx, 0x418
cmp qword [r14 + 0x18], 8
jb 0x18009b22a
mov r14, qword [r14]
mov dword [rsp + 0x28], ecx
mov r8, r14
lea rcx, [0x1801c0a20]
call fcn.1800a1740
movzx edi, al
test al, al
je 0x18009b35b
cmp dword [0x1801c0a30], 0xb7
jne 0x18009b269
call fcn.18009b530
movzx edi, al
test al, al
jne 0x18009b4e4
jmp 0x18009b462
imul ebx, dword [0x1801c0a48], 0x410
add ebx, 0x418
cmp qword [0x1801c0a20], 0
je 0x18009b353
mov rcx, qword [0x1801c0a28]
test rcx, rcx
je 0x18009b2a0
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x1801c0a28], r15
mov eax, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [0x1801c0a20]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1801c0a28], rax
test rax, rax
je 0x18009b353
mov qword [0x1801c0a50], rax
mov dword [rax], 0x35343332
mov rax, qword [0x1801c0a50]
mov dword [rax + 4], 1
mov rax, qword [0x1801c0a50]
mov dword [rax + 8], r15d
mov eax, dword [0x1801c0a48]
lea ecx, [rax*8 + 0x10]
mov rax, qword [0x1801c0a50]
mov dword [rax + 0xc], ecx
mov r8d, r15d
cmp dword [0x1801c0a48], r15d
jbe 0x18009b340
nop word [rax + rax]
mov ecx, r8d
mov rax, qword [0x1801c0a50]
lea rdx, [rax + rcx*4]
mov eax, r15d
xchg dword [rdx + 0x14], eax
inc r8d
cmp r8d, dword [0x1801c0a48]
jb 0x18009b320
mov dil, 1
mov byte [0x1801c0a4c], dil
movzx eax, dil
jmp 0x18009b4f3
xor dil, dil
jmp 0x18009b462
cmp qword [0x1801c12b8], 0
je 0x18009b462
lea rcx, [0x1801c12b8]
call fcn.1800cdd20
mov rax, qword [0x1801c12b8]
cmp byte [rax + 0x78], 0
je 0x18009b462
cmp dword [rax + 0x80], 2
jb 0x18009b462
movzx ebx, byte [rax + 0x84]
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1801684f0]
lea rcx, [rbp + 0xf]
call fcn.1800ceea0
mov dword [rsp + 0x28], 0xa6
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCDesktopItemClickedData_::InitializeImpl
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rbp + 0xf]
mov edx, 2
lea rcx, [0x1801c12b8]
call fcn.1800ce9d0
test bl, bl
je 0x18009b411
lea rdx, [rbp + 0xf]
lea rcx, [0x1801c12b8]
call fcn.1800ced60
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x18009b451
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b44c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b516
call fcn.1800ecd20
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
cmp qword [0x1801c0a20], 0
je 0x18009b478
lea rcx, [0x1801c0a20]
call fcn.1800a18b0
mov rbx, qword [0x1801c0a38]
test rbx, rbx
je 0x18009b4e4
cmp qword [rbx], 0
je 0x18009b496
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
lea rdx, [rbp - 0x41]
lea rcx, [0x1801c0a38]
call fcn.180004720
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18009b4e4
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x18009b4e4
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18009b4e4
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [0x1801c0a4c], dil
movzx eax, dil
jmp 0x18009b4f3
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800eccc0
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18010e7e4
int3
call fcn.18010e7e4
int3
call fcn.18010e7e4
int3