Function at 0x1002f690
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083410
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 1
lea eax, [esi + 0x14]
push eax
push dword [ebp + 0x10]
mov dword [esi], vtable.CIpcCfgValidator.0
push dword [ebp + 0xc]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [eax], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x1002f73e
lea eax, [ebp - 0x18]
push str._Initialize:_Could_not_create_DataIntegrityKey_
push eax
call fcn.1003a800
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
call fcn.100394f0
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jmp 0x1002f9bb
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push str._s_IpcCfgValidatorMutex
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push dword [ebp + 0xc]
mov dword [esi + 0xc], eax
test eax, eax
lea eax, [ebp - 0x18]
jne 0x1002f807
xorps xmm0, xmm0
mov byte [ebp - 0x2c], 0
push str.Initialize:_Creating_new_CIpcCfgValidator:_MutexName_s
push eax
movdqu xmmword [ebp - 0x2b], xmm0
mov word [ebp - 0x1b], 0
mov byte [ebp - 0x19], 0
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
call fcn.100394f0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1002f7ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push dword [ebp + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xc], eax
jmp 0x1002f844
push str.Initialize:_Opening_existing_CIpcCfgValidator:_MutexName_s
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
call fcn.100394f0
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1002f844
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0xc], 0
jne 0x1002f876
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push str._Initialize:_Could_not_open_create_MutexName_s
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
call fcn.100394f0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
jmp 0x1002f98c
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str._s_IpcCfgValidatorMap
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 7
push dword [ebp - 0x14]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x10], eax
test eax, eax
je 0x1002f8c4
push 0x2004
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1002f97e
jmp 0x1002f985
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x40]
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x40], 0
movdqu xmmword [ebp - 0x3f], xmm0
mov word [ebp - 0x2f], 0
mov byte [ebp - 0x2d], 0
call fcn.1003dd70
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push 0x2004
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x1002f93d
push ecx
mov ecx, esp
push str._Initialize:_CreateFileMapping_IPCCFGVALIDATOR_MAP__failed._LonelyMode:_creating_a_local__unnamed_one_as_failover.
call fcn.10022bb0
call fcn.10021810
add esp, 4
push 0
push 0x2004
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1002f985
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1002f96f
lea ecx, [ebp - 0x14]
call fcn.10022680
lea ecx, [ebp + 0xc]
call fcn.10022680
jmp 0x1002f9c5
mov dword [eax], 0
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov word [eax + 4], cx
mov ecx, esi
call fcn.1002e940
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002f9a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002f9c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002f9e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x1002fa06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc