Function at 0x10025b50
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004eb36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x586c
call fcn.10036fa0
mov eax, dword [0x1005d330]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x5874], eax
push 0x1000
mov ebx, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x386c]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x4874], 0
mov dword [esp + 0x24], 0x1000
call fcn.10017210
test eax, eax
je 0x10025ca8
xor eax, eax
push eax
mov byte [esp + 0x2864], 0
mov ecx, 0x400
lea edi, [esp + 0x2865]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2868]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x30], 0x1000
call fcn.10017520
xor eax, eax
mov byte [esp + 0x850], 0
mov ecx, 0x400
lea edi, [esp + 0x851]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x854]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3874]
push edx
mov dword [esp + 0x24], 0x50
call fcn.1001d970
add esp, 0x10
push 1
push 0
push 0
push 0
push 1
push 2
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp edi, 1
mov esi, eax
mov dword [esp + 0x10], esi
jne 0x10025e47
lea ecx, [esp + 0x28]
call fcn.1001b740
lea eax, [esp + 0x28]
xor edi, edi
push eax
push edi
mov ecx, 0x1005ff80
mov dword [esp + 0x588c], edi
call fcn.10030070
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x60], edi
call fcn.10017d80
test eax, eax
jne 0x10025caf
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x28]
call fcn.1001b6e0
xor eax, eax
jmp 0x10025e53
xor eax, eax
mov byte [esp + 0x1858], 0
mov ecx, 0x400
lea edi, [esp + 0x1859]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3868]
push 0x10050c04
push ecx
call fcn.10036fe0
mov esi, eax
inc esi
push 0x10050c04
push esi
call fcn.10036fe0
mov byte [eax], 0
xor eax, eax
mov byte [esp + 0x60], 0
mov ecx, 0xff
lea edi, [esp + 0x61]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
add esp, 0x10
xor eax, eax
mov byte [esp + 0x450], 0
mov ecx, 0xff
lea edi, [esp + 0x451]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025d22
push 0x400
lea edx, [esp + 0x54]
push edx
sub eax, edi
push eax
push esi
mov ecx, ebx
call fcn.10017010
lea eax, [esp + 0x850]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025d48
push 0x400
lea ecx, [esp + 0x454]
push ecx
sub eax, esi
push eax
lea edx, [esp + 0x85c]
push edx
mov ecx, ebx
call fcn.10017010
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.100258f0
mov esi, eax
lea edx, [esp + 0x458]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x5894], 1
call fcn.100258f0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
lea edx, [esp + 0x1878]
push str.GET__s_host_surl_s_HTTP_1.0_r_nHost:__s_r_n_r_n
push edx
call fcn.10036e11
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025dda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x5884], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10025e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x1858]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025e10
mov esi, dword [esp + 0x10]
sub eax, edx
push eax
lea eax, [esp + 0x185c]
push eax
push esi
mov ecx, ebx
call fcn.10017640
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push esi
push eax
mov ecx, ebx
call fcn.100176b0
lea ecx, [esp + 0x28]
call fcn.1001b6e0
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 0x10
mov ecx, dword [esp + 0x587c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x5874]
call fcn.10036c09
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10