Function at 0x444279
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e4
mov eax, dword [0x5385d0]
xor eax, esp
mov dword [esp + 0x3e0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0x18e
mov dword [esp + 0x14], eax
lea eax, [esp + 0x36]
push ebx
push eax
mov word [esp + 0x3c], bx
call fcn.004b7880
mov edi, 0x103
push edi
lea eax, [esp + 0x1e9]
push ebx
push eax
mov byte [esp + 0x1f0], bl
call fcn.004b7880
push edi
lea eax, [esp + 0x2fd]
push ebx
push eax
mov byte [esp + 0x304], bl
call fcn.004b7880
xor eax, eax
mov word [esp + 0x44], bx
lea edi, [esp + 0x46]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x24
cmp dword [ebp + 0x10], ebx
stosw word es:[edi], ax
mov dword [esp + 0x18], ebx
jge 0x44430b
mov dword [ebp + 0x10], 0x104
cmp dword [esp + 0x10], ebx
je 0x444567
cmp esi, ebx
je 0x444567
cmp dword [ebp + 0x10], ebx
jle 0x444567
call fcn.004a6bcb
push dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, 0x102
lea eax, [esp + 0x1dc]
call fcn.0047ebe1
lea eax, [esp + 0x2e4]
call fcn.0047eb32
mov edi, 0x4f58cc
push edi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1e0]
call fcn.00480650
cmp eax, ebx
pop ecx
pop ecx
mov dword [esp + 0x14], eax
je 0x444381
push edi
lea eax, [esp + 0x1c]
xor ecx, ecx
call fcn.00480650
pop ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
call fcn.0047ebaf
test eax, eax
jne 0x4443b5
push dword [esp + 0x14]
mov ecx, 0x104
lea eax, [esp + 0x2e4]
call fcn.0047ebe1
push 0x3a
xor eax, eax
lea edi, [esp + 0x2e8]
call fcn.0047f9ef
pop ecx
pop ecx
mov edi, 0x630000
mov edx, edi
call fcn.0047ebaf
test eax, eax
jne 0x444401
lea eax, [esp + 0x1d8]
push 0x62fef8
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
jne 0x444401
push edi
mov ecx, 0x104
lea eax, [esp + 0x1dc]
call fcn.0047ebe1
push eax
push dword [esp + 0x18]
push str.:2:ResolveHostNameToIP___s___is_using___s__instead_
call fcn.0041936e
add esp, 0x10
lea ecx, [esp + 0x1d8]
mov byte [esi], bl
call fcn.00443dee
test eax, eax
je 0x444445
lea ebx, [esp + 0x1d8]
call fcn.00443cb4
mov ecx, dword [ebp + 0x10]
mov eax, ebx
push eax
mov eax, esi
call fcn.0047ebe1
lea eax, [esp + 0x2e4]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0047ecb1
pop ecx
pop ecx
mov eax, esi
jmp 0x444569
lea eax, [esp + 0x30]
push eax
push 0x101
mov byte [esi], bl
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x444567
lea eax, [esp + 0x1d8]
push eax
call sub.WSOCK32.dll_gethostbyname
mov ecx, eax
cmp ecx, ebx
je 0x44450a
movzx edx, word [ecx + 0xa]
cmp dx, bx
jle 0x44450a
xor eax, eax
mov byte [esp + 0x1c4], bl
lea edi, [esp + 0x1c5]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movsx eax, dx
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [esp + 0x2c]
push eax
call fcn.004b7150
push dword [esp + 0x30]
lea eax, [esp + 0x1d4]
mov byte [esi], bl
call fcn.00444198
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x1d4]
push eax
mov eax, esi
call fcn.0047ebe1
add esp, 0x14
mov ecx, esi
xor edi, edi
call fcn.00443dee
test eax, eax
jne 0x44450d
movzx eax, byte [esp + 0x27]
push esi
push eax
movzx eax, byte [esp + 0x2e]
push eax
movzx eax, byte [esp + 0x31]
push eax
movzx eax, byte [esp + 0x34]
push eax
push dword [esp + 0x24]
push str.:9:ResolveHostNameToIP__s__FAILED:_IP_InAddrToA__d._d._d._d__parsed_to__s
call fcn.00418e96
add esp, 0x1c
or edi, 0xffffffff
call sub.WSOCK32.dll_WSACleanup
cmp edi, ebx
jne 0x444567
push esi
call fcn.004b68f0
test eax, eax
pop ecx
jbe 0x444567
lea eax, [esp + 0x2e0]
push eax
mov eax, dword [ebp + 0x10]
call fcn.0047ecb1
pop ecx
call fcn.004a6bcb
sub eax, dword [esp + 0x1c]
cmp eax, 0xfa0
jbe 0x44443e
call fcn.004a6bcb
sub eax, dword [esp + 0x1c]
push eax
push esi
push dword [esp + 0x18]
push str.:4:ResolveHostNameToIP___took_too_long_to_resolve__s_to__s:__ums
call fcn.00418e96
add esp, 0x10
jmp 0x44443e
xor eax, eax
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7140
mov esp, ebp
pop ebp
ret