Function at 0x5aa3a0
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 0x5aa5d5
sub esp, 0x40
mov eax, dword [esp + 0x48]
lea edx, [eax + 4]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
cmp eax, 1
jne 0x5aa429
movzx edx, byte [ecx]
test dl, dl
jne 0x5aa429
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x27
lea ecx, [0x74a265]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x40
ret
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], eax
lea ecx, [0x70b520]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [esp + 0x30]
lea ecx, [eax + 7]
sar ecx, 0x1f
shr ecx, 0x1d
lea eax, [ecx + eax + 7]
sar eax, 3
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x5aa5cf
cmp ecx, 1
jb 0x5aa5c3
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
lea ebx, [edx - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 1
mov esi, dword [esp + 0x3c]
add ebx, esi
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
call fcn.004f6480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x5aa4fd
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
lea eax, [0x70b520]
mov dword [esp], eax
call fcn.0040c500
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
cmp ecx, eax
jb 0x5aa5be
mov edx, dword [esp + 4]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub ebx, ebp
sub ecx, ebp
dec ebx
dec ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov eax, dword [esp + 0x3c]
add eax, ebx
mov ebx, dword [edx + 8]
mov esi, dword [edx + 0xc]
mov edi, dword [edx + 4]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
call fcn.004f6480
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [0x995310]
test eax, eax
je 0x5aa598
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], edx
mov byte [ebx], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x40
ret
call fcn.00468f30
mov eax, 1
xor ecx, ecx
call fcn.00468f30
call fcn.00468f10
nop
call fcn.00467a60
jmp fcn.005aa3a0