Function at 0x18009d610
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 [0x1801bc080]
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 [0x1801c4a78], eax
cmp qword [rcx + 0x10], r15
je 0x18009dc31
lea rsi, [rax - 7]
cmp qword [rdx + 0x10], r15
je 0x18009d954
lea ecx, [rax + 0x3a]
call fcn.1800ef434
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 [0x1801c4a68]
mov qword [rbp - 0x51], rax
mov qword [0x1801c4a68], rcx
mov rcx, qword [0x1801c4a70]
mov qword [rbp - 0x49], rcx
mov qword [0x1801c4a70], rdx
test rcx, rcx
je 0x18009d743
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18009d743
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 0x18009d743
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 0x18009d758
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 0x18009d774
mov rdx, rdi
lea rcx, [rbp - 0x71]
call fcn.180004aa0
nop
mov rbx, qword [0x1801c4a68]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18009d7a1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
cmp qword [rbp - 0x61], 0
jne 0x18009d7b0
mov r9, r15
jmp 0x18009d7be
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 0x18009d803
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 dil
mov rdx, qword [rbp - 0x59]
cmp rdx, 8
jb 0x18009d84d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dc5c
call fcn.1800ef470
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], 7
mov word [rbp - 0x71], r15w
test rbx, rbx
jne 0x18009d94e
lea edx, [rbx + 2]
lea rcx, [0x1801c5328]
call fcn.1800d10d0
mov ebx, eax
test eax, eax
je 0x18009dba2
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, [0x18016b2b8]
lea rcx, [rbp - 0x11]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
cmp ebx, 1
jbe 0x18009d8f8
lea rdx, [rbp - 0x11]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18009d938
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009d933
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dc62
call fcn.1800ef470
mov qword [rbp - 1], r15
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r15w
jmp 0x18009dba2
mov eax, dword [0x1801c4a78]
imul ecx, eax, 0x410
add ecx, 0x418
cmp qword [r14 + 0x18], 8
jb 0x18009d96a
mov r14, qword [r14]
mov dword [rsp + 0x28], ecx
mov r8, r14
lea rcx, [0x1801c4a50]
call fcn.1800a3e90
movzx edi, al
test al, al
je 0x18009da9b
cmp dword [0x1801c4a60], 0xb7
jne 0x18009d9a9
call fcn.18009dc70
movzx edi, al
test al, al
jne 0x18009dc24
jmp 0x18009dba2
imul ebx, dword [0x1801c4a78], 0x410
add ebx, 0x418
cmp qword [0x1801c4a50], 0
je 0x18009da93
mov rcx, qword [0x1801c4a58]
test rcx, rcx
je 0x18009d9e0
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [0x1801c4a58], r15
mov eax, ebx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, qword [0x1801c4a50]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x1801c4a58], rax
test rax, rax
je 0x18009da93
mov qword [0x1801c4a80], rax
mov dword [rax], 0x35343332
mov rax, qword [0x1801c4a80]
mov dword [rax + 4], 1
mov rax, qword [0x1801c4a80]
mov dword [rax + 8], r15d
mov eax, dword [0x1801c4a78]
lea ecx, [rax*8 + 0x10]
mov rax, qword [0x1801c4a80]
mov dword [rax + 0xc], ecx
mov r8d, r15d
cmp dword [0x1801c4a78], r15d
jbe 0x18009da80
nop word [rax + rax]
mov ecx, r8d
mov rax, qword [0x1801c4a80]
lea rdx, [rax + rcx*4]
mov eax, r15d
xchg dword [rdx + 0x14], eax
inc r8d
cmp r8d, dword [0x1801c4a78]
jb 0x18009da60
mov dil, 1
mov byte [0x1801c4a7c], dil
movzx eax, dil
jmp 0x18009dc33
xor dil, dil
jmp 0x18009dba2
cmp qword [0x1801c5328], 0
je 0x18009dba2
lea rcx, [0x1801c5328]
call fcn.1800d0470
mov rax, qword [0x1801c5328]
cmp byte [rax + 0x78], 0
je 0x18009dba2
cmp dword [rax + 0x80], 2
jb 0x18009dba2
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, [0x18016b478]
lea rcx, [rbp + 0xf]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
test bl, bl
je 0x18009db51
lea rdx, [rbp + 0xf]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x18009db91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009db8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009dc56
call fcn.1800ef470
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r15w
cmp qword [0x1801c4a50], 0
je 0x18009dbb8
lea rcx, [0x1801c4a50]
call fcn.1800a4000
mov rbx, qword [0x1801c4a68]
test rbx, rbx
je 0x18009dc24
cmp qword [rbx], 0
je 0x18009dbd6
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, [0x1801c4a68]
call fcn.180004890
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x18009dc24
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x18009dc24
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 0x18009dc24
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 8]
mov byte [0x1801c4a7c], dil
movzx eax, dil
jmp 0x18009dc33
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ef410
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.180110f34
int3
call fcn.180110f34
int3
call fcn.180110f34
int3