Function at 0x18009b030
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 [0x1801c0a88], eax
cmp qword [rcx + 0x10], r15
je 0x18009b651
lea rsi, [rax - 7]
cmp qword [rdx + 0x10], r15
je 0x18009b374
lea ecx, [rax + 0x3a]
call fcn.1800ece44
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 [0x1801c0a78]
mov qword [rbp - 0x51], rax
mov qword [0x1801c0a78], rcx
mov rcx, qword [0x1801c0a80]
mov qword [rbp - 0x49], rcx
mov qword [0x1801c0a80], rdx
test rcx, rcx
je 0x18009b163
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009b163
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 0x18009b163
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 0x18009b178
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 0x18009b194
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.1800049a0
nop
mov rbx, qword [0x1801c0a78]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18009b1c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
cmp qword [rbp - 0x61], 0
jne 0x18009b1d0
mov r9, r15
jmp 0x18009b1de
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 0x18009b223
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.1800049a0
mov rbx, qword [rbx]
test rbx, rbx
setne dil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18009b26d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b67c
call fcn.1800ece80
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
test rbx, rbx
jne 0x18009b36e
lea edx, [rbx + 2]
lea rcx, [0x1801c12f8]
call fcn.1800ceae0
mov ebx, eax
test eax, eax
je 0x18009b5c2
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, [0x180168440]
lea rcx, [rbp - 0x11]
call fcn.1800cf000
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, [0x1801c12f8]
call fcn.1800ceb30
cmp ebx, 1
jbe 0x18009b318
lea rdx, [rbp - 0x11]
lea rcx, [0x1801c12f8]
call fcn.1800ceec0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18009b358
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b353
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b682
call fcn.1800ece80
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
jmp 0x18009b5c2
mov eax, dword [0x1801c0a88]
imul ecx, eax, 0x410
add ecx, 0x418
cmp qword [r14 + 0x18], 8
jb 0x18009b38a
mov r14, qword [r14]
mov dword [rsp + 0x28], ecx
mov r8, r14
lea rcx, [0x1801c0a60]
call fcn.1800a18a0
movzx edi, al
test al, al
je 0x18009b4bb
cmp dword [0x1801c0a70], 0xb7
jne 0x18009b3c9
call fcn.18009b690
movzx edi, al
test al, al
jne 0x18009b644
jmp 0x18009b5c2
imul ebx, dword [0x1801c0a88], 0x410
add ebx, 0x418
cmp qword [0x1801c0a60], 0
je 0x18009b4b3
mov rcx, qword [0x1801c0a68]
test rcx, rcx
je 0x18009b400
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x1801c0a68], r15
mov eax, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [0x1801c0a60]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1801c0a68], rax
test rax, rax
je 0x18009b4b3
mov qword [0x1801c0a90], rax
mov dword [rax], 0x35343332
mov rax, qword [0x1801c0a90]
mov dword [rax + 4], 1
mov rax, qword [0x1801c0a90]
mov dword [rax + 8], r15d
mov eax, dword [0x1801c0a88]
lea ecx, [rax*8 + 0x10]
mov rax, qword [0x1801c0a90]
mov dword [rax + 0xc], ecx
mov r8d, r15d
cmp dword [0x1801c0a88], r15d
jbe 0x18009b4a0
nop word [rax + rax]
mov ecx, r8d
mov rax, qword [0x1801c0a90]
lea rdx, [rax + rcx*4]
mov eax, r15d
xchg dword [rdx + 0x14], eax
inc r8d
cmp r8d, dword [0x1801c0a88]
jb 0x18009b480
mov dil, 1
mov byte [0x1801c0a8c], dil
movzx eax, dil
jmp 0x18009b653
xor dil, dil
jmp 0x18009b5c2
cmp qword [0x1801c12f8], 0
je 0x18009b5c2
lea rcx, [0x1801c12f8]
call fcn.1800cde80
mov rax, qword [0x1801c12f8]
cmp byte [rax + 0x78], 0
je 0x18009b5c2
cmp dword [rax + 0x80], 2
jb 0x18009b5c2
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, [0x180168570]
lea rcx, [rbp + 0xf]
call fcn.1800cf000
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, [0x1801c12f8]
call fcn.1800ceb30
test bl, bl
je 0x18009b571
lea rdx, [rbp + 0xf]
lea rcx, [0x1801c12f8]
call fcn.1800ceec0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x18009b5b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009b5ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009b676
call fcn.1800ece80
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
cmp qword [0x1801c0a60], 0
je 0x18009b5d8
lea rcx, [0x1801c0a60]
call fcn.1800a1a10
mov rbx, qword [0x1801c0a78]
test rbx, rbx
je 0x18009b644
cmp qword [rbx], 0
je 0x18009b5f6
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, [0x1801c0a78]
call fcn.180004790
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18009b644
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x18009b644
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 0x18009b644
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [0x1801c0a8c], dil
movzx eax, dil
jmp 0x18009b653
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ece20
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18010e944
int3
call fcn.18010e944
int3
call fcn.18010e944
int3