Function at 0x180036d20
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 0x180036f10
mov rax, qword [rdi + 8]
test rax, rax
je 0x180036d85
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 0x180036f10
mov qword [rdi + 0x30], rax
cmp dword [rax], 0x35343332
jne 0x180036de4
cmp dword [rax + 4], 1
jne 0x180036de4
cmp dword [rax + 8], ebp
jne 0x180036de4
mov eax, dword [rdi + 0x28]
dec eax
lea rcx, [rax*8 + 0x18]
mov eax, dword [rdx + 0xc]
cmp rax, rcx
jne 0x180036de4
mov sil, 1
movzx eax, sil
jmp 0x18003701e
cmp qword [0x1801c5328], rbp
je 0x180036ef4
lea rcx, [0x1801c5328]
call fcn.1800d0470
mov rax, qword [0x1801c5328]
cmp byte [rax + 0x78], bpl
je 0x180036ef4
cmp dword [rax + 0x80], 2
jb 0x180036ef4
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1801712b0]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x18016b580]
lea rcx, [rsp + 0x38]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
test bl, bl
je 0x180036e9f
lea rdx, [rsp + 0x38]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180036ee1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037047
call fcn.1800ef470
movdqa xmm0, xmmword [0x1801712b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180036f07
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rdi + 8], rbp
movzx eax, sil
jmp 0x18003701e
cmp qword [0x1801c5328], rbp
je 0x18003701c
lea rcx, [0x1801c5328]
call fcn.1800d0470
mov rax, qword [0x1801c5328]
cmp byte [rax + 0x78], bpl
je 0x18003701c
cmp dword [rax + 0x80], 2
jb 0x18003701c
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1801712b0]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], bp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x18016b498]
lea rcx, [rsp + 0x38]
call fcn.1800d15f0
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, [0x1801c5328]
call fcn.1800d1120
test bl, bl
je 0x180036fcb
lea rdx, [rsp + 0x38]
lea rcx, [0x1801c5328]
call fcn.1800d14b0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180037009
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180037004
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180037041
call fcn.1800ef470
movdqa xmm0, xmmword [0x1801712b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], bp
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800ef410
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.180110f34
int3
call fcn.180110f34
int3