Function at 0x180036430
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 0x180036483
mov al, 1
jmp 0x1800369ec
mov dword [rcx + 0x28], 6
cmp qword [rdx + 0x10], r13
je 0x1800369ea
mov r14, 0xffffffffffffffff
cmp qword [r8 + 0x10], r13
je 0x180036759
lea ecx, [r14 + 0x41]
call fcn.1800ece44
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.180004790
mov eax, 1
and eax, 0xfffffffe
mov dword [rbp - 0x79], eax
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x18003655c
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18003655c
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 0x18003655c
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rsi + 0x18], 8
jb 0x180036566
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 0x180036582
mov rdx, rsi
lea rcx, [rbp - 0x71]
call fcn.1800049a0
nop
mov rbx, qword [rdi + 0x18]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800365ac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r13
cmp qword [rbp - 0x61], 0
jne 0x1800365bb
mov r9, r13
jmp 0x1800365c9
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 0x18003660e
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 sil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x180036658
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036653
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036a19
call fcn.1800ece80
mov qword [rbp - 0x61], r13
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r13w
test rbx, rbx
jne 0x180036759
lea edx, [rbx + 2]
lea rcx, [0x1801c12f8]
call fcn.1800ceae0
mov ebx, eax
test eax, eax
je 0x18003696a
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, [0x180168440]
lea rcx, [rbp - 0x21]
call fcn.1800cf000
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, [0x1801c12f8]
call fcn.1800ceb30
cmp ebx, 1
jbe 0x180036703
lea rdx, [rbp - 0x21]
lea rcx, [0x1801c12f8]
call fcn.1800ceec0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180036743
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003673e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036a1f
call fcn.1800ece80
mov qword [rbp - 0x11], r13
mov qword [rbp - 9], 7
mov word [rbp - 0x21], r13w
jmp 0x18003696a
imul eax, dword [rdi + 0x28], 0x80c
add eax, 0x814
cmp qword [r15 + 0x18], 8
jb 0x18003676f
mov r15, qword [r15]
mov dword [rsp + 0x28], eax
mov r8, r15
mov rcx, rdi
call fcn.1800a18a0
movzx esi, al
test al, al
je 0x180036863
cmp dword [rdi + 0x10], 0xb7
jne 0x1800367a2
mov rcx, rdi
call fcn.180036a80
movzx esi, al
jmp 0x18003684d
xor sil, sil
imul ebx, dword [rdi + 0x28], 0x80c
add ebx, 0x814
mov rcx, qword [rdi]
test rcx, rcx
je 0x18003685b
mov rax, qword [rdi + 8]
test rax, rax
je 0x1800367d7
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 0x18003685b
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 0x18003684a
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 0x180036830
mov sil, 1
test sil, sil
jne 0x1800369e0
jmp 0x18003696a
xor sil, sil
jmp 0x18003696a
cmp qword [0x1801c12f8], 0
je 0x18003696a
lea rcx, [0x1801c12f8]
call fcn.1800cde80
mov rax, qword [0x1801c12f8]
cmp byte [rax + 0x78], 0
je 0x18003696a
cmp dword [rax + 0x80], 2
jb 0x18003696a
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, [0x180168570]
lea rcx, [rbp - 1]
call fcn.1800cf000
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, [0x1801c12f8]
call fcn.1800ceb30
test bl, bl
je 0x180036919
lea rdx, [rbp - 1]
lea rcx, [0x1801c12f8]
call fcn.1800ceec0
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x180036959
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036a13
call fcn.1800ece80
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r13w
cmp qword [rdi], 0
je 0x180036978
mov rcx, rdi
call fcn.1800a1a10
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1800369e0
mov rcx, qword [rbx]
test rcx, rcx
je 0x180036992
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.180004790
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1800369e0
mov eax, r14d
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x1800369e0
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 0x1800369e0
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [rdi + 0x2c], sil
movzx eax, sil
jmp 0x1800369ec
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800ece20
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.18010e944
int3
call fcn.18010e944
int3
call fcn.18010e944
int3