Function at 0x180036e50
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1801bc080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
xor sil, sil
imul ebx, dword [rcx + 0x28], 0x80c
add ebx, 0x814
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x180037040
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036eb5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 8], rbp
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 rdx, rax
mov qword [rdi + 8], rax
test rax, rax
je 0x180037040
mov qword [rdi + 0x30], rax
cmp dword [rax], 0x35343332
jne 0x180036f14
cmp dword [rax + 4], 1
jne 0x180036f14
cmp dword [rax + 8], ebp
jne 0x180036f14
mov eax, dword [rdi + 0x28]
dec eax
lea rcx, [rax*8 + 0x18]
mov eax, dword [rdx + 0xc]
cmp rax, rcx
jne 0x180036f14
mov sil, 1
movzx eax, sil
jmp 0x18003714e
cmp qword [0x1801c5338], rbp
je 0x180037024
lea rcx, [0x1801c5338]
call fcn.1800d05a0
mov rax, qword [0x1801c5338]
cmp byte [rax + 0x78], bpl
je 0x180037024
cmp dword [rax + 0x80], 2
jb 0x180037024
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x180171380]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x18016b440]
lea rcx, [rsp + 0x38]
call fcn.1800d1720
mov dword [rsp + 0x28], 0x10b
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCIPCCreateProcessNotifyEventData_::InitAndCheckFileMapping
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rsp + 0x38]
mov edx, 2
lea rcx, [0x1801c5338]
call fcn.1800d1250
test bl, bl
je 0x180036fcf
lea rdx, [rsp + 0x38]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180037011
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003700c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037177
call fcn.1800ef5a0
movdqa xmm0, xmmword [0x180171380]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180037037
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 8], rbp
movzx eax, sil
jmp 0x18003714e
cmp qword [0x1801c5338], rbp
je 0x18003714c
lea rcx, [0x1801c5338]
call fcn.1800d05a0
mov rax, qword [0x1801c5338]
cmp byte [rax + 0x78], bpl
je 0x18003714c
cmp dword [rax + 0x80], 2
jb 0x18003714c
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x180171380]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x18016b358]
lea rcx, [rsp + 0x38]
call fcn.1800d1720
mov dword [rsp + 0x28], 0xfa
lea rax, str.RC::RCProcMemoryShared_struct_RC::RCIPCCreateProcessNotifyEventData_::InitAndCheckFileMapping
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
lea r8, [rsp + 0x38]
mov edx, 2
lea rcx, [0x1801c5338]
call fcn.1800d1250
test bl, bl
je 0x1800370fb
lea rdx, [rsp + 0x38]
lea rcx, [0x1801c5338]
call fcn.1800d15e0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180037139
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037134
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037171
call fcn.1800ef5a0
movdqa xmm0, xmmword [0x180171380]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ef540
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.180111064
int3
call fcn.180111064
int3