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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x5827c9
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 0x582b78
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x582afc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.0040a9c8
test al, al
jne 0x58286a
lea eax, [ebp - 0x18]
mov ecx, 0x582b94
mov edx, dword [ebp - 8]
call fcn.00405124
mov eax, dword [ebp - 0x18]
call fcn.0040aaf8
push 0xffff
lea eax, [ebp - 0x20]
mov ecx, 0x582b94
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 [0x489ae0]
call fcn.0048aac4
mov ebx, eax
jmp 0x582877
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x582b06
xor edx, edx
push ebp
push 0x582aaa
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f4fec]
call fcn.004f6218
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 0x5828c3
mov eax, dword [ebp - 0x14]
add eax, 0x110
mov edx, 0x582ba0
call fcn.00404e5c
jmp 0x5828d3
mov eax, dword [ebp - 0x14]
add eax, 0x110
mov edx, dword [ebp - 0xc]
call fcn.00404e5c
mov eax, dword [0x592690]
mov edx, 0x582be0
call fcn.004058a0
jne 0x582977
lea edx, [ebp - 0x24]
mov eax, dword [0x592680]
call fcn.00409f18
mov eax, dword [ebp - 0x24]
xor edx, edx
call fcn.004058a0
je 0x582977
lea edx, [ebp - 0x28]
mov eax, dword [0x592684]
call fcn.00409f18
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.004058a0
je 0x582977
mov eax, dword [0x592690]
mov edx, 0x582be0
call fcn.004058a0
jne 0x582977
mov eax, dword [ebp - 0x14]
add eax, 0x90
mov edx, dword [0x592680]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0x94
mov edx, dword [0x592684]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0xa8
mov edx, dword [0x592688]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
add eax, 0xac
mov edx, dword [0x59268c]
call fcn.004050a0
mov al, byte [0x582bec]
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, 0x582bf8
mov edx, 0x582c04
call fcn.004105ac
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.004fce3c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x12c]
cmp eax, 0xc8
je 0x5829dc
cmp eax, 0xce
jne 0x582a89
xor eax, eax
push ebp
push 0x582a66
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403f7c
mov eax, dword [0x58ff04]
mov eax, dword [eax]
call fcn.00486080
lea eax, [ebp - 0x3c]
mov ecx, 0x582b94
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, 0x582c0c
call fcn.0049dc9c
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
mov ecx, 0x582b94
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.0049dfac
mov eax, dword [0x58ff04]
mov eax, dword [eax]
call fcn.00486080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x582a70
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 0x582b06
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 0x582b06
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582b7f
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