Function at 0x4947d0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d39b0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x518f10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
xor esi, esi
lea eax, [ebx + 0x14]
push eax
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov dword [ebx], vtable.CIpcCfgValidator.0
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x49484b
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push str._Initialize:_Could_not_create_DataIntegrityKey_
push edx
call fcn.00466ad0
add esp, 8
call fcn.00493cb0
add esp, 4
jmp 0x494a78
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push str._s_IpcCfgValidatorMutex
push ecx
call fcn.00466ad0
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
push edx
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ecx
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x18], esp
cmp eax, esi
jne 0x4948f0
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
mov eax, esp
push ecx
push str.Initialize:_Creating_new_CIpcCfgValidator:_MutexName_s
push eax
mov byte [ebp - 0x2c], 0
call fcn.00466ad0
add esp, 0xc
call fcn.00493cb0
add esp, 4
xor eax, eax
push 1
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push esi
push esi
push 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [ebp - 0x10]
push ecx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 0xc], eax
jmp 0x49490c
mov eax, dword [ebp - 0x10]
mov edx, esp
push eax
push str.Initialize:_Opening_existing_CIpcCfgValidator:_MutexName_s
push edx
call fcn.00466ad0
add esp, 0xc
call fcn.00493cb0
add esp, 4
cmp dword [ebx + 0xc], esi
jne 0x494936
mov edx, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
push str._Initialize:_Could_not_open_create_MutexName_s
push ecx
call fcn.00466ad0
add esp, 0xc
call fcn.00493cb0
add esp, 4
jmp 0x494a55
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push str._s_IpcCfgValidatorMap
push edx
call fcn.00466ad0
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push eax
push esi
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebx + 0x10], eax
cmp eax, esi
je 0x494983
push 0x2004
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x18], eax
cmp eax, esi
jne 0x494a2b
jmp 0x494a32
xor eax, eax
mov dword [ebp - 0x24], esi
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x40], al
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
call fcn.0046d2b0
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ecx
push 0x2004
push 0
push 4
mov edx, edi
push edx
push 0xffffffffffffffff
call esi
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x4949fc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str._Initialize:_CreateFileMapping_IPCCFGVALIDATOR_MAP__failed._LonelyMode:_creating_a_local__unnamed_one_as_failover.
call fcn.0042462c
call fcn.00493cb0
add esp, 4
push 0
push 0x2004
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x494a32
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x494a32
mov dword [eax], 0
mov ecx, dword [ebx + 0x18]
xor edx, edx
mov word [ecx + 4], dx
mov esi, ebx
call fcn.00493d20
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494a9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x494ac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8