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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x551eb0
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5522b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x552250
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 0x551ef4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 8], edx
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x284]
mov edx, 0x5522cc
call fcn.00404844
mov eax, dword [ebp - 0x10]
call fcn.004049f8
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 0x5522d4
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 + 0x288], 0
jne 0x551f60
mov eax, dword [ebp - 4]
add eax, 0x288
mov edx, 0x55234c
call fcn.0040458c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x290]
mov eax, dword [eax*4 + 0x558e50]
mov edx, 0x552394
call fcn.00404944
jne 0x551fc1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004047f8
lea edx, [ebp - 0x18]
call fcn.00409438
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 0x5523a4
call fcn.00404844
mov eax, dword [ebp - 0x14]
call fcn.004049f8
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 + 0x288]
mov edx, 0x5523c0
call fcn.00404844
mov eax, dword [ebp - 0x1c]
call fcn.004049f8
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, 0x288
call fcn.00404538
mov eax, dword [ebp - 4]
cmp dword [eax + 0x298], 0
je 0x55204f
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x298]
mov edx, 0x5523d4
call fcn.00404844
mov eax, dword [ebp - 0x20]
call fcn.004049f8
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.00404538
mov eax, dword [ebp - 4]
cmp dword [eax + 0x29c], 0
je 0x55209c
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x29c]
mov edx, 0x5523e8
call fcn.00404844
mov eax, dword [ebp - 0x24]
call fcn.004049f8
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.00404538
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x294]
call fcn.004047f8
test eax, eax
jle 0x5520ef
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x294]
mov edx, 0x552400
call fcn.00404844
mov eax, dword [ebp - 0x28]
call fcn.004049f8
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, 0x294
call fcn.00404538
push 0x55240c
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 0x552424
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 0x552163
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x278]
mov edx, 0x55244c
call fcn.00404844
mov eax, dword [ebp - 0x2c]
call fcn.004049f8
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 0x552458
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.005517d4
mov eax, dword [ebp - 0xc]
call fcn.004047f8
test eax, eax
jle 0x5521c2
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov edx, 0x552468
call fcn.00404844
mov eax, dword [ebp - 0x30]
call fcn.004049f8
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
push 0x552474
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
je 0x552236
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28c]
call fcn.004049f8
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.00404538
jmp 0x552250
push 0x552474
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]
mov dword [ebp - 8], eax
jmp 0x552294
mov eax, dword [ebp - 4]
push dword [eax + 0x18]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00409d7c
push dword [ebp - 0x34]
push 0x552494
push 0x5524a0
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, 4
call fcn.004048b8
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 0x55225b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5522bf
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040455c
ret