Function at 0x4620c0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x3c0]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x190
push 0
push eax
mov dword [ebp - 0x3c4], ebx
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004e69c0
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004e69c0
mov eax, dword [ebp + 0x10]
add esp, 0x24
test eax, eax
mov dword [ebp - 0x3c8], 0
mov edi, 0x104
xorps xmm0, xmm0
cmovns edi, eax
movups xmmword [ebp - 0x230], xmm0
test ebx, ebx
je 0x46241f
test esi, esi
je 0x46241f
test edi, edi
jle 0x46241f
call fcn.004d9850
push 0x102
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.004a9a20
lea eax, [ebp - 0x220]
push eax
call fcn.004a55e0
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x11c]
push 0x52be0c
push eax
call fcn.004a8ea0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x4621b9
lea eax, [ebp - 0x3c8]
push eax
push 0x52be0c
push 0
call fcn.004a8ea0
add esp, 0xc
mov ebx, eax
push ebx
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x4621eb
push 0x104
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.004a9a20
push 0
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.004a7100
add esp, 0x18
push 0x669ef8
call fcn.004a73a0
add esp, 4
test eax, eax
jne 0x462247
lea eax, [ebp - 0x11c]
push 0x669df0
push eax
call fcn.004eeba8
add esp, 8
test eax, eax
jne 0x462247
push 0x104
lea eax, [ebp - 0x11c]
push 0x669ef8
push eax
call fcn.004a9a20
mov ebx, dword [ebp - 0x3c4]
lea eax, [ebp - 0x11c]
push eax
push ebx
push str.:2:ResolveHostNameToIP___s___is_using___s__instead_
call fcn.00424fd0
add esp, 0x18
jmp 0x46224d
mov ebx, dword [ebp - 0x3c4]
lea eax, [ebp - 0x11c]
mov byte [esi], 0
push eax
call fcn.0045e530
add esp, 4
test eax, eax
je 0x4622a1
lea eax, [ebp - 0x11c]
push eax
call fcn.004638b0
push edi
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.004a9a20
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.004a98f0
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c0]
mov byte [esi], 0
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x46241f
lea eax, [ebp - 0x11c]
push eax
call sub.WSOCK32.dll_gethostbyname
mov ecx, eax
test ecx, ecx
je 0x46241a
movzx edx, word [ecx + 0xa]
test dx, dx
jle 0x46241a
movsx eax, dx
xorps xmm0, xmm0
push eax
mov eax, dword [ecx + 0xc]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
call fcn.004e6440
mov eax, dword [ebp - 0x22c]
mov edx, eax
mov ecx, eax
shr edx, 0x18
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x3c4], ecx
mov ecx, eax
push edx
push dword [ebp - 0x3c4]
shr ecx, 8
movzx ecx, cl
movzx eax, al
push ecx
push eax
mov dword [ebp - 0x3d0], eax
lea eax, [ebp - 0x18]
push str._ld._ld._ld._ld
push eax
mov byte [esi], 0
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d8], ecx
call fcn.00404200
push edi
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.004a9a20
push esi
mov dword [ebp - 0x3cc], 0
call fcn.0045e530
add esp, 0x34
test eax, eax
jne 0x4623a6
push esi
push dword [ebp - 0x3d4]
push dword [ebp - 0x3c4]
push dword [ebp - 0x3d8]
push dword [ebp - 0x3d0]
push ebx
push str.:9:ResolveHostNameToIP__s__FAILED:_IP_InAddrToA__d._d._d._d__parsed_to__s
call fcn.00424a90
add esp, 0x1c
mov dword [ebp - 0x3cc], 0xffffffff
call sub.WSOCK32.dll_WSACleanup
cmp dword [ebp - 0x3cc], 0
jne 0x46241f
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4623c0
sub ecx, edx
je 0x46241f
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.004a98f0
add esp, 0xc
call fcn.004d9850
mov edi, dword [ebp - 0x3dc]
sub eax, edi
cmp eax, 0xfa0
jbe 0x462407
call fcn.004d9850
sub eax, edi
push eax
push esi
push ebx
push str.:4:ResolveHostNameToIP___took_too_long_to_resolve__s_to__s:__ums
call fcn.00424a90
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e50dc
mov esp, ebp
pop ebp
ret
call sub.WSOCK32.dll_WSACleanup
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e50dc
mov esp, ebp
pop ebp
ret