Function at 0x44f110
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55954f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5c7cec]
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 0x44f1c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44f1a5
cmp ecx, 0xffffffff
je 0x44f1a5
call fcn.00411f30
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44f19e
call fcn.004013a0
mov dword [edi + 0x1c], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44f1b9
cmp eax, 0xffffffff
je 0x44f1b9
mov dword [edi + 0x1c], eax
call fcn.00411f30
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x44f37e
cmp eax, 0xffffffff
je 0x44f37e
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 0x44f206
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, 0x1a
jmp 0x44f38b
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 0x44f230
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, 0x1b
jmp 0x44f38b
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x44f269
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x44f269
push edx
push ecx
push eax
call fcn.005285f0
mov edx, dword [ebp - 0x18]
add esp, 0xc
xor eax, eax
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x44f261
sub ecx, dword [ebp - 0x24]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x138
jb 0x44f254
mov eax, dword [ebp - 0x14]
mov ecx, edi
push 0
push 4
push 0x5cce50
push str.g_shared_section
mov dword [0x5cce50], eax
call fcn.00449310
mov dword [ebp - 0x18], eax
mov dword [0x5cce50], 0
test eax, eax
je 0x44f2a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
jmp 0x44f38b
mov eax, dword [ebp - 0x1c]
mov ecx, edi
push 0
push 4
push 0x5cce6c
push str.g_shared_IPC_size
mov dword [0x5cce6c], eax
call fcn.00449310
mov dword [ebp - 0x18], eax
mov dword [0x5cce6c], 0
test eax, eax
jne 0x44f297
mov eax, dword [ebp + 0x14]
mov ecx, edi
push 0
push 4
push 0x5cce70
push str.g_shared_policy_size
mov dword [0x5cce70], eax
call fcn.00449310
mov dword [ebp - 0x18], eax
mov dword [0x5cce70], 0
test eax, eax
jne 0x44f297
push 0x20
call fcn.00406909
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x44f33c
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.0044f3b0
jmp 0x44f33e
xor eax, eax
push eax
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0044f480
mov ecx, dword [edi + 0x24]
push 0x20000
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0044f4b0
test al, al
jne 0x44f36c
mov eax, 4
jmp 0x44f38b
mov ecx, edi
call fcn.0044f880
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44f38b
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.0040154f
mov esp, ebp
pop ebp
ret 0x14