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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
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 0x56b3b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0049d910
xor eax, eax
push ebp
push 0x56b0fb
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 0x56b105
mov dword [0x58966c], 0
mov dword [0x589670], 0
xor edx, edx
push ebp
push 0x56b31b
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 - 0x10]
mov dword [eax + 0x188], edx
cmp dword [ebp + 8], 0
jne 0x56b164
mov eax, dword [0x589674]
add eax, 0x110
mov edx, 0x56b3d4
call fcn.00404e5c
jmp 0x56b176
mov eax, dword [0x589674]
add eax, 0x110
mov edx, dword [ebp + 8]
call fcn.00404e5c
mov eax, dword [0x589688]
mov edx, 0x56b414
call fcn.004058a0
jne 0x56b23b
lea edx, [ebp - 0x14]
mov eax, dword [0x589678]
call fcn.00409f18
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.004058a0
je 0x56b23b
lea edx, [ebp - 0x18]
mov eax, dword [0x58967c]
call fcn.00409f18
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.004058a0
je 0x56b23b
mov eax, dword [0x589688]
mov edx, 0x56b414
call fcn.004058a0
jne 0x56b23b
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]
mov edx, dword [ebp - 4]
mov dword [eax + 0x2e4], edx
mov dword [eax + 0x2e0], 0x56b004
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 0x56b288
cmp eax, 0xce
jne 0x56b2d0
cmp dword [0x589674], 0
je 0x56b29e
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x56b2b1
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0x10], 0
je 0x56b2bf
mov eax, dword [ebp - 0x10]
call fcn.00403f7c
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
or ebx, 0xffffffff
jmp 0x56b311
cmp dword [0x589674], 0
je 0x56b2e6
mov eax, dword [0x589674]
xor edx, edx
mov dword [eax + 0x188], edx
cmp dword [0x589674], 0
je 0x56b2f9
mov eax, dword [0x589674]
call fcn.00403f7c
cmp dword [ebp - 0x10], 0
je 0x56b307
mov eax, dword [ebp - 0x10]
call fcn.00403f7c
mov eax, dword [ebp - 0xc]
call fcn.0049d910
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x56b388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56b3bf
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040553c
lea eax, [ebp + 8]
call fcn.00404e08
ret