Function at 0x417e20
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f27b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1c]
call fcn.004068d0
mov dword [ebp - 4], 0
cmp dword [0x46af7c], 0
jne 0x417e95
mov word [ebp - 0x1c0], 0x202
lea eax, [ebp - 0x1bc]
push eax
mov cx, word [ebp - 0x1c0]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x46af7c], 1
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00417210
add esp, 8
mov byte [ebp - 4], 1
call fcn.004011d0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x20]
call fcn.0040f280
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x417ece
mov dword [ebp - 0x1cc], 0
jmp 0x417f2f
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x417ef3
mov dword [ebp - 0x1d0], 0
jmp 0x417f23
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0044c080
mov dword [ebp - 0x1d4], esp
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.0041aca0
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x418035
lea ecx, [ebp - 0x1c4]
call fcn.004068d0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x454b00
lea eax, [ebp - 0x1c4]
push eax
call fcn.0041cd50
add esp, 0xc
lea ecx, [ebp - 0x1c4]
call fcn.0040f280
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x417f9e
mov dword [ebp - 0x1d8], 0
jmp 0x417ffd
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x417fc3
mov dword [ebp - 0x1dc], 0
jmp 0x417ff1
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.0044c080
mov dword [ebp - 0x1e0], esp
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
call fcn.0041ac20
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004010a0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.ip:_ws__url:_ws
push 0x46afbc
call fcn.00420980
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.00401080
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov edx, dword [ebp - 0x1c8]
or edx, 1
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401080
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x1e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret