Function at 0x453100
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570adf
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
push 0
add eax, ecx
mov dword [ebp - 0x1c], ecx
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x1c], eax
je 0x4531b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x453195
cmp ecx, 0xffffffff
je 0x453195
call fcn.00412510
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x45318e
call fcn.004014a0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4531a9
cmp eax, 0xffffffff
je 0x4531a9
mov dword [edi + 0x1c], eax
call fcn.00412510
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x45336e
cmp eax, 0xffffffff
je 0x45336e
push 0
push 0
push 6
lea ecx, [ebp - 0x14]
push ecx
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4531f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, 0x1a
jmp 0x45337b
push 0
push 0
push 0
push 6
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x453220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, 0x1b
jmp 0x45337b
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x453259
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x453259
push edx
push ecx
push eax
call fcn.0053e840
mov edx, dword [ebp - 0x18]
add esp, 0xc
xor eax, eax
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x453251
sub ecx, dword [ebp - 0x24]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x17c
jb 0x453244
mov eax, dword [ebp - 0x14]
mov ecx, edi
push 0
push 4
push 0x5f39b8
push str.g_shared_section
mov dword [0x5f39b8], eax
call fcn.0044dca0
mov dword [ebp - 0x18], eax
mov dword [0x5f39b8], 0
test eax, eax
je 0x453297
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
jmp 0x45337b
mov eax, dword [ebp - 0x1c]
mov ecx, edi
push 0
push 4
push 0x5f39d4
push str.g_shared_IPC_size
mov dword [0x5f39d4], eax
call fcn.0044dca0
mov dword [ebp - 0x18], eax
mov dword [0x5f39d4], 0
test eax, eax
jne 0x453287
mov eax, dword [ebp + 0x14]
mov ecx, edi
push 0
push 4
push 0x5f39d8
push str.g_shared_policy_size
mov dword [0x5f39d8], eax
call fcn.0044dca0
mov dword [ebp - 0x18], eax
mov dword [0x5f39d8], 0
test eax, eax
jne 0x453287
push 0x20
call fcn.00406a5e
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x45332c
push dword [ebp - 0x28]
xorps xmm0, xmm0
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
push dword [edi + 0x28]
push dword [edi + 0x20]
push dword [edi + 8]
push dword [edi]
call fcn.004533a0
jmp 0x45332e
xor eax, eax
push eax
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00453470
mov ecx, dword [edi + 0x24]
push 0x20000
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004534a0
test al, al
jne 0x45335c
mov eax, 4
jmp 0x45337b
mov ecx, edi
call fcn.00453900
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x45337b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, 0x19
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret 0x14