Function at 0x401d30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x411abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CWnd::CWnd
xor ebx, ebx
lea ecx, [ebp + 0x60]
mov dword [esp + 0x4c], ebx
call fcn.00403880
lea esi, [ebp + 0x50]
xor eax, eax
mov ecx, esi
mov dword [ebp], 0x4126c8
mov dword [ebp + 0xa8], ebx
mov dword [ebp + 0xa4], 0xa
mov dword [ebp + 0xa0], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ecx], eax
mov byte [esp + 0x4c], 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push edi
push 4
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x20]
push eax
push edx
push 8
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x14]
push ebx
push ebx
lea eax, [esp + 0x3c]
push ebx
push eax
push bind
push str.CCityDigitalWebWnd
push ecx
push ebx
mov ecx, ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call sub.MFC42.DLL_CWnd::CreateEx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
mov dword [ebp + 0x98], eax
push ebx
push ebx
call edi
lea edx, [ebp + 0xac]
mov dword [ebp + 0x9c], eax
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x25], eax
push ebx
mov dword [esp + 0x2d], eax
push ecx
mov dword [esp + 0x35], eax
mov ecx, ebp
mov word [esp + 0x39], ax
mov byte [esp + 0x2c], bl
mov byte [esp + 0x3b], al
mov dword [esp + 0x20], ebx
call fcn.00402750
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.00402860
lea ecx, [esp + 0x24]
push ecx
push 0x41420c
push 0x417bcc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00402670
lea eax, [esp + 0x10]
push str.Web_
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 4
call fcn.004114e8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
mov ecx, 0x417bd0
push edx
call fcn.004114e8
mov ecx, ebp
call fcn.00402250
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esi], eax
or ecx, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esi + 0xc], eax
mov edx, ecx
lea esi, [esp + 0x24]
lea edi, [ebp + 0x50]
lea eax, [ebp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push ebp
mov dword [ebp + 0x48], 1
push 0x401f90
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
lea ecx, [esp + 0x10]
mov dword [ebp + 0x40], eax
mov byte [esp + 0x4c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret