Function at 0x425100
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551d49
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5b3e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x561fcc
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 4], 0
call fcn.00401aa0
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x19e]
push ecx
mov byte [ebp - 4], 1
mov word [ebp - 0x1a0], ax
call fcn.005350f0
add esp, 0xc
lea edx, [ebp - 0x1a0]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x561fcc
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, dword [ebp - 0x1a4]
mov esi, eax
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x10
or eax, ecx
jge 0x4251b3
push 0x10
lea ecx, [ebp - 0x1a4]
call fcn.004013a0
mov edx, dword [ebp - 0x1a4]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edi, edx
mov edx, dword [ecx]
push 0x10
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00534a12
add esp, 8
test eax, eax
js 0x4253da
mov ecx, dword [ebp - 0x1a4]
cmp eax, dword [ecx - 8]
jg 0x4253da
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 0x1a4]
mov byte [eax + ecx], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x561fcc
lea ecx, [ebp - 0x1a8]
call fcn.00401aa0
mov byte [ebp - 4], 2
call fcn.004364a2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425238
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 3
xor esi, esi
mov ecx, dword [ebp - 0x1a4]
push 0x2e
push esi
push ecx
lea edx, [ebp - 0x1ac]
push edx
call fcn.004363c1
lea ecx, [ebp - 0x1ac]
call fcn.00406240
mov ecx, eax
call fcn.00406120
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00401740
push 1
push 0x564d1c
lea ecx, [ebp - 0x1a8]
call fcn.00401740
inc esi
cmp esi, 3
jl 0x425250
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00401740
mov ecx, dword [ebp - 0x1a8]
mov esi, dword [ebx + 0x29f0]
lea edi, [ebx + 0x29f0]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x425322
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x425316
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x425316
push eax
call fcn.00401400
mov dword [ebp - 0x1b0], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x425309
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x1b0]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x425322
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401800
mov eax, dword [ebp - 0x1ac]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425348
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1a8]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42536e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1a4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4253ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534f15
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401000
int3