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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4ca3ec
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ca8b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x4ca850
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_free_all
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4ca42f
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2ad], 0
je 0x4ca525
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2b0], 0
jne 0x4ca465
push ebp
lea eax, [ebp - 0x10]
call fcn.004ca2d8
pop ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, 0x2b0
call fcn.00404a18
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2b0]
mov edx, 0x4ca8cc
call fcn.00404cd0
mov eax, dword [ebp - 0x14]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2b0]
mov edx, 0x4ca8e8
call fcn.00404cd0
mov eax, dword [ebp - 0x18]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2b0]
mov edx, 0x4ca8fc
call fcn.00404cd0
mov eax, dword [ebp - 0x1c]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4ca90c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x2ad], 0
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x288]
mov edx, 0x4ca94c
call fcn.00404cd0
mov eax, dword [ebp - 0x20]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4ca954
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28c], 0
jne 0x4ca591
mov eax, dword [ebp - 4]
add eax, 0x28c
mov edx, 0x4ca9b4
call fcn.00404a18
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x294]
mov eax, dword [eax*4 + 0x569d98]
mov edx, 0x4ca9fc
call fcn.00404dd0
jne 0x4ca5f2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.00404c84
lea edx, [ebp - 0x28]
call fcn.00409acc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4caa0c
call fcn.00404cd0
mov eax, dword [ebp - 0x24]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x28c]
mov edx, 0x4caa28
call fcn.00404cd0
mov eax, dword [ebp - 0x2c]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0x28c
call fcn.004049c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x29c], 0
je 0x4ca680
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x29c]
mov edx, 0x4caa3c
call fcn.00404cd0
mov eax, dword [ebp - 0x30]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0x29c
call fcn.004049c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x2a0], 0
je 0x4ca6cd
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x2a0]
mov edx, 0x4caa50
call fcn.00404cd0
mov eax, dword [ebp - 0x34]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0x2a0
call fcn.004049c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
call fcn.00404c84
test eax, eax
jle 0x4ca720
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x298]
mov edx, 0x4caa68
call fcn.00404cd0
mov eax, dword [ebp - 0x38]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
add eax, 0x298
call fcn.004049c4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x284], 0
jne 0x4ca748
push 0x4caa74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x4ca77c
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x284]
mov edx, 0x4caac0
call fcn.00404cd0
mov eax, dword [ebp - 0x3c]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4caad4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 0x4caaf4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
je 0x4ca7f0
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x278]
mov edx, 0x4cab14
call fcn.00404cd0
mov eax, dword [ebp - 0x40]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c9c04
mov eax, dword [ebp - 0xc]
call fcn.00404c84
test eax, eax
jle 0x4ca835
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4cab28
call fcn.00404cd0
mov eax, dword [ebp - 0x44]
call fcn.00404e84
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
push 0x2727
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.libcurl.dll_curl_easy_setopt
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
jmp 0x4ca894
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040a568
push dword [ebp - 0x48]
push 0x4cab3c
push 0x4cab48
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 4
call fcn.00404d44
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x4ca85b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca8bf
lea eax, [ebp - 0x48]
mov edx, 0x10
call fcn.004049e8
ret