Function at 0x1008fe90
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10129b00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1016f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
imul esi, dword [0x10175ef4], 0x410
mov eax, dword [0x10175ee0]
mov byte [ebp - 0x2a], 0
add esi, 0x418
test eax, eax
je 0x1009006d
mov ecx, dword [0x10175ee4]
test ecx, ecx
je 0x1008fefa
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [0x10175ee0]
mov dword [0x10175ee4], 0
push esi
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [0x10175ee4], ecx
test ecx, ecx
je 0x1009006d
mov dword [0x10175efc], ecx
cmp dword [ecx], 0x35343332
jne 0x1008ff4a
cmp dword [ecx + 4], 1
jne 0x1008ff4a
cmp dword [ecx + 8], 0
jne 0x1008ff4a
mov eax, dword [0x10175ef4]
lea eax, [eax*8 + 0x10]
cmp dword [ecx + 0xc], eax
jne 0x1008ff4a
mov al, 1
jmp 0x10090167
cmp dword [0x1017651c], 0
je 0x10090050
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x1009004a
cmp dword [eax + 0x58], 2
jb 0x1009004a
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x29], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push 0x1014aecc
push eax
call fcn.100c0730
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push 0x10b
push str.RC::RCProcMemoryShared_struct_RC::RCDesktopItemClickedData_::InitAndCheckFileMapping
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x29], 0
je 0x1008fff5
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10090036
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009002c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090181
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [0x10175ee4]
test ecx, ecx
je 0x10090065
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x10175ee4], 0
mov al, byte [ebp - 0x2a]
jmp 0x10090167
cmp dword [0x1017651c], 0
je 0x10090165
push ecx
mov ecx, 0x1017651c
call fcn.100bf860
mov eax, dword [0x1017651c]
cmp byte [eax + 0x54], 0
je 0x10090165
cmp dword [eax + 0x58], 2
jb 0x10090165
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x29], al
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push 0x1014ac5c
push eax
call fcn.100c0730
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push 0xfa
push str.RC::RCProcMemoryShared_struct_RC::RCDesktopItemClickedData_::InitAndCheckFileMapping
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_frameworkinclude_frameworkmemoryshared_rcmemoryshared.h
push eax
push 2
call fcn.100c0290
cmp byte [ebp - 0x29], 0
je 0x10090114
lea eax, [ebp - 0x28]
mov ecx, 0x1017651c
push eax
call fcn.100c05b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10090151
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10090147
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10090186
push edx
push ecx
call fcn.100da665
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100da624
mov esp, ebp
pop ebp
ret
call fcn.100f5ab9
call fcn.100f5ab9
int3