Function at 0x40c76c
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 8
call fcn.004226e4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
mov eax, 0x14
call fcn.00422702
cmp dword [ebp - 0xc], esp
je 0x40c7bf
push 6
call fcn.004226f6
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Microsoft.XMLHTTP
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x427690
call fcn.004226ea
add esp, 0x28
push reloc.oleaut32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push 0x606b6b
push reloc.WS2_32.dll_connect
push 0
push 0x606b70
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x606b75
push reloc.WS2_32.dll_connect
push 0
push 0x606b79
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606b91
push reloc.WS2_32.dll_connect
push 0
push 0x606b97
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606ba7
push reloc.WS2_32.dll_connect
push 0
push 0x606bee
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606bf9
push reloc.WS2_32.dll_connect
push 0
push 0x606c1b
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606c28
push reloc.WS2_32.dll_connect
push 0
push 0x606c30
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606c40
push reloc.WS2_32.dll_connect
push 0
push 0x606c4b
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push 0x606c56
push reloc.WS2_32.dll_connect
push 0
push 0x606c5f
push reloc.WS2_32.dll_connect
push 0
push 0x606b80
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x34
push 0xa0000004
push 0
push dword [ebp + 0xc]
push reloc.WS2_32.dll_connect
push 0
push 0x606c6d
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x426480
call fcn.004226ea
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x606c72
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x426450
call fcn.004226ea
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x4265c0
call fcn.004226ea
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x426510
call fcn.004226ea
add esp, 0x10
call fcn.004226de
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40cab6
push ebx
call fcn.004226de
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0x15
call fcn.00422702
cmp dword [ebp - 0xc], esp
je 0x40cad9
push 6
call fcn.004226f6
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x40caf3
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004226e4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40caf8
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x427680
call fcn.004226ea
add esp, 0x10
call fcn.004226de
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40cb2c
push ebx
call fcn.004226de
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8