Function at 0x421870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44443c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x40]
push edi
push 0x1770
mov dword [esp + 0x40], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
push 0x1770
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_operatornew
mov ebp, dword [esp + 0x70]
add esp, 8
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 4]
push 0
push ecx
mov ecx, ebp
call fcn.00437f80
mov dword [esi], eax
lea eax, [esi + 4]
push 0x451b38
mov dword [eax], 2
mov edx, dword [ebp + 4]
add eax, 4
mov dword [eax], edx
mov cx, word [ebp + 0x10]
add eax, 4
mov word [eax], cx
mov dx, word [ebp + 0x12]
add eax, 2
mov word [eax], dx
mov ecx, dword [ebp + 0x14]
add eax, 2
xor edx, edx
mov dword [eax], ecx
mov dl, byte [ebp + 0x1a]
add eax, 4
mov dword [eax], edx
mov ecx, dword [ebp + 0x1c]
add eax, 4
mov dword [eax], ecx
mov edx, dword [ebp + 0x20]
add eax, 4
mov dword [eax], edx
mov ecx, dword [ebp + 0x2c]
add eax, 4
mov dword [eax], ecx
mov edx, dword [ebp + 0x30]
add eax, 4
mov dword [eax], edx
mov ecx, dword [ebp + 0x38]
add eax, 4
mov dword [eax], ecx
mov dx, word [ebp + 0x48]
add eax, 4
mov word [eax], dx
mov cx, word [ebp + 0x4a]
add eax, 2
mov word [eax], cx
mov dx, word [ebp + 0x4c]
add eax, 2
mov word [eax], dx
mov ecx, dword [ebp + 0x50]
add eax, 2
mov dword [eax], ecx
mov dx, word [ebp + 0x54]
add eax, 4
lea ecx, [esp + 0x28]
mov word [eax], dx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 0
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
push edx
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
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x28]
mov dword [edi], 0x3f
mov si, word [eax]
lea ecx, [edi + 4]
add edi, 7
mov word [ecx], si
mov al, byte [eax + 2]
mov esi, dword [esp + 0x30]
mov byte [ecx + 2], al
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x70], 2
call fcn.00437f80
push eax
mov ecx, ebx
call fcn.00420390
test eax, eax
je 0x421f6a
mov ecx, dword [ebp + 4]
push 0
push ecx
mov ecx, ebp
call fcn.00437f80
lea edx, [esp + 0x38]
mov edi, eax
push edx
mov byte [esp + 0x6c], 0
mov dword [esp + 0x2c], 0xa6c
call sub.MFC42.DLL_CTime::GetTickCount
mov esi, dword [eax]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 4
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [esp + 0x14]
push 0x451a0c
push eax
mov byte [esp + 0x6c], 5
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp + 4]
add esp, 0xc
push 0
push ecx
mov ecx, ebp
call fcn.00437f80
push eax
lea edx, [esp + 0x30]
push 0x4500d4
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x38]
push 0x451a08
push eax
push ecx
call sub.MFC42.DLL_operator
push 0x453a4c
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x6c], 6
call sub.MFC42.DLL_operator_1
push 0x451a08
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x68], 7
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 8
call fcn.0044064e
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 7
call fcn.00440654
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 6
call fcn.00440654
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 5
call fcn.00440654
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
add ebp, 8
push ebp
lea edx, [esp + 0x38]
push 0x4519f4
push edx
call sub.MFC42.DLL_operator_2
push 0x4519f0
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x68], 9
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0xa
call fcn.0044064e
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 9
call fcn.00440654
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 5
call fcn.00440654
push ebp
lea ecx, [esp + 0x38]
push 0x4519dc
push ecx
call sub.MFC42.DLL_operator_2
push 0x4519f0
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x6c], 0xb
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 0xc
call fcn.0044064e
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 0xb
call fcn.00440654
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 5
call fcn.00440654
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x453828
push eax
call ebp
add esp, 8
test eax, eax
je 0x421d0d
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x60], 0xd
je 0x421c00
mov ecx, eax
call fcn.004338d0
mov esi, eax
jmp 0x421c02
xor esi, esi
push 0
push 0x3f
push 1
push 0
mov ecx, esi
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CAsyncSocket::Create
mov eax, dword [0x453a5c]
test eax, eax
je 0x421c37
push 0x453a54
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
add edi, 0xa6c
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Connect
mov edi, dword [sym.imp.USER32.dll_MessageBeep]
test eax, eax
je 0x421cbe
push 1
push esi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CSocketFile::CSocketFile
mov eax, dword [esp + 0x20]
push 0x3f
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0xe
call sub.MFC42.DLL_CSocketFile::Write
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CSocketFile::Close
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x68], 1
call dword [edx + 0x18]
push 0x451ba4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 5
call fcn.00440bb2
jmp 0x421cfe
push 0xffff
call edi
push 0x10
push 0x4509b0
push 0x451b84
mov ecx, ebx
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x451b74
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
test esi, esi
je 0x421d69
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x421d69
mov edi, dword [sym.imp.USER32.dll_MessageBeep]
push 0xffff
call edi
mov ecx, dword [ebx + 0x1b0]
push 0
push 0xe801
mov eax, dword [ecx + 0x20]
mov edx, dword [eax + 0x20]
push edx
call sub.MFC42.DLL_CWnd::GetDescendantWindow
push 1
push 0x451b58
push 4
mov ecx, eax
call sub.MFC42.DLL_CStatusBar::SetPaneText
push 0x451b74
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
mov ecx, dword [esp + 0x1c]
push 0x450a08
push ecx
call ebp
add esp, 8
test eax, eax
je 0x421e80
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x60], 0xf
je 0x421da2
mov ecx, eax
call fcn.004338d0
mov esi, eax
jmp 0x421da4
xor esi, esi
push 0
push 0x3f
push 1
push 0
mov ecx, esi
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CAsyncSocket::Create
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CAsyncSocket::Connect
test eax, eax
jne 0x421e19
push 0xffff
call edi
push 0x10
push 0x4509b0
push 0x451b84
mov ecx, ebx
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x451b74
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
jmp 0x421ed6
push 1
push esi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CSocketFile::CSocketFile
mov eax, dword [esp + 0x20]
push 0x3f
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x10
call sub.MFC42.DLL_CSocketFile::Write
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CSocketFile::Close
push 0x451ba4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 5
call fcn.00440bb2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
jmp 0x421ed6
push 0xffff
call edi
mov ecx, dword [ebx + 0x1b0]
push 0
push 0xe801
mov eax, dword [ecx + 0x20]
mov edx, dword [eax + 0x20]
push edx
call sub.MFC42.DLL_CWnd::GetDescendantWindow
push 1
push 0x451b3c
push 4
mov ecx, eax
call sub.MFC42.DLL_CStatusBar::SetPaneText
push 0x451b74
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebx
call fcn.00427df0
mov al, byte [esp + 0x68]
test al, al
je 0x421f37
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x68]
push edx
push ecx
mov dword [esp + 0x50], ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.SPCS_3000_DCS_
mov dword [esp + 0x4c], 0x6e697774
mov dword [esp + 0x50], 0x3f
mov dword [esp + 0x74], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebx + 0x1b0]
call fcn.00404940
test al, al
je 0x421f37
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x40]
push eax
push 0
push 0x4a
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x3c]
call fcn.00409450
lea ecx, [esp + 0x2c]
mov byte [esp + 0x60], 4
call fcn.00440654
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 3
call fcn.00440654
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
call fcn.00440654
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 1
call fcn.00440654
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 0
call fcn.00440654
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], 0xffffffff
call fcn.00440654
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 4