Function at 0x43ae10
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469bb6
push eax
mov dword fs:[0], esp
sub esp, 0xdc4
lea eax, [esp + 0xc34]
push ebx
push esi
push edi
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x43ae4d
or eax, 0xffffffff
jmp 0x43b2c5
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00405c50
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xde0]
mov dword [esp + 0xdd8], 0
push edi
call esi
cmp eax, 0xffffffff
push edi
jne 0x43af04
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x43aee6
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, ecx
mov dword [esp + 0x28], ecx
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x48]
push str._DestName:_s__DestIP:_s__r_n
push ecx
call fcn.0044186a
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004057e0
jmp 0x43af86
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0xddc], 0xffffffff
call fcn.00405c50
or eax, 0xffffffff
jmp 0x43b2c5
call esi
mov dword [esp + 0x28], eax
push edi
lea eax, [esp + 0x44]
push str._DestName:__DestIP:_s__r_n
push eax
call fcn.0044186a
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x18]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x46c634]
sub ecx, edx
cmp ecx, esi
ja 0x43af42
call fcn.00451e5b
test esi, esi
jbe 0x43af86
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x14]
lea ebx, [edx + esi]
push ebx
call fcn.00407310
test al, al
je 0x43af86
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ebx
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004072f0
mov cl, byte [esp + 0xf]
push ebp
xor eax, eax
mov ebp, 1
mov byte [esp + 0x34], cl
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
call fcn.00405c50
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x38]
push ebx
call fcn.00407310
test al, al
je 0x43aff1
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov edx, ecx
mov esi, 0x4868b4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov byte [esp + 0xddc], 1
je 0x43b184
mov ecx, dword [esp + 0xde4]
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push edx
push eax
push ebp
push ecx
call fcn.0043abd0
add esp, 0x10
test eax, eax
je 0x43b1e1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x444]
push str.204.204.204.204
push ebx
rep stosd dword es:[edi], eax
call fcn.004439d0
add esp, 8
test eax, eax
je 0x43b076
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x43b068
mov eax, 0x46c630
push ebx
push eax
call fcn.004439d0
add esp, 8
test eax, eax
jne 0x43b09c
or ecx, 0xffffffff
mov edi, str.Timeout
xor eax, eax
mov dword [esp + 0x30], ecx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
push ebx
push ecx
push ebp
lea edx, [esp + 0x450]
push str.__ID:_d__AVG:_d__IP:_s___r_n
push edx
call fcn.0044186a
lea edi, [esp + 0x458]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x43b0df
call fcn.00451e5b
test esi, esi
jbe 0x43b126
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00407310
test al, al
je 0x43b126
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x444]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004072f0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x38]
push ebp
call fcn.00407310
test al, al
je 0x43b166
mov edi, dword [esp + 0x38]
mov ecx, ebp
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
mov byte [ecx + ebp], 0
mov ebp, dword [esp + 0x28]
inc ebp
cmp ebp, 0x1e
mov dword [esp + 0x28], ebp
jg 0x43b184
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x43b009
mov edx, dword [esp + 0x18]
pop ebp
test edx, edx
mov edi, 0x46c630
je 0x43b194
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0xde4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
xor esi, esi
cmp ecx, esi
je 0x43b297
mov al, byte [ecx - 1]
test al, al
je 0x43b289
cmp al, 0xff
je 0x43b289
dec al
mov byte [ecx - 1], al
jmp 0x43b293
push str.timeout
push 0xffffffffffffffff
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x84c]
push ebp
lea edx, [esp + 0x850]
push str.__ID:_d__AVG:_d__IP:_s___r_n
rep stosd dword es:[edi], eax
push edx
call fcn.0044186a
lea edi, [esp + 0x858]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
mov edx, dword [esp + 0x1c]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x43b235
call fcn.00451e5b
test esi, esi
jbe 0x43b16a
mov ecx, dword [esp + 0x1c]
push 0
lea ebx, [ecx + esi]
lea ecx, [esp + 0x18]
push ebx
call fcn.00407310
test al, al
je 0x43b16a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
lea esi, [esp + 0x844]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004072f0
jmp 0x43b16a
dec ecx
push ecx
call fcn.00460f37
add esp, 4
mov edx, dword [esp + 0x14]
cmp edx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x43b2c3
mov al, byte [edx - 1]
test al, al
je 0x43b2b9
cmp al, 0xff
je 0x43b2b9
dec al
mov byte [edx - 1], al
jmp 0x43b2c3
dec edx
push edx
call fcn.00460f37
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xdd0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xdd0
ret