Function at 0x5b9720
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 0x5b9920
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
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, [eax + ecx + 7]
sar eax, 3
mov ecx, dword [esp + 0x60]
cmp ecx, eax
jne 0x5b9832
mov eax, dword [esp + 0x68]
test eax, eax
je 0x5b9782
mov edx, dword [eax]
jmp 0x5b9784
xor edx, edx
cmp edx, 0xffffffff
jl 0x5b981a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004f2d80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
call fcn.005ba6a0
mov eax, dword [esp + 0x34]
lea ecx, [eax + 6]
sar ecx, 0x1f
shr ecx, 0x1d
mov edx, dword [esp + 0x1c]
lea ecx, [eax + ecx + 6]
test edx, edx
jne 0x5b9802
sar ecx, 3
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x5b985c
mov eax, dword [0x9677a0]
mov ecx, dword [0x9677a4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x44
ret
mov eax, dword [0x967770]
mov ecx, dword [0x967774]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x44
ret
mov eax, dword [0x9677a0]
mov ecx, dword [0x9677a4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x44
ret
dec ebp
mov esi, ebp
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, 1
add edx, esi
dec ebx
cmp ebx, ecx
jle 0x5b988d
test ebx, ebx
je 0x5b9885
movzx esi, byte [edx]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5b984a
mov eax, dword [0x9677a0]
mov ecx, dword [0x9677a4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x68]
test ecx, ecx
jmp 0x5b9893
mov ecx, dword [esp + 0x68]
test ecx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
je 0x5b98a5
mov ecx, dword [ecx]
jmp 0x5b98a7
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004e91e0
mov eax, dword [esp + 0x34]
dec eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.005b8e10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x44
ret
call fcn.00467a60
jmp fcn.005b9720