Function at 0x440480
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x451fc0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, 0x482858
mov dword [0x4828d8], esi
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
je 0x4404e9
mov ecx, esi
call fcn.00440790
cmp eax, ebx
mov dword [esi + 0x8c], ebx
jne 0x4404f0
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, 0x482858
mov dword [0x4828d8], esi
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x4404bb
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
push ecx
lea eax, [esi + 0x5d4]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esi + 0x94], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x5d0]
push str.username66656
push str.SoftwareMicrosoftWindowsCurrentVersion_
call fcn.0040ed70
cmp eax, ebx
jne 0x440542
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4644d0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x5d0]
call fcn.0040ec90
push ecx
lea edx, [esi + 0x5e8]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x5d0]
push str.password66656
push str.SoftwareMicrosoftWindowsCurrentVersion_
call fcn.0040ed70
cmp eax, ebx
jne 0x44058a
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4644d0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x5d0]
call fcn.0040ec90
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
mov dword [esp + 0x2c], ebx
lea edi, [esi + 0x5cc]
push 0x482830
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi]
push str.Error
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4405d3
inc ebx
cmp ebx, 2
jg 0x4405d3
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4405a3
mov ecx, esi
call fcn.00442de0
push 3
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x481774
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2c], 1
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x44063e
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x472f48
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x5d0]
call fcn.0040ec90
mov ecx, esi
call sub.MFC42.DLL_CDialog::OnOK
jmp 0x440715
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, esi
call fcn.00441a70
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x77d]
lea ecx, [esp + 0x18]
push eax
push 0x464298
push ecx
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
push 0x472880
push edx
call ebp
add esp, 0x14
test eax, eax
jne 0x4406a0
push 0x48174c
jmp 0x4406a5
push 0x4816d4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46413c
call sub.MFC42.DLL_CString::CString_2
push 0
push 0xe
push 0xff
lea ecx, [esp + 0x24]
call fcn.004231d0
push eax
lea ecx, [esi + 0xf0a4]
call fcn.0040d980
push 0
push 0
push 0
push 0
push esi
push 0x440750
call sub.MFC42.DLL_AfxBeginThread
mov ecx, esi
call fcn.004401e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret