Function at 0x180036800
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 0x180036853
mov al, 1
jmp 0x180036dbc
mov dword [rcx + 0x28], 6
cmp qword [rdx + 0x10], r13
je 0x180036dba
mov r14, 0xffffffffffffffff
cmp qword [r8 + 0x10], r13
je 0x180036b29
lea ecx, [r14 + 0x41]
call fcn.1800ef564
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.180004800
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x79], eax
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x18003692c
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18003692c
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 0x18003692c
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rsi + 0x18], 8
jb 0x180036936
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 0x180036952
mov rdx, rsi
lea rcx, [rbp - 0x71]
call fcn.180004a10
nop
mov rbx, qword [rdi + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003697c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
cmp qword [rbp - 0x61], 0
jne 0x18003698b
mov r9, r13
jmp 0x180036999
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 0x1800369de
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 sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x180036a28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036a23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036de9
call fcn.1800ef5a0
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
test rbx, rbx
jne 0x180036b29
lea edx, [rbx + 2]
lea rcx, [0x1801c5338]
call fcn.1800d1200
mov ebx, eax
test eax, eax
je 0x180036d3a
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, [0x18016b468]
lea rcx, [rbp - 0x21]
call fcn.1800d1720
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, [0x1801c5338]
call fcn.1800d1250
cmp ebx, 1
jbe 0x180036ad3
lea rdx, [rbp - 0x21]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180036b13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036b0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036def
call fcn.1800ef5a0
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
jmp 0x180036d3a
imul eax, dword [rdi + 0x28], 0x80c
add eax, 0x814
cmp qword [r15 + 0x18], 8
jb 0x180036b3f
mov r15, qword [r15]
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rdi
call fcn.1800a3fc0
movzx esi, al
test al, al
je 0x180036c33
cmp dword [rdi + 0x10], 0xb7
jne 0x180036b72
mov rcx, rdi
call fcn.180036e50
movzx esi, al
jmp 0x180036c1d
xor sil, sil
imul ebx, dword [rdi + 0x28], 0x80c
add ebx, 0x814
mov rcx, qword [rdi]
test rcx, rcx
je 0x180036c2b
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036ba7
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 0x180036c2b
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 0x180036c1a
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 0x180036c00
mov sil, 1
test sil, sil
jne 0x180036db0
jmp 0x180036d3a
xor sil, sil
jmp 0x180036d3a
cmp qword [0x1801c5338], 0
je 0x180036d3a
lea rcx, [0x1801c5338]
call fcn.1800d05a0
mov rax, qword [0x1801c5338]
cmp byte [rax + 0x78], 0
je 0x180036d3a
cmp dword [rax + 0x80], 2
jb 0x180036d3a
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, [0x18016b628]
lea rcx, [rbp - 1]
call fcn.1800d1720
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, [0x1801c5338]
call fcn.1800d1250
test bl, bl
je 0x180036ce9
lea rdx, [rbp - 1]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180036d29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036d24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036de3
call fcn.1800ef5a0
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
cmp qword [rdi], 0
je 0x180036d48
mov rcx, rdi
call fcn.1800a4130
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x180036db0
mov rcx, qword [rbx]
test rcx, rcx
je 0x180036d62
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.180004800
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x180036db0
mov eax, r14d
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x180036db0
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 0x180036db0
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [rdi + 0x2c], sil
movzx eax, sil
jmp 0x180036dbc
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ef540
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.180111064
int3
call fcn.180111064
int3
call fcn.180111064
int3