Function at 0x4032f0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x428
push ebp
push esi
mov ebp, ecx
push 1
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebp + 0xc8]
lea ecx, [ebp + 0xc8]
mov edx, dword [eax - 8]
test edx, edx
jne 0x40336b
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x30]
push 0x400
push ecx
mov edx, dword [eax + 0x128]
push 0xe150
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004112f0
add esp, 0x18
mov ecx, ebp
push 0x3f4
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
pop esi
pop ebp
add esp, 0x428
ret
mov edx, dword [ebp + 0xcc]
lea esi, [ebp + 0xcc]
mov eax, dword [edx - 8]
test eax, eax
jne 0x4033d5
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x30]
push 0x400
push ecx
mov edx, dword [eax + 0x128]
push 0xe151
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call fcn.004112f0
add esp, 0x18
mov ecx, ebp
push 0x3f5
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
pop esi
pop ebp
add esp, 0x428
ret
push ebx
push edi
push 0
call sub.MFC42.DLL_CString::GetBuffer
push 0
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x18]
mov esi, eax
push ecx
push esi
push edi
mov dword [esp + 0x20], esi
call fcn.0040cf10
mov ecx, eax
call fcn.0040cf80
push edi
mov dword [esp + 0x14], eax
call fcn.0040cf10
mov ecx, eax
call fcn.0040fe20
mov ebx, eax
test ebx, ebx
jne 0x40345a
push 0x2c
call sub.MFC42.DLL_operatornew
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebx + 0x14]
mov esi, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403529
mov edx, dword [ebp + 0x20]
push 2
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 0xc4]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc4]
test eax, eax
je 0x4034a7
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov ecx, ebp
mov dword [ebp + 0xd4], esi
call fcn.00402bd0
call fcn.0040cf10
cmp dword [eax + 0x260], esi
je 0x4034e2
push 1
call fcn.0040cf10
mov ecx, dword [eax + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call fcn.0040cf10
mov dword [eax + 0x260], esi
push esi
push esi
push esi
push esi
call fcn.0040cf10
push eax
push 0x412530
call sub.MFC42.DLL_AfxBeginThread
mov edi, eax
call fcn.0040cf10
mov dword [eax + 0x260], edi
call fcn.0040cf10
mov ecx, eax
call fcn.0040fee0
test eax, eax
je 0x403553
push esi
push esi
push esi
push esi
call fcn.0040cf10
push eax
push 0x412480
call sub.MFC42.DLL_AfxBeginThread
jmp 0x403553
mov edx, dword [ebp + 0x20]
push 0
push 0xea60
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004112f0
add esp, 0x18
push 1
push ebx
call fcn.0040cf10
mov ecx, eax
call fcn.0040fcb0
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x428
ret