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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x57b5e1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
mov eax, dword [ebp - 8]
call fcn.004052c8
mov eax, dword [ebp - 0xc]
call fcn.004052c8
xor eax, eax
push ebp
push 0x57b990
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x57b914
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0040a9c8
test al, al
jne 0x57b682
lea eax, [ebp - 0x18]
mov ecx, 0x57b9ac
mov edx, dword [ebp - 8]
call fcn.00405124
mov eax, dword [ebp - 0x18]
call fcn.0040aaf8
push 0xffff
lea eax, [ebp - 0x20]
mov ecx, 0x57b9ac
mov edx, dword [ebp - 8]
call fcn.00405124
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.004056f8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov ebx, eax
jmp 0x57b68f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b91e
xor edx, edx
push ebp
push 0x57b8c2
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f492c]
call fcn.004f5b58
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x188], ebx
cmp dword [ebp - 0xc], 0
jne 0x57b6db
mov eax, dword [ebp - 0x14]
add eax, 0x110
mov edx, 0x57b9b8
call fcn.00404e5c
jmp 0x57b6eb
mov eax, dword [ebp - 0x14]
add eax, 0x110
mov edx, dword [ebp - 0xc]
call fcn.00404e5c
mov eax, dword [0x589688]
mov edx, 0x57b9f8
call fcn.004058a0
jne 0x57b78f
lea edx, [ebp - 0x24]
mov eax, dword [0x589678]
call fcn.00409f18
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.004058a0
je 0x57b78f
lea edx, [ebp - 0x28]
mov eax, dword [0x58967c]
call fcn.00409f18
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004058a0
je 0x57b78f
mov eax, dword [0x589688]
mov edx, 0x57b9f8
call fcn.004058a0
jne 0x57b78f
mov eax, dword [ebp - 0x14]
add eax, 0x90
mov edx, dword [0x589678]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0x94
mov edx, dword [0x58967c]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0xa8
mov edx, dword [0x589680]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0xac
mov edx, dword [0x589684]
call fcn.004050a0
mov al, byte [0x57ba04]
push eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409ec8
mov eax, dword [ebp - 0x30]
mov ecx, 0x57ba10
mov edx, 0x57ba1c
call fcn.0040feec
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.00404ea0
mov eax, dword [ebp - 0x14]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.00404e5c
mov eax, dword [ebp - 0x14]
call fcn.004fc77c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x12c]
cmp eax, 0xc8
je 0x57b7f4
cmp eax, 0xce
jne 0x57b8a1
xor eax, eax
push ebp
push 0x57b87e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403f7c
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
lea eax, [ebp - 0x3c]
mov ecx, 0x57b9ac
mov edx, dword [ebp - 8]
call fcn.00405124
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.004056f8
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov edx, 0x57ba24
call fcn.0049d5dc
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x57b9ac
mov edx, dword [ebp - 8]
call fcn.00405124
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.004056f8
mov eax, dword [ebp - 0x40]
pop edx
call fcn.0049d8ec
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b888
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b91e
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b91e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b997
lea eax, [ebp - 0x44]
call fcn.00404e08
lea eax, [ebp - 0x40]
call fcn.00405524
lea eax, [ebp - 0x3c]
call fcn.00404e08
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404e2c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x20]
call fcn.00404e08
lea eax, [ebp - 0x1c]
call fcn.00405524
lea eax, [ebp - 0x18]
call fcn.00404e08
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e2c
ret