Function at 0x42aac0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x4aad59
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x4dffd0]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dffd0]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1e8]
mov esi, dword [esp + 0x1d8]
mov ebp, dword [esp + 0x1dc]
xor ebx, ebx
mov edi, ecx
mov ecx, dword [esp + 0x1e4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x500de4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x30], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x28], 1
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x500de4]
mov edx, dword [eax + 0xc]
mov ecx, 0x500de4
mov dword [esp + 0x1d0], 1
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x18e
lea eax, [esp + 0x3a]
push ebx
push eax
mov byte [esp + 0x1dc], 2
mov word [esp + 0x40], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00427e10
push eax
mov ecx, esi
mov byte [esp + 0x1d4], 3
call fcn.00405e10
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1d0], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42abfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebx
jne 0x42accf
lea edx, [esp + 0x34]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x42accf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push ebp
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.004280b0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1d4], 4
call fcn.00405e10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1d0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ac74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], ebx
je 0x42acd3
lea ecx, [esp + 0x18]
push ecx
push ebp
mov ecx, edi
call fcn.0042a8b0
cmp eax, ebx
jne 0x42acd3
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00427ef0
push eax
mov ecx, esi
mov byte [esp + 0x1d4], 5
call fcn.00405e10
lea ecx, [esp + 0x14]
call fcn.00404930
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x42acd3
push eax
mov ecx, edi
call fcn.00423b40
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x42acd3
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1d0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42acfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x1d0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.0048e5b2
add esp, 0x1c0
ret 0x14