Function at 0x48c640
Capabilities:
Access peb ldr_data
Check if file exists
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x528a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ebx, dword [eax + 8]
mov ebp, dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x84
push ebx
call ebp
push 0x85
push ebx
mov dword [edi + 4], eax
call ebp
push 0x86
push ebx
mov dword [edi + 8], eax
call ebp
push 0x81
push ebx
mov dword [edi + 0xc], eax
call ebp
push 0x82
push ebx
mov dword [edi + 0x10], eax
call ebp
push 0x83
push ebx
mov dword [edi + 0x14], eax
call ebp
push 0x8a
push ebx
mov dword [edi + 0x18], eax
call ebp
push 0x8c
push ebx
mov dword [edi + 0x1c], eax
call ebp
push 0x87
push ebx
mov dword [edi + 0x20], eax
call ebp
push 0x88
push ebx
mov dword [edi + 0x24], eax
call ebp
push 0x89
push ebx
mov dword [edi + 0x28], eax
call ebp
mov dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x64]
lea esi, [edi + 0x5c]
lea eax, [edi + 4]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 8]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0xc]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x10]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x14]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x18]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x1c]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x20]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x24]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x28]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x2c]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
push 0x8e
push ebx
call ebp
lea ecx, [esp + 0x14]
mov dword [edi + 0x38], eax
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, 0x55555556
mov dword [edi + 0x40], edx
imul ecx
mov eax, edx
push 0x8f
shr eax, 0x1f
add edx, eax
push ebx
mov dword [edi + 0x3c], edx
call ebp
push 0x8d
push ebx
mov dword [edi + 0x30], eax
call ebp
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 8]
lea eax, [edi + 0x30]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x38]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
mov ecx, dword [esi + 8]
lea eax, [edi + 0x34]
push eax
push 1
push ecx
mov ecx, esi
call fcn.004588f0
push 0x80
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0x10]
mov dword [edi + 0x44], eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
push 0x566be0
push ecx
push 0
mov dword [esp + 0x40], 0
call fcn.0041eb80
mov eax, dword [0x5618d4]
add esp, 0xc
cmp eax, 1
jbe 0x48c886
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x48c886
mov eax, dword [esp + 0x10]
push 0x50
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x48]
add edi, 0x48
test eax, eax
jne 0x48c89a
push 0xb2
push ebx
call ebp
mov dword [edi], eax
mov eax, dword [esi + 8]
push edi
push 1
push eax
mov ecx, esi
call fcn.004588f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret