Function at 0x4768a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x4c3c64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [esi + 0x14]
push eax
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov dword [esi], vtable.CIpcCfgValidator.0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x47691d
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push str._Initialize:_Could_not_create_DataIntegrityKey_
push edx
call fcn.00452370
add esp, 8
call fcn.00475670
add esp, 4
jmp 0x476ae2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push str._s_IpcCfgValidatorMutex
push ecx
call fcn.00452370
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
push edx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 0x18], esp
cmp eax, ebx
jne 0x4769c1
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], bl
call fcn.00452370
add esp, 0xc
call fcn.00475670
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 ebx
push ebx
push 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xc], eax
jmp 0x4769dd
mov eax, dword [ebp - 0x10]
mov edx, esp
push eax
push str.Initialize:_Opening_existing_CIpcCfgValidator:_MutexName_s
push edx
call fcn.00452370
add esp, 0xc
call fcn.00475670
add esp, 4
cmp dword [esi + 0xc], ebx
jne 0x476a07
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.00452370
add esp, 0xc
call fcn.00475670
add esp, 4
jmp 0x476abf
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push str._s_IpcCfgValidatorMap
push edx
call fcn.00452370
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
push ebx
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x10], eax
cmp eax, ebx
je 0x476a49
push 0x2004
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x476a9b
jmp 0x476aa0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x2004
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x476a7a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x476ab3
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x476aa0
mov dword [eax], ebx
mov ecx, dword [esi + 0x18]
xor edx, edx
mov word [ecx + 4], dx
call fcn.004756e0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x476abf
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 0x476ae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
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 0x476b04
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 0x476b2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8