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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x525be8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x525f9c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x525f42
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00409ec8
cmp dword [ebp - 0xc], 0
jne 0x525c3d
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525f67
xor ecx, ecx
mov dl, 1
mov eax, dword [0x436ff0]
call fcn.00437d54
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], ebx
mov eax, ebx
mov edx, 0x1f4
call fcn.00437eec
mov eax, dword [ebp - 4]
push eax
push 0x524b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
call fcn.00437efc
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 6
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f4fec]
call fcn.004f6218
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x190], ebx
lea eax, [ebx + 0x114]
mov edx, 0x525fb4
call fcn.00404e5c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
call fcn.00409ec8
cmp dword [ebp - 0x10], 0
jne 0x525cda
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x110
mov edx, 0x525fc0
call fcn.00404e5c
jmp 0x525cf6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x110
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xec]
call fcn.00404e5c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
call fcn.00409ec8
cmp dword [ebp - 0x14], 0
je 0x525d29
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x17c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x13c]
call fcn.00404e5c
mov eax, dword [0x58feb8]
mov eax, dword [eax]
mov edx, 0x526000
call fcn.004058a0
jne 0x525e1c
lea edx, [ebp - 0x18]
mov eax, dword [0x58ffb4]
mov eax, dword [eax]
call fcn.00409f18
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.004058a0
je 0x525e1c
lea edx, [ebp - 0x1c]
mov eax, dword [0x58fb9c]
mov eax, dword [eax]
call fcn.00409f18
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.004058a0
je 0x525e1c
mov eax, dword [0x58feb8]
mov eax, dword [eax]
mov edx, 0x526000
call fcn.004058a0
jne 0x525e1c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x90
mov edx, dword [0x58ffb4]
mov edx, dword [edx]
call fcn.004050a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x94
mov edx, dword [0x58fb9c]
mov edx, dword [edx]
call fcn.004050a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0xa8
mov edx, dword [0x58fd34]
mov edx, dword [edx]
call fcn.004050a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0xac
mov edx, dword [0x58ffe8]
mov edx, dword [edx]
call fcn.004050a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x104
mov edx, dword [0x58fc14]
mov edx, dword [edx]
call fcn.004050a0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x13c], 0
je 0x525e44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0x17c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x13c]
call fcn.00404e5c
mov al, byte [0x52600c]
push eax
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00409ec8
mov eax, dword [ebp - 0x24]
mov ecx, 0x526018
mov edx, 0x526024
call fcn.004105ac
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.00404ea0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0xec
mov edx, dword [ebp - 8]
call fcn.00404e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
add eax, 0xfc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xe8]
call fcn.00404e5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x190]
call fcn.004fce58
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x190]
mov eax, dword [ecx + 0x12c]
cmp eax, 0xc8
je 0x525ed3
cmp eax, 0xce
jne 0x525f1f
cmp dword [ecx + 0x144], 0
jne 0x525eea
cmp dword [ecx + 0x140], 0x3e8
jbe 0x525f06
jmp 0x525eec
jle 0x525f06
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
xor edx, edx
call fcn.00437edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525f67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
xor edx, edx
call fcn.00437edc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525f67
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
xor edx, edx
call fcn.00437edc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x525f67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x525fa3
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404e2c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404e2c
ret