Function at 0x411775
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f671
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 8], 0
je 0x4117d9
mov dword [ebp - 0x6c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x6c]
jmp 0x411b98
mov byte [ebp - 4], 1
push 0x400
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x70]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0xb0]
cmp dword [ecx + 0x28], 0
jne 0x411842
push 0x42b044
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.0041cf82
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x74]
jmp 0x411b98
jmp 0x4118b9
mov dword [ebp - 4], 0
push 0
push 1
push 0
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
call fcn.00407820
test eax, eax
jne 0x41193a
push str.Unable_to_create_the_socket.
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.0041cf82
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x28], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x88]
jmp 0x411b98
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0xb0]
call fcn.00411744
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb0]
call fcn.00411c85
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.00404950
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
call sub.MFC42.DLL_CAsyncSocket::Connect
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x8c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x8c]
and ecx, 0xff
test ecx, ecx
je 0x411a29
push str.Unable_to_connect_to_server
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.0041cf82
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x14]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x28], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x98]
jmp 0x411b98
push 1
mov ecx, dword [ebp - 0xb0]
call fcn.00412417
test eax, eax
jne 0x411ab1
push str.Server_didnt_respond.
mov ecx, dword [ebp - 0xb0]
add ecx, 4
call fcn.0041cf82
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x14]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x28], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xa0]
jmp 0x411b98
push 0x50
lea edx, [ebp - 0x60]
push edx
call sub.WSOCK32.dll_gethostname
lea eax, [ebp - 0x60]
push eax
push str.HELO__s_r_n
lea ecx, [ebp - 0x64]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0
lea ecx, [ebp - 0x64]
call fcn.00407c60
push eax
lea ecx, [ebp - 0x64]
call fcn.00404950
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x14]
call dword [eax + 0x20]
push 0
mov ecx, dword [ebp - 0xb0]
call fcn.00412417
test eax, eax
jne 0x411b6c
mov ecx, dword [ebp - 0xb0]
add ecx, 0x14
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x14]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0x28], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xa8]
jmp 0x411b98
mov edx, dword [ebp - 0xb0]
mov dword [edx + 8], 1
mov dword [ebp - 0xac], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret