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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.00405b34
lea eax, [ebp - 8]
call fcn.00405b34
mov eax, dword [ebp + 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x56b739
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0049d910
xor eax, eax
push ebp
push 0x56b494
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56b49e
mov dword [0x58966c], 0
mov dword [0x589670], 0
xor edx, edx
push ebp
push 0x56b69c
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 eax, dword [0x589674]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x188], edx
cmp dword [ebp + 8], 0
jne 0x56b4fd
mov eax, dword [0x589674]
add eax, 0x110
mov edx, 0x56b754
call fcn.00404e5c
jmp 0x56b50f
mov eax, dword [0x589674]
add eax, 0x110
mov edx, dword [ebp + 8]
call fcn.00404e5c
mov eax, dword [0x589688]
mov edx, 0x56b794
call fcn.004058a0
jne 0x56b5d4
lea edx, [ebp - 0x10]
mov eax, dword [0x589678]
call fcn.00409f18
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.004058a0
je 0x56b5d4
lea edx, [ebp - 0x14]
mov eax, dword [0x58967c]
call fcn.00409f18
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.004058a0
je 0x56b5d4
mov eax, dword [0x589688]
mov edx, 0x56b794
call fcn.004058a0
jne 0x56b5d4
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]
add eax, 0x104
mov edx, dword [0x58968c]
call fcn.004050a0
mov eax, dword [0x589674]
add eax, 0xec
mov edx, dword [ebp - 4]
call fcn.004050a0
mov eax, dword [0x589674]
call fcn.004fc77c
mov eax, dword [0x589674]
mov eax, dword [eax + 0x12c]
cmp eax, 0xc8
je 0x56b609
cmp eax, 0xce
jne 0x56b651
cmp dword [0x589674], 0
je 0x56b61f
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x56b632
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0xc], 0
je 0x56b640
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
or ebx, 0xffffffff
jmp 0x56b692
cmp dword [0x589674], 0
je 0x56b667
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x56b67a
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0xc], 0
je 0x56b688
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
mov eax, dword [ebp - 8]
call fcn.0049d910
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56b709
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b740
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040553c
lea eax, [ebp + 8]
call fcn.00404e08
ret