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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5eb530
sub esp, 0x4c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.005eb100
mov eax, dword [esp + 8]
test eax, eax
jne 0x5eb4da
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 0x1b4]
mov eax, dword [edx + 0x1bc]
cmp ecx, eax
jb 0x5eb52a
mov ebx, dword [edx + 0x1b8]
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ecx, 1
jbe 0x5eb520
cmp ecx, 2
jbe 0x5eb514
mov ebp, dword [edx + 0x1b0]
movzx esi, word [ebp + ebx + 1]
cmp ecx, 3
jbe 0x5eb508
rol si, 8
movzx eax, si
shl eax, 8
movzx ecx, byte [ebp + ebx + 3]
or eax, ecx
cmp eax, 0x10000
jle 0x5eb3e5
mov dword [esp + 0x28], eax
mov dword [esp], edx
mov byte [esp + 4], 0x50
call fcn.005e9c50
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
lea ecx, [0x6f4660]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x7aead0]
mov dword [esp + 0x48], eax
lea eax, [0x751516]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x709900]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409f50
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5eb345
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov dword [ecx + 0xd4], eax
mov eax, dword [0x995310]
test eax, eax
jne 0x5eb329
mov eax, dword [esp + 0x30]
jmp 0x5eb33d
call fcn.00468e70
mov eax, dword [esp + 0x30]
mov dword [edi], eax
mov edx, dword [ecx + 0xd8]
mov dword [edi + 4], edx
mov dword [ecx + 0xd8], eax
jmp 0x5eb3bd
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
lea edx, [0x701fc0]
mov dword [esp], edx
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5eb37d
mov ecx, dword [esp + 0x34]
jmp 0x5eb388
call fcn.00468e60
mov ecx, dword [esp + 0x34]
mov dword [edi], ecx
mov dword [eax + 4], ecx
lea ecx, [0x7b1074]
mov edx, dword [esp + 0x50]
mov dword [edx + 0xd4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x5eb3b5
call fcn.00468e70
mov dword [edi], eax
mov ecx, dword [edx + 0xd8]
mov dword [edi + 4], ecx
mov dword [edx + 0xd8], eax
mov ecx, edx
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x4c
ret
mov dword [esp], edx
add eax, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 4], eax
call fcn.005eb100
mov eax, dword [esp + 8]
test eax, eax
jne 0x5eb4b6
nop
mov ebx, dword [esp + 0x50]
mov byte [ebx + 0x1c0], 0
mov ebp, dword [ebx + 0x1b4]
mov eax, dword [ebx + 0x1bc]
sub ebp, eax
nop
mov esi, dword [esp + 0x2c]
cmp ebp, esi
jl 0x5eb429
mov ebp, esi
lea ecx, [ebp + eax]
mov edx, dword [ebx + 0x1b8]
cmp edx, ecx
jb 0x5eb503
cmp eax, ecx
ja 0x5eb4fe
sub edx, eax
mov esi, edx
neg edx
sar edx, 0x1f
and edx, eax
mov eax, dword [ebx + 0x1b0]
mov dword [ebx + 0x1bc], ecx
add eax, edx
test ebp, ebp
jle 0x5eb467
mov byte [ebx + 0x1c0], 0xff
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
call fcn.005eb540
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5eb496
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebx
add esp, 0x4c
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x4c
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
add esp, 0x4c
ret
call fcn.00468f30
call fcn.00468f10
mov eax, 3
mov ecx, eax
call fcn.00468ed0
mov eax, 2
mov ecx, eax
call fcn.00468ed0
mov eax, 1
call fcn.00468ed0
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.005eb1b0