Function at 0x45c310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x553b93
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0x1a4]
xor esi, esi
cmp dword [ebx], esi
jne 0x45c4d3
mov eax, dword [ebp + 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [edi + 0x70c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call sub.mfc90u.dll_CDateTimeCtrl::GetTime
lea edx, [esp + 0x24]
push edx
lea ecx, [edi + 0x760]
call sub.mfc90u.dll_CDateTimeCtrl::GetTime
push 0x60
call sub.mfc90u.dll_new
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x78], esi
cmp eax, esi
je 0x45c3a7
push eax
call fcn.0045c4f0
mov esi, eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], ecx
mov dword [esi + 8], edx
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x45c416
lea ecx, [esp + 0x2c]
call fcn.004bb650
mov dword [esp + 0x78], 1
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esi + 0xc]
call fcn.00459140
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00417f00
mov edx, dword [ebp + 0x1c]
push edx
lea ecx, [esi + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], ebx
lea edx, [edi + 0x13c]
mov dword [esi + 0x44], edx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x50], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x54], edx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x28]
push 0
lea ecx, [edi + 0x15c]
push eax
mov dword [esi + 0x5c], edx
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi + 0x200]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45c4b2
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov edx, dword [edi + 0x1e0]
add edi, 0x1e0
push eax
mov eax, dword [edx + 0x144]
push 0x41b
mov ecx, edi
call eax
push 8
mov ecx, edi
call sub.mfc90u.dll_CWnd::ShowWindow
lea ecx, [esp + 0x14]
push ecx
push 0
push esi
push 0x45bea0
push 0
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx], eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20