Function at 0x4096bd
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x428975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov dword [esp + 0x19c], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x28]
lea ecx, [esi + 0x948]
push eax
mov byte [esp + 0x1a0], 1
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x28]
lea ebp, [esi + 0x9cc]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x404
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x433b08
push eax
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
add esp, 8
test eax, eax
jne 0x409761
mov eax, 0x50
jmp 0x40977e
mov ecx, dword [esp + 0x18]
push ecx
call ebx
add esp, 4
cmp eax, 0xffff
jg 0x40a7f7
test eax, eax
jl 0x40a7f7
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x405
mov dword [esi + 0x988], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x18]
push 0x433b08
push eax
call edi
add esp, 8
test eax, eax
jne 0x4097bf
mov eax, 0x51
jmp 0x4097dc
mov ecx, dword [esp + 0x18]
push ecx
call ebx
add esp, 4
cmp eax, 0xffff
jg 0x40a7dd
test eax, eax
jl 0x40a7dd
push 0x3f7
push 0x3f3
mov ecx, esi
mov dword [esi + 0x98c], eax
call sub.MFC42.DLL_CWnd::GetCheckedRadioButton
add eax, 0xfffffc0d
test eax, eax
mov dword [esi + 0x990], eax
je 0x409942
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x3f7
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea edi, [esi + 0x99c]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov edi, dword [edi]
push 0x433b08
push edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x409870
push 0x40
push 0x431be0
push 0x431bb4
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x3f7
jmp 0x40a80f
lea ecx, [esp + 0x18]
push ecx
push 0x3f8
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
mov edx, dword [esp + 0x18]
push 0x433b08
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4098af
mov eax, 0x50
jmp 0x4098cc
mov eax, dword [esp + 0x18]
push eax
call ebx
add esp, 4
cmp eax, 0xffff
jg 0x409ba9
test eax, eax
jl 0x409ba9
lea ecx, [esp + 0x18]
mov dword [esi + 0x9a0], eax
push ecx
push 0x3fd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea edi, [esi + 0x994]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 0x3fe
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
lea ecx, [esp + 0x18]
lea edi, [esi + 0x998]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
lea edi, [esi + 0x9ac]
mov ecx, esi
push edi
push 0x413
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, edi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, edi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, esi
call fcn.004063f0
push ebp
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_3
push 0x431bb0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a0], 2
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x4099ca
add eax, 3
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a0], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 2
call sub.MFC42.DLL_CString::CString
push 0x2f
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x409a0b
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a0], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esi + 0x988]
push edi
lea ecx, [esi + 0xa0]
mov dword [esi + 0x64], edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esi + 0x990]
mov eax, dword [esi + 0x9a4]
lea edx, [esi + 0x994]
mov dword [esi + 0x8c], ecx
push edx
lea ecx, [esi + 0x90]
mov dword [esi + 0x88], eax
call sub.MFC42.DLL_CString::operator_1
lea eax, [esi + 0x998]
lea ecx, [esi + 0x94]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x99c]
push ecx
lea ecx, [esi + 0x98]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esi + 0x9a8]
mov edx, dword [esi + 0x9a0]
test eax, eax
mov dword [esi + 0x9c], edx
jne 0x409a9a
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 6
call sub.MFC42.DLL_CString::TrimLeft
mov eax, dword [esp + 0x1c]
push 0x433b08
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x409aeb
push str.http:__localhost_
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
push 0xa
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::MakeLower
push 0x431bb0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jge 0x409c60
lea edx, [esp + 0x14]
push 2
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x432038
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x409bc6
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push str.http:
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 8
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x19c], 6
lea ecx, [esp + 0x14]
jmp 0x409c5b
push 0x40
push 0x431be0
push 0x431b88
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x3f8
jmp 0x40a80f
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x43202c
push eax
call edi
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x409c29
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push str.http:_
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 9
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x19c], 6
lea ecx, [esp + 0x14]
jmp 0x409c5b
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push 0x43201c
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0xa
call sub.MFC42.DLL_CString::operator_1
mov byte [esp + 0x19c], 6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
push 0x43202c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0xb
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x988]
push 0x431bb0
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 0xc
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
je 0x409e79
push 0x433b08
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
add edi, 3
lea eax, [esp + 0x14]
mov bl, 0xd
push edi
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a4], bl
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
push 0x43202c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
je 0x409d73
lea ecx, [esp + 0x14]
push edi
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push edi
push edx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
jmp 0x409d8f
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x43202c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
push 0x432018
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
je 0x409e30
lea edx, [esp + 0x14]
push edi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
inc edi
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x409e46
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x409e46
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x20], 0x50
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x409e68
mov dword [esp + 0x20], 0x50
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0xc
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x60]
lea edi, [esi + 0x60]
mov ecx, edi
call dword [edx + 0x60]
test eax, eax
je 0x409e97
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
cmp eax, dword [esi + 0x98c]
je 0x409e9e
mov ecx, esi
call fcn.004067b0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esi + 0x98c]
lea edx, [esp + 0x4c]
push ecx
push str.lp_u
push edx
mov byte [esp + 0x1a8], 0x13
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
push 0x3f
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x409f34
lea eax, [esp + 0x24]
push 0x43200c
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
lea edx, [esp + 0x4c]
mov bl, 0x14
push edx
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x1a4], bl
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x19c], 0x13
lea ecx, [esp + 0x10]
jmp 0x409f8f
lea ecx, [esp + 0x24]
push 0x432008
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x14]
push ecx
mov bl, 0x16
push eax
push edx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x19c], 0x13
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0x2358]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x9b0]
mov byte [esp + 0x19c], 0x18
test eax, eax
je 0x409fc6
lea ecx, [esi + 0x235c]
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.00405540
mov edx, dword [esp + 0x28]
push 0x433b08
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40a19f
push 0x431998
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x18]
mov bl, 0x19
push eax
push ecx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
lea edi, [esi + 0x9c8]
push 0x433b08
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x1a
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0x18
call sub.MFC42.DLL_CString::CString
push 0x431998
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
push eax
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x1a8], 0x1b
call sub.MFC42.DLL_operator_3
push edi
lea ecx, [esp + 0x18]
mov bl, 0x1c
push eax
push ecx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
push eax
mov ecx, edi
mov byte [esp + 0x1a0], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 0x18
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi]
cmp dword [edx - 8], 0x200
jle 0x40a19f
push 1
push 0x3b
lea ecx, [esp + 0x18]
call fcn.004279da
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x1e
call sub.MFC42.DLL_CString::Right
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0x18
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40a164
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x34]
push eax
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, edi
mov byte [esp + 0x1a0], 0x1f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 0x18
call sub.MFC42.DLL_CString::CString
push 0x3b
mov ecx, edi
call sub.MFC42.DLL_CString::ReverseFind
test eax, eax
jle 0x40a19f
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, edi
mov byte [esp + 0x1a0], 0x20
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 0x18
call sub.MFC42.DLL_CString::CString
push 0
push 0x433b08
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
call fcn.0040e9b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40a53a
lea edx, [esp + 0x54]
push str.ProxyEnable
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x5c]
push eax
push ecx
push edi
call fcn.0040ea40
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40a3c9
mov eax, dword [esi + 0x2368]
test eax, eax
jne 0x40a3c9
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0x21
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x30]
lea eax, [esp + 0x94]
push edx
push eax
mov byte [esp + 0x1a4], 0x22
mov dword [esp + 0x38], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40a251
push str.localhost
jmp 0x40a259
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x98c]
test eax, eax
je 0x40a290
cmp eax, 0x50
je 0x40a290
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push str.http:___s:_u_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x40a2ac
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x18]
push str.http:___s_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [esp + 0x38]
push 0x433b08
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40a37e
mov eax, dword [ebp]
push 0x431ef4
lea ecx, [esp + 0x48]
mov edi, dword [eax - 8]
call sub.MFC42.DLL_CString::CString_2
mov ebp, eax
push 0x431ef4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a0], 0x23
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
mov bl, 0x24
push eax
push edx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
push ebp
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1a4], 0x25
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
push edi
push 1
push 0x433b08
push eax
push ecx
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
lea ecx, [esp + 0x3c]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x19c], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x19c], 0x22
call sub.MFC42.DLL_CString::CString
jmp 0x40a3a7
mov edx, dword [ebp]
mov eax, dword [edx - 8]
push eax
mov eax, dword [esp + 0x14]
push 1
push 0x433b08
push 0x433b08
push eax
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
mov edi, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0x21
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x19c], 0x18
lea ecx, [esp + 0x20]
jmp 0x40a6f2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x20]
mov byte [esp + 0x19c], 0x26
test eax, eax
je 0x40a406
cmp eax, 0x50
je 0x40a406
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
lea eax, [esp + 0x1c]
push str.http:___s:_u_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x40a422
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x18]
push str.http:___s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [esp + 0x38]
push 0x433b08
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov edx, dword [ebp]
add esp, 8
test eax, eax
je 0x40a503
mov edi, dword [edx - 8]
push 0x431ef4
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_2
mov ebp, eax
push 0x431ef4
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], 0x27
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
push ecx
mov bl, 0x28
push eax
push edx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
push ebp
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x1a4], 0x29
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
push edi
push 1
push 0x433b08
push eax
push ecx
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
lea ecx, [esp + 0x44]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x19c], 0x27
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0x26
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x19c], 0x18
lea ecx, [esp + 0x10]
jmp 0x40a6f2
mov eax, dword [edx - 8]
push eax
mov eax, dword [esp + 0x14]
push 1
push 0x433b08
push 0x433b08
push eax
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
mov edi, eax
mov byte [esp + 0x19c], 0x18
lea ecx, [esp + 0x10]
jmp 0x40a6f2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0x2a
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x44]
lea edx, [esp + 0x94]
push ecx
push edx
mov byte [esp + 0x1a4], 0x2b
mov dword [esp + 0x4c], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x40a582
push str.localhost
jmp 0x40a58a
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esi + 0x98c]
test eax, eax
je 0x40a5c1
cmp eax, 0x50
je 0x40a5c1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push eax
push edx
lea eax, [esp + 0x2c]
push str.http:___s:_u_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x40a5dd
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x28]
push str.http:___s_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ecx, dword [esp + 0x38]
push 0x433b08
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov edx, dword [ebp]
add esp, 8
test eax, eax
je 0x40a6af
mov edi, dword [edx - 8]
push 0x431ef4
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_2
mov ebp, eax
push 0x431ef4
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a0], 0x2c
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
push ecx
mov bl, 0x2d
push eax
push edx
mov byte [esp + 0x1a8], bl
call sub.MFC42.DLL_operator_3
push ebp
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x1a4], 0x2e
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
push edi
push 1
push 0x433b08
push eax
push ecx
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
lea ecx, [esp + 0x48]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x19c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x19c], 0x2b
call sub.MFC42.DLL_CString::CString
jmp 0x40a6d5
mov eax, dword [edx - 8]
push eax
mov eax, dword [esp + 0x24]
push 1
push 0x433b08
push 0x433b08
push eax
push 0x431fe4
push 0
call fcn.004034e0
add esp, 0x1c
mov edi, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0x2a
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x19c], 0x18
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
cmp edi, 2
jae 0x40a75d
cmp edi, 1
mov byte [0x432170], 1
jne 0x40a764
mov eax, dword [esi + 0x9b0]
test eax, eax
je 0x40a764
push 0x425
mov ecx, esi
mov dword [esi + 0x9b0], 0
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esi + 0x9b0]
mov eax, dword [eax + 4]
push edx
push str.UseIE
push 0x431ae8
mov ecx, eax
call sub.MFC42.DLL_CWinApp::WriteProfileInt
jmp 0x40a764
mov byte [0x432170], 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x19c], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x19c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x19c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x19c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x19c], 1
call sub.MFC42.DLL_CString::CString
jmp 0x40a81d
push 0x40
push 0x431be0
push 0x431b64
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x405
jmp 0x40a80f
push 0x40
push 0x431be0
push 0x431b40
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
push 0x404
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
lea ecx, [esp + 0x28]
mov byte [esp + 0x19c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x19c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret