Function at 0x10006c30
Capabilities:
Initialize winsock library
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov eax, 0x11fc
call fcn.10012430
push ebx
push ebp
push esi
push edi
mov ecx, 0x7c
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x1210]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, ebx
mov ebx, 0x1f4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x10], edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], ebx
mov cl, byte [esp + eax + 0x18]
lea ebp, [esp + eax + 0x19]
cmp cl, 0x3a
jne 0x10006cfe
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, 1
mov dword [esp + 0x10], ecx
jne 0x10006cc2
mov ecx, eax
lea esi, [esp + 0x18]
mov edx, ecx
mov edi, 0x1001a5c4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10006cfe
cmp ecx, 2
jne 0x10006cfe
mov ecx, eax
lea esi, [esp + edx + 0x19]
sub ecx, edx
mov edi, 0x1001a628
dec ecx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov esi, ebp
mov ebp, ecx
mov edi, 0x1001a634
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc eax
dec ebx
test ebx, ebx
mov dword [esp + 0x14], ebx
jg 0x10006c8c
cmp dword [esp + 0x10], 2
jne 0x10006df3
lea eax, [esp + 0x18]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10006df3
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
push 0x1001a628
call ebx
push eax
push 0x1001a5c4
call fcn.10006b60
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10006df3
mov cx, word [0x1001b0c4]
xor eax, eax
mov word [esp + 0x20c], cx
mov ecx, 0x3ff
lea edi, [esp + 0x20e]
push 0x1001a5c4
rep stosd dword es:[edi], eax
push 0x1001a634
lea edx, [esp + 0x214]
push str.GET__s_HTTP_1.0_r_nAccept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash__application_vnd.ms_excel__application_vnd.ms_powerpoint__application_msword_____r_nAccept_Language:_zh_cn_r_nAccept_Encoding:_gzip__deflate_r_nIf_Modified_Since:_Sun__26_Jun_2005_15:43:05_GMT_r_nIf_None_Match:__60794_12b3_e4169440__r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0__.NET_CLR_1.1.4322__.NET_CLR_1.0.3705__r_nHost:__s_r_n_r_n
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x1001a5bc]
mov ebp, dword [sym.imp.WS2_32.dll_closesocket]
add esp, 0x10
test eax, eax
je 0x10006df0
test esi, esi
jbe 0x10006dc8
lea edi, [esp + 0x20c]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x210]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call ebp
push 0x1001a628
call ebx
push eax
push 0x1001a5c4
call fcn.10006b60
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10006df3
mov eax, dword [0x1001a5bc]
test eax, eax
jne 0x10006da1
push esi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11fc
ret