Function at 0x45d810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b3348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, 3
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
mov dword [esp + 0x3c], ebx
xor ebx, ebx
push 0x7f00
push ebx
mov dword [esp + 0x48], 0x45d7d0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], str.32770
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x45da4e
mov ecx, dword [esp + 0x74]
push ebx
push esi
push ebx
push ebx
push 0x1f4
push 0x190
push 0x64
push 0x64
push 0xcf0000
push ecx
push str.32770
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
je 0x45da4e
cmp dword [edi + 0x118], ebx
je 0x45da4e
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x84]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CString::CString_2
lea esi, [edi + 4]
mov byte [esp + 0x78], 3
mov ecx, esi
call fcn.0045e1c0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
push eax
push ecx
lea edx, [esp + 0x18]
push str._sEx_s
push edx
mov byte [esp + 0x7c], 6
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x8c]
add esp, 0x10
mov ecx, esi
push eax
call fcn.0045dc00
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call esi
test eax, eax
je 0x45d9bb
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esp + 0x24], 0x401
je 0x45da30
lea edx, [esp + 0x20]
push edx
call edi
lea eax, [esp + 0x20]
push eax
call ebp
push ebx
push ebx
lea ecx, [esp + 0x28]
push ebx
push ecx
call esi
test eax, eax
jne 0x45d991
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnregisterClassA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x10
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x45da1b