Function at 0x463eb7
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
push 0x190
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0x3c0]
push ebx
push eax
call fcn.004e4da0
mov edi, 0x104
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.004e4da0
push edi
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.004e4da0
xor eax, eax
mov dword [ebp - 0x3c8], ebx
lea edi, [ebp - 0x230]
add esp, 0x24
cmp dword [ebp + 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x104
cmovge edi, dword [ebp + 0x10]
mov dword [ebp - 0x3d0], edi
cmp dword [ebp - 0x3c4], ebx
je 0x4641b4
test esi, esi
je 0x4641b4
test edi, edi
jle 0x4641b4
call fcn.004ca9ca
push 0x102
push dword [ebp - 0x3c4]
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004a11a5
lea eax, [ebp - 0x220]
push eax
call fcn.0049e2d6
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x11c]
push 0x5149d8
push eax
call fcn.004a093e
add esp, 0x1c
mov dword [ebp - 0x3cc], eax
test eax, eax
je 0x463fbf
lea eax, [ebp - 0x3c8]
push eax
push 0x5149d8
push ebx
call fcn.004a093e
add esp, 0xc
mov dword [ebp - 0x3cc], eax
push eax
call fcn.0049f486
pop ecx
test eax, eax
jne 0x463ff3
push 0x104
push dword [ebp - 0x3cc]
lea eax, [ebp - 0x220]
push eax
call fcn.004a11a5
push ebx
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.0049f318
add esp, 0x18
push 0x683450
call fcn.0049f486
pop ecx
test eax, eax
jne 0x464049
lea eax, [ebp - 0x11c]
push 0x683348
push eax
call fcn.004ee718
pop ecx
pop ecx
test eax, eax
jne 0x464049
push 0x104
lea eax, [ebp - 0x11c]
push 0x683450
push eax
call fcn.004a11a5
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x3c4]
push str.:2:ResolveHostNameToIP___s___is_using___s__instead_
call fcn.00425c08
add esp, 0x18
lea eax, [ebp - 0x11c]
mov byte [esi], bl
push eax
call fcn.0046096b
pop ecx
test eax, eax
je 0x46408e
lea eax, [ebp - 0x11c]
push eax
call fcn.0046580c
push edi
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.004a11a5
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.004a10b8
add esp, 0x1c
mov eax, esi
jmp 0x4641b6
lea eax, [ebp - 0x3c0]
mov byte [esi], bl
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4641b4
lea eax, [ebp - 0x11c]
push eax
call sub.WSOCK32.dll_gethostbyname
mov ecx, eax
test ecx, ecx
je 0x4641af
movzx edx, word [ecx + 0xa]
test dx, dx
jle 0x4641af
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movsx eax, dx
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
call fcn.004e4820
lea eax, [ebp - 0x18]
mov byte [esi], bl
push eax
push dword [ebp - 0x22c]
call fcn.004608cc
mov edi, dword [ebp - 0x3d0]
lea eax, [ebp - 0x18]
push edi
push eax
push esi
call fcn.004a11a5
push esi
call fcn.0046096b
add esp, 0x24
test eax, eax
jne 0x464151
movzx eax, byte [ebp - 0x229]
push esi
push eax
movzx eax, byte [ebp - 0x22a]
push eax
movzx eax, byte [ebp - 0x22b]
push eax
movzx eax, byte [ebp - 0x22c]
push eax
push dword [ebp - 0x3c4]
push str.:9:ResolveHostNameToIP__s__FAILED:_IP_InAddrToA__d._d._d._d__parsed_to__s
call fcn.004255b9
add esp, 0x1c
or ebx, 0xffffffff
call sub.WSOCK32.dll_WSACleanup
test ebx, ebx
jne 0x4641b4
push esi
call fcn.004ee800
pop ecx
test eax, eax
je 0x4641b4
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.004a10b8
add esp, 0xc
call fcn.004ca9ca
mov edi, dword [ebp - 0x3d4]
sub eax, edi
cmp eax, 0xfa0
jbe 0x464087
call fcn.004ca9ca
sub eax, edi
push eax
push esi
push dword [ebp - 0x3c4]
push str.:4:ResolveHostNameToIP___took_too_long_to_resolve__s_to__s:__ums
call fcn.004255b9
add esp, 0x10
jmp 0x464087
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret