Function at 0x5b79b0
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 0x5b7c30
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.004ea640
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x5b7a17
mov edx, dword [eax + 4]
cmp edx, 2
jge 0x5b79fb
mov edx, dword [0x967780]
mov ebx, dword [0x967784]
jmp 0x5b7a23
cmp edx, 0x7fffffff
jle 0x5b7a11
mov edx, dword [0x967788]
mov ebx, dword [0x96778c]
jmp 0x5b7a23
xor edx, edx
xor ebx, ebx
jmp 0x5b7a23
mov edx, dword [0x967778]
mov ebx, dword [0x96777c]
test edx, edx
jne 0x5b7be7
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
nop
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004f2d80
mov eax, dword [esp + 0xc]
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
lea ecx, [eax - 0xb]
mov edx, dword [esp + 0x44]
cmp edx, ecx
jg 0x5b7bb7
mov dword [esp + 0x24], eax
lea ecx, [0x6f4820]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044e560
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jbe 0x5b7c25
mov ebx, dword [esp + 0xc]
mov byte [ebx + 1], 2
mov ebp, dword [esp + 0x44]
mov eax, ecx
sub eax, ebp
lea esi, [eax - 1]
cmp ecx, esi
jb 0x5b7c1c
cmp esi, 2
jb 0x5b7c10
lea edx, [ecx - 2]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, ebx
cmp ecx, eax
jb 0x5b7c0b
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov dword [esp], edx
lea ecx, [eax - 3]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
call fcn.005b81a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, eax
sub eax, ecx
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
add eax, esi
test ebp, ebp
jne 0x5b7b8b
mov byte [ecx + esi - 1], 0
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
jl 0x5b7b27
mov ecx, ebx
mov ebx, dword [esp + 0x40]
cmp ebx, eax
je 0x5b7b47
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004697f0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
call fcn.005ba6a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
add esp, 0x30
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
add esp, 0x30
ret
mov eax, dword [0x967790]
mov ecx, dword [0x967794]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
add esp, 0x30
ret
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
add esp, 0x30
ret
call fcn.00468f30
mov eax, 2
mov ecx, esi
call fcn.00468f30
mov edx, ecx
mov ecx, esi
call fcn.00468f10
mov eax, 1
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.005b79b0