Function at 0x1800366d0
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 [0x1801bc080]
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 0x180036723
mov al, 1
jmp 0x180036c8c
mov dword [rcx + 0x28], 6
cmp qword [rdx + 0x10], r13
je 0x180036c8a
mov r14, 0xffffffffffffffff
cmp qword [r8 + 0x10], r13
je 0x1800369f9
lea ecx, [r14 + 0x41]
call fcn.1800ef434
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.180004890
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x79], eax
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1800367fc
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800367fc
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 0x1800367fc
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rsi + 0x18], 8
jb 0x180036806
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 0x180036822
mov rdx, rsi
lea rcx, [rbp - 0x71]
call fcn.180004aa0
nop
mov rbx, qword [rdi + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003684c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
cmp qword [rbp - 0x61], 0
jne 0x18003685b
mov r9, r13
jmp 0x180036869
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 0x1800368ae
lea rdx, [rbp - 0x71]
cmp qword [rbp - 0x59], 8
cmovae rdx, qword [rbp - 0x71]
mov r8, qword [rbp - 0x61]
call fcn.180004aa0
mov rbx, qword [rbx]
test rbx, rbx
setne sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x1800368f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800368f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036cb9
call fcn.1800ef470
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
test rbx, rbx
jne 0x1800369f9
lea edx, [rbx + 2]
lea rcx, [0x1801c5328]
call fcn.1800d10d0
mov ebx, eax
test eax, eax
je 0x180036c0a
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, [0x18016b2b8]
lea rcx, [rbp - 0x21]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
cmp ebx, 1
jbe 0x1800369a3
lea rdx, [rbp - 0x21]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x1800369e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800369de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036cbf
call fcn.1800ef470
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
jmp 0x180036c0a
imul eax, dword [rdi + 0x28], 0x80c
add eax, 0x814
cmp qword [r15 + 0x18], 8
jb 0x180036a0f
mov r15, qword [r15]
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rdi
call fcn.1800a3e90
movzx esi, al
test al, al
je 0x180036b03
cmp dword [rdi + 0x10], 0xb7
jne 0x180036a42
mov rcx, rdi
call fcn.180036d20
movzx esi, al
jmp 0x180036aed
xor sil, sil
imul ebx, dword [rdi + 0x28], 0x80c
add ebx, 0x814
mov rcx, qword [rdi]
test rcx, rcx
je 0x180036afb
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036a77
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 0x180036afb
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 0x180036aea
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 0x180036ad0
mov sil, 1
test sil, sil
jne 0x180036c80
jmp 0x180036c0a
xor sil, sil
jmp 0x180036c0a
cmp qword [0x1801c5328], 0
je 0x180036c0a
lea rcx, [0x1801c5328]
call fcn.1800d0470
mov rax, qword [0x1801c5328]
cmp byte [rax + 0x78], 0
je 0x180036c0a
cmp dword [rax + 0x80], 2
jb 0x180036c0a
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, [0x18016b478]
lea rcx, [rbp - 1]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
test bl, bl
je 0x180036bb9
lea rdx, [rbp - 1]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180036bf9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036bf4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036cb3
call fcn.1800ef470
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
cmp qword [rdi], 0
je 0x180036c18
mov rcx, rdi
call fcn.1800a4000
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180036c80
mov rcx, qword [rbx]
test rcx, rcx
je 0x180036c32
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.180004890
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x180036c80
mov eax, r14d
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x180036c80
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 0x180036c80
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [rdi + 0x2c], sil
movzx eax, sil
jmp 0x180036c8c
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ef410
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.180110f34
int3
call fcn.180110f34
int3
call fcn.180110f34
int3