Function at 0x4be850
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67f170
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x600]
test eax, eax
je 0x4bea99
mov eax, dword [esi + 0x674]
test eax, eax
jne 0x4be8aa
mov ecx, dword [esi + 0x5e4]
lea eax, [esi + 0x608]
push eax
push ecx
lea ecx, [esi + 0x60c]
call fcn.0062b4e0
test eax, eax
je 0x4bea99
push ebp
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CString::CString_5
lea edx, [esp + 0x34]
mov ecx, esi
push edx
push ebx
mov dword [esp + 0x34], 0
call fcn.004be510
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x4be98c
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
call fcn.0053d720
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
push ecx
mov ecx, ebx
call fcn.0053d5f0
lea edx, [esp + 0x1c]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 2
call fcn.0053d2b0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 3
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be949
push 0x71efa4
lea ecx, [esp + 0x38]
call fcn.00608798
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.006088b2
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
test eax, eax
je 0x4be970
push 0x71efa4
lea ecx, [esp + 0x38]
call fcn.00608798
lea eax, [esp + 0x18]
lea ecx, [esp + 0x34]
push eax
call fcn.006088b2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_5
push 0
push 0xc894
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.00411680
push 0
push 0
lea ecx, [esp + 0x3c]
push ebp
lea edx, [esp + 0x1c]
lea edi, [esi + 0x60c]
push ecx
push edx
push eax
mov ecx, edi
mov byte [esp + 0x44], 5
call fcn.0062b630
lea ecx, [esp + 0x1c]
mov ebp, eax
mov byte [esp + 0x2c], 4
call fcn.004116d0
test ebp, ebp
pop ebp
je 0x4bea7a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bea45
push str.1000
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_6
mov bl, 6
push str.HEIGHT
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call sub.MFC42u.DLL_CString::CString_6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x34], 7
call fcn.0062bf00
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42u.DLL_CString::CString
push ebx
mov ecx, esi
call fcn.00522f90
test eax, eax
je 0x4beac1
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
mov ecx, esi
and eax, 4
add eax, 5
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4