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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x57fa45
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
lea eax, [ebp - 8]
call fcn.00405b34
lea eax, [ebp - 0xc]
call fcn.00405b34
mov eax, dword [ebp + 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x57fda8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.004050a0
mov eax, dword [ebp - 0x14]
call fcn.0040aaf8
xor eax, eax
push ebp
push 0x57fac3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57facd
mov dword [0x58969c], 0xffffffff
mov dword [0x58966c], 0
mov dword [0x589670], 0
xor edx, edx
push ebp
push 0x57fceb
push dword fs:[edx]
mov dword fs:[edx], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f492c]
call fcn.004f5b58
mov dword [0x589674], eax
mov dl, 1
mov eax, dword [0x589674]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x589674]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x188], edx
cmp dword [ebp + 8], 0
jne 0x57fb42
mov eax, dword [0x589674]
add eax, 0x110
mov edx, 0x57fdc4
call fcn.00404e5c
jmp 0x57fb54
mov eax, dword [0x589674]
add eax, 0x110
mov edx, dword [ebp + 8]
call fcn.00404e5c
mov eax, dword [0x589688]
mov edx, 0x57fe04
call fcn.004058a0
jne 0x57fc00
lea edx, [ebp - 0x18]
mov eax, dword [0x589678]
call fcn.00409f18
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.004058a0
je 0x57fc00
lea edx, [ebp - 0x1c]
mov eax, dword [0x58967c]
call fcn.00409f18
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.004058a0
je 0x57fc00
mov eax, dword [0x589688]
mov edx, 0x57fe04
call fcn.004058a0
jne 0x57fc00
mov eax, dword [0x589674]
add eax, 0x90
mov edx, dword [0x589678]
call fcn.004050a0
mov eax, dword [0x589674]
add eax, 0x94
mov edx, dword [0x58967c]
call fcn.004050a0
mov eax, dword [0x589674]
add eax, 0xa8
mov edx, dword [0x589680]
call fcn.004050a0
mov eax, dword [0x589674]
add eax, 0xac
mov edx, dword [0x589684]
call fcn.004050a0
mov eax, dword [0x589674]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e4], edx
mov dword [eax + 0x2e0], 0x57fe10
mov eax, dword [0x589674]
add eax, 0xec
mov edx, dword [ebp - 8]
call fcn.004050a0
mov eax, dword [0x589674]
call fcn.004fc77c
mov eax, dword [0x589674]
mov eax, dword [eax + 0x12c]
cmp eax, 0xc8
je 0x57fc4d
cmp eax, 0xce
jne 0x57fc95
cmp dword [0x589674], 0
je 0x57fc63
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x57fc76
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0x10], 0
je 0x57fc84
mov eax, dword [ebp - 0x10]
call fcn.00403f7c
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
or ebx, 0xffffffff
jmp 0x57fce1
cmp dword [0x589674], 0
je 0x57fcab
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x57fcbe
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0x10], 0
je 0x57fccc
mov eax, dword [ebp - 0x10]
call fcn.00403f7c
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.004050a0
mov eax, dword [ebp - 0x20]
call fcn.0040aaf8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57fd63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57fdaf
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404e2c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x14]
call fcn.00404e08
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040553c
lea eax, [ebp + 8]
call fcn.00404e08
ret