Function at 0x1800362d0
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rax, qword [0x1801b8080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r8
mov r15, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rbp - 0x79], r13d
cmp byte [rcx + 0x2c], r13b
je 0x180036323
mov al, 1
jmp 0x18003688c
mov dword [rcx + 0x28], 6
cmp qword [rdx + 0x10], r13
je 0x18003688a
mov r14, 0xffffffffffffffff
cmp qword [r8 + 0x10], r13
je 0x1800365f9
lea ecx, [r14 + 0x41]
call fcn.1800ecce4
mov qword [rbp - 0x29], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_obj_class_RC::RCEvent_.0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov qword [rbp - 0x41], rcx
mov qword [rcx], r13
mov byte [rcx + 8], 0
mov qword [rcx + 0x20], r13
mov qword [rcx + 0x28], 7
mov word [rcx + 0x10], r13w
xor edx, edx
mov qword [rbp - 0x51], rdx
mov qword [rbp - 0x49], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov dword [rbp - 0x79], 1
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x51]
lea rcx, [rdi + 0x18]
call fcn.180004720
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x79], eax
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800363fc
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800363fc
mov rbx, qword [rbp - 0x49]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1800363fc
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rsi + 0x18], 8
jb 0x180036406
mov rsi, qword [rsi]
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
mov r8, r14
inc r8
cmp word [rsi + r8*2], 0
jne 0x180036422
mov rdx, rsi
lea rcx, [rbp - 0x71]
call fcn.180004930
nop
mov rbx, qword [rdi + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003644c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
cmp qword [rbp - 0x61], 0
jne 0x18003645b
mov r9, r13
jmp 0x180036469
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 0x1800364ae
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 sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1800364f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800364f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800368b9
call fcn.1800ecd20
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
test rbx, rbx
jne 0x1800365f9
lea edx, [rbx + 2]
lea rcx, [0x1801c12b8]
call fcn.1800ce980
mov ebx, eax
test eax, eax
je 0x18003680a
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], r13
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1801683c0]
lea rcx, [rbp - 0x21]
call fcn.1800ceea0
mov dword [rsp + 0x28], 0x92
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCIPCCreateProcessNotifyEventData_::InitializeImpl
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rbp - 0x21]
mov edx, 2
lea rcx, [0x1801c12b8]
call fcn.1800ce9d0
cmp ebx, 1
jbe 0x1800365a3
lea rdx, [rbp - 0x21]
lea rcx, [0x1801c12b8]
call fcn.1800ced60
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1800365e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800365de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800368bf
call fcn.1800ecd20
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
jmp 0x18003680a
imul eax, dword [rdi + 0x28], 0x80c
add eax, 0x814
cmp qword [r15 + 0x18], 8
jb 0x18003660f
mov r15, qword [r15]
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rdi
call fcn.1800a1740
movzx esi, al
test al, al
je 0x180036703
cmp dword [rdi + 0x10], 0xb7
jne 0x180036642
mov rcx, rdi
call fcn.180036920
movzx esi, al
jmp 0x1800366ed
xor sil, sil
imul ebx, dword [rdi + 0x28], 0x80c
add ebx, 0x814
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800366fb
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036677
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 8], r13
mov rcx, qword [rdi]
mov eax, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1800366fb
mov qword [rdi + 0x30], rax
mov dword [rax], 0x35343332
mov rax, qword [rdi + 0x30]
mov dword [rax + 4], 1
mov rax, qword [rdi + 0x30]
mov dword [rax + 8], r13d
mov eax, dword [rdi + 0x28]
lea ecx, [rax*8 + 0x10]
mov rax, qword [rdi + 0x30]
mov dword [rax + 0xc], ecx
mov r8d, r13d
cmp dword [rdi + 0x28], r13d
jbe 0x1800366ea
nop
mov ecx, r8d
mov rax, qword [rdi + 0x30]
lea rdx, [rax + rcx*4]
mov eax, r13d
xchg dword [rdx + 0x14], eax
inc r8d
cmp r8d, dword [rdi + 0x28]
jb 0x1800366d0
mov sil, 1
test sil, sil
jne 0x180036880
jmp 0x18003680a
xor sil, sil
jmp 0x18003680a
cmp qword [0x1801c12b8], 0
je 0x18003680a
lea rcx, [0x1801c12b8]
call fcn.1800cdd20
mov rax, qword [0x1801c12b8]
cmp byte [rax + 0x78], 0
je 0x18003680a
cmp dword [rax + 0x80], 2
jb 0x18003680a
movzx ebx, byte [rax + 0x84]
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x1801684f0]
lea rcx, [rbp - 1]
call fcn.1800ceea0
mov dword [rsp + 0x28], 0xa6
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCIPCCreateProcessNotifyEventData_::InitializeImpl
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rbp - 1]
mov edx, 2
lea rcx, [0x1801c12b8]
call fcn.1800ce9d0
test bl, bl
je 0x1800367b9
lea rdx, [rbp - 1]
lea rcx, [0x1801c12b8]
call fcn.1800ced60
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x1800367f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800367f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800368b3
call fcn.1800ecd20
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
cmp qword [rdi], 0
je 0x180036818
mov rcx, rdi
call fcn.1800a18b0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180036880
mov rcx, qword [rbx]
test rcx, rcx
je 0x180036832
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
lea rdx, [rbp - 0x41]
lea rcx, [rdi + 0x18]
call fcn.180004720
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x180036880
mov eax, r14d
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x180036880
mov rbx, qword [rbp - 0x39]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x180036880
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [rdi + 0x2c], sil
movzx eax, sil
jmp 0x18003688c
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800eccc0
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18010e7e4
int3
call fcn.18010e7e4
int3
call fcn.18010e7e4
int3