Function at 0x4dd3e8
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 0x38
mov eax, 0x535756
call fcn.004f1db2
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], eax
call fcn.004c2ebf
mov dword [ebp - 0x40], eax
test eax, eax
je 0x4dd5c2
push 0x559c78
push edi
push 8
call fcn.004dab8e
add esp, 0xc
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, 0xffffffff
jne 0x4dd480
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x559c78
push esi
push 8
call fcn.004dab8e
push ebx
push esi
push str.LoadImageToMem_CreateFile_error:_d__path:_ws
push 0x5aca00
call fcn.004dddd9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x2c]
add esp, 0x1c
mov esi, dword [ebp - 0x34]
jmp 0x4dd5b7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
push eax
push edi
push 2
push edi
push esi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x38], eax
test esi, esi
jne 0x4dd4c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x559c78
push esi
push 8
call fcn.004dab8e
push ebx
push esi
push str.CreateFileByMem_CreateFileMapping_error:_d__path:_ws
push 0x5aca00
call fcn.004dddd9
jmp 0x4dd472
push dword [ebp - 0x2c]
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x4dd508
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x559c78
push esi
push 8
call fcn.004dab8e
push dword [ebp - 0x44]
push esi
push str.CreateFileByMem_MapViewOfFile_error:_d__path:_ws
push 0x5aca00
call fcn.004dddd9
jmp 0x4dd475
push 0x542574
push 0x5aca00
call fcn.004dddd9
push 0x559c78
push edi
push 9
call fcn.004dab8e
mov ecx, dword [ebp - 0x40]
add esp, 0x14
push dword [ebp - 0x3c]
mov eax, dword [ecx]
push dword [ebp - 0x2c]
push ebx
push ecx
call dword [eax]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x3c], ecx
sete al
push eax
push str.Extract_return:_d
push 0x5aca00
call fcn.004dddd9
mov eax, dword [ebp - 0x3c]
add esp, 0xc
test eax, eax
je 0x4dd5b4
push 0x559c78
push eax
push 0xa
call fcn.004dab8e
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x28]
add esp, 0xc
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], edi
jb 0x4dd58a
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x30]
push eax
call fcn.0043a8c3
pop ecx
push eax
push dword [ebp - 0x2c]
lea ecx, [esi + 0x1c]
call fcn.0043a84a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push edi
push 1
call fcn.00417d20
jmp 0x4dd478
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x40]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x4dd5ce
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
cmp esi, 0xffffffff
je 0x4dd5da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4dd5e5
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x4dd5f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004f1d61
ret 8