Function at 0x18009d740
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 [0x1801bc080]
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 [0x1801c4ac8], eax
cmp qword [rcx + 0x10], r15
je 0x18009dd61
lea rsi, [rax - 7]
cmp qword [rdx + 0x10], r15
je 0x18009da84
lea ecx, [rax + 0x3a]
call fcn.1800ef564
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 [0x1801c4ab8]
mov qword [rbp - 0x51], rax
mov qword [0x1801c4ab8], rcx
mov rcx, qword [0x1801c4ac0]
mov qword [rbp - 0x49], rcx
mov qword [0x1801c4ac0], rdx
test rcx, rcx
je 0x18009d873
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009d873
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 0x18009d873
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 0x18009d888
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 0x18009d8a4
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.180004a10
nop
mov rbx, qword [0x1801c4ab8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18009d8d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
cmp qword [rbp - 0x61], 0
jne 0x18009d8e0
mov r9, r15
jmp 0x18009d8ee
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 0x18009d933
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.180004a10
mov rbx, qword [rbx]
test rbx, rbx
setne dil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18009d97d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dd8c
call fcn.1800ef5a0
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
test rbx, rbx
jne 0x18009da7e
lea edx, [rbx + 2]
lea rcx, [0x1801c5338]
call fcn.1800d1200
mov ebx, eax
test eax, eax
je 0x18009dcd2
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, [0x18016b468]
lea rcx, [rbp - 0x11]
call fcn.1800d1720
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, [0x1801c5338]
call fcn.1800d1250
cmp ebx, 1
jbe 0x18009da28
lea rdx, [rbp - 0x11]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18009da68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009da63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dd92
call fcn.1800ef5a0
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
jmp 0x18009dcd2
mov eax, dword [0x1801c4ac8]
imul ecx, eax, 0x410
add ecx, 0x418
cmp qword [r14 + 0x18], 8
jb 0x18009da9a
mov r14, qword [r14]
mov dword [rsp + 0x28], ecx
mov r8, r14
lea rcx, [0x1801c4aa0]
call fcn.1800a3fc0
movzx edi, al
test al, al
je 0x18009dbcb
cmp dword [0x1801c4ab0], 0xb7
jne 0x18009dad9
call fcn.18009dda0
movzx edi, al
test al, al
jne 0x18009dd54
jmp 0x18009dcd2
imul ebx, dword [0x1801c4ac8], 0x410
add ebx, 0x418
cmp qword [0x1801c4aa0], 0
je 0x18009dbc3
mov rcx, qword [0x1801c4aa8]
test rcx, rcx
je 0x18009db10
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x1801c4aa8], r15
mov eax, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [0x1801c4aa0]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1801c4aa8], rax
test rax, rax
je 0x18009dbc3
mov qword [0x1801c4ad0], rax
mov dword [rax], 0x35343332
mov rax, qword [0x1801c4ad0]
mov dword [rax + 4], 1
mov rax, qword [0x1801c4ad0]
mov dword [rax + 8], r15d
mov eax, dword [0x1801c4ac8]
lea ecx, [rax*8 + 0x10]
mov rax, qword [0x1801c4ad0]
mov dword [rax + 0xc], ecx
mov r8d, r15d
cmp dword [0x1801c4ac8], r15d
jbe 0x18009dbb0
nop word [rax + rax]
mov ecx, r8d
mov rax, qword [0x1801c4ad0]
lea rdx, [rax + rcx*4]
mov eax, r15d
xchg dword [rdx + 0x14], eax
inc r8d
cmp r8d, dword [0x1801c4ac8]
jb 0x18009db90
mov dil, 1
mov byte [0x1801c4acc], dil
movzx eax, dil
jmp 0x18009dd63
xor dil, dil
jmp 0x18009dcd2
cmp qword [0x1801c5338], 0
je 0x18009dcd2
lea rcx, [0x1801c5338]
call fcn.1800d05a0
mov rax, qword [0x1801c5338]
cmp byte [rax + 0x78], 0
je 0x18009dcd2
cmp dword [rax + 0x80], 2
jb 0x18009dcd2
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, [0x18016b628]
lea rcx, [rbp + 0xf]
call fcn.1800d1720
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, [0x1801c5338]
call fcn.1800d1250
test bl, bl
je 0x18009dc81
lea rdx, [rbp + 0xf]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x18009dcc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009dcbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dd86
call fcn.1800ef5a0
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
cmp qword [0x1801c4aa0], 0
je 0x18009dce8
lea rcx, [0x1801c4aa0]
call fcn.1800a4130
mov rbx, qword [0x1801c4ab8]
test rbx, rbx
je 0x18009dd54
cmp qword [rbx], 0
je 0x18009dd06
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, [0x1801c4ab8]
call fcn.180004800
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18009dd54
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x18009dd54
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 0x18009dd54
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [0x1801c4acc], dil
movzx eax, dil
jmp 0x18009dd63
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ef540
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180111064
int3
call fcn.180111064
int3
call fcn.180111064
int3