Function at 0x44db70
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebx + 0x18], 0
jne 0x44db9d
je 0x44db9d
mov eax, dword [ebp + 0x33]
test byte [ecx + 0x4751c73], 0x74
add cl, byte [ebx + 0xc738945]
xor esi, esi
mov dword [ebx + 0x1c], esi
jne 0x44dba8
je 0x44dba8
mov eax, dword [ebp - 0x77]
jae 0x44dbb7
mov dword [ebx + 0xc], esi
jne 0x44dbb1
je 0x44dbb1
mov eax, dword [ebp + 0x75]
add al, 0x74
add cl, byte [ebx + 0x74047545]
inc ebp
jne 0x44dbb7
je 0x44dbb7
mov eax, dword [ebp + 0x75]
add al, 0x74
jne 0x44dbbd
je 0x44dbbd
add cl, byte [ebx - 0xf8a76bb]
mov eax, dword [ebp - 0x77]
jne 0x44dbb0
mov dword [ebp - 0x10], esi
jne 0x44dbc6
je 0x44dbc6
mov eax, dword [ebp - 0x75]
dec ebp
or byte [ebx - 0xc207bf], cl
add byte [eax], al
add byte [edi], cl
invalid
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 8]
cmp eax, 0xff
jg 0x44dd40
cmp eax, esi
je 0x44dd40
push ecx
lea eax, [ebp - 0x120]
push 0x46045c
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
jne 0x44dbfb
je 0x44dbfb
mov eax, dword [ebp + 0x39]
jae 0x44dc02
cmp dword [ebx + 4], esi
jne 0x44dd40
add byte [eax], al
push esi
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx + 4], eax
jne 0x44dc17
je 0x44dc17
mov eax, dword [ebp + 0x39]
jae 0x44dc1e
cmp dword [ebx + 4], esi
je 0x44dd40
add byte [eax], al
movsx ecx, byte [ebp - 0x120]
push ecx
call dword [sym.imp.msvcrt.dll_isalpha]
add esp, 4
test eax, eax
je 0x44dc76
mov edx, dword [ebp + 8]
push edx
call sub.wsock32.dll_gethostbyname
jne 0x44dc44
je 0x44dc44
mov eax, dword [ebp + 0x3b]
invalid
cmp eax, esi
je 0x44dd40
movsx ecx, word [eax + 0xa]
jne 0x44dc56
je 0x44dc56
mov eax, dword [ebp - 0x75]
inc eax
or al, 0x8b
ror dword [ebp + 0x308be47d], 1
mov eax, dword [eax + 0xc]
mov edx, ecx
lea edi, [ebp - 0x1c]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jne 0x44dc72
je 0x44dc72
mov eax, dword [ebp + 0x33]
imul bl
adc eax, 0xfee0858d
invalid
xor esi, esi
jmp 0x44dc8b
lea eax, [ebp - 0x120]
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1c], eax
jne 0x44dc8b
je 0x44dc8b
mov eax, dword [ebp - 0x75]
dec ebp
or al, 0x51
mov ecx, dword [ebp + 0xc]
push ecx
call sub.wsock32.dll_htons
mov word [ebp - 0x1e], ax
jne 0x44dc9e
je 0x44dc9e
mov eax, dword [ebp + 0x66]
mov dword [ebp - 0x20], 0x4750002
mov word [ebp - 0x20], 2
jne 0x44dcaa
je 0x44dcaa
mov eax, dword [ebp - 0x75]
inc ebx
add al, 0x8d
push ebp
invalid
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x10]
push edx
push 0x8004667e
push eax
call sub.wsock32.dll_ioctlsocket
or edi, 0xffffffff
cmp eax, edi
jne 0x44dce0
mov ecx, dword [ebx + 4]
push ecx
call sub.wsock32.dll_closesocket
jne 0x44dcd2
je 0x44dcd2
mov eax, dword [ebp - 0x77]
jae 0x44dcd9
mov dword [ebx + 4], esi
jne 0x44dcdb
je 0x44dcdb
mov eax, dword [ebp - 0x77]
jge 0x44dcda
inc ebp
mov dword [ebp - 4], edi
jmp 0x44dd47
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x20]
push 0x10
push edx
push eax
call sub.wsock32.dll_connect
cmp eax, edi
jne 0x44dd10
mov ecx, dword [ebx + 4]
push ecx
call sub.wsock32.dll_closesocket
jne 0x44dd02
je 0x44dd02
mov eax, dword [ebp - 0x77]
jae 0x44dd09
mov dword [ebx + 4], esi
jne 0x44dd0b
je 0x44dd0b
mov eax, dword [ebp - 0x77]
jge 0x44dd0a
inc ebp
mov dword [ebp - 4], edi
jmp 0x44dd47
mov dword [ebx + 0xc], 1
jne 0x44dd1d
je 0x44dd1d
mov eax, dword [ebp - 0x73]
dec ebp
or byte [ecx - 0x27170383], cl
push ds
add byte [eax], al
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.0044fc00
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044fc00
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8