Function at 0x5c2030
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 0x5c2699
sub esp, 0x40
nop
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
xor edx, edx
jmp 0x5c2055
inc edx
cmp eax, edx
jle 0x5c20a2
movzx ebx, byte [ecx + edx]
cmp bl, 0x20
jb 0x5c2067
cmp bl, 0x7f
jne 0x5c2054
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
lea ecx, [0x74b295]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x40
ret
test eax, eax
jne 0x5c20ea
movzx edx, byte [esp + 0x4c]
test dl, dl
je 0x5c20ea
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x73bc89]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x40
ret
lea eax, [0x727c80]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x48]
cmp ecx, 1
jne 0x5c213a
mov edx, dword [esp + 0x44]
cmp byte [edx], 0x2a
jne 0x5c213e
mov dword [eax + 0x20], 1
lea ecx, [0x7ae9e8]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
add esp, 0x40
ret
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005c1c80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x2c]
mov dword [esi + 4], eax
mov edi, dword [0x995310]
test edi, edi
je 0x5c2193
mov dword [esp + 0x34], ebp
call fcn.00468e70
mov dword [edi], ecx
mov ebp, dword [esi]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x34]
mov dword [esi], ecx
test edx, edx
jne 0x5c2665
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004cfb30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
mov dword [edx + 4], eax
mov eax, dword [0x995310]
test eax, eax
je 0x5c21ce
call fcn.00468e70
mov dword [edi], ecx
mov ebx, dword [edx]
mov dword [edi + 4], ebx
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x5c2252
lea eax, [ecx - 1]
cmp ecx, eax
jb 0x5c2693
mov eax, dword [esp + 0x30]
lea edx, [ecx + eax - 1]
mov dword [esp], edx
lea edx, [0x7ae8ec]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5c221a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
xor eax, eax
jmp 0x5c2254
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
lea edx, [0x7ae8ec]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004ce810
cmp dword [esp + 0x10], 1
sete al
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
jmp 0x5c2254
xor eax, eax
test al, al
je 0x5c226f
mov byte [edx + 0x2d], 1
lea ebx, [ecx - 1]
cmp ecx, ebx
jb 0x5c268a
mov ebp, edx
mov edx, dword [esp + 0x30]
jmp 0x5c22c2
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7ae8ec]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d10d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov dword [ebp + 0x34], eax
mov eax, dword [0x995310]
test eax, eax
je 0x5c22bf
call fcn.00468e70
mov dword [edi], ecx
mov esi, dword [ebp + 0x30]
mov dword [edi + 4], esi
mov dword [ebp + 0x30], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
test ebx, ebx
jg 0x5c22d2
xor eax, eax
jmp 0x5c22fd
mov dword [esp], edx
lea eax, [0x73a4b5]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004034e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
test al, al
jne 0x5c23aa
mov eax, dword [ebp + 4]
test eax, eax
je 0x5c2341
mov dword [ebp + 0xc], ebx
mov eax, dword [0x995310]
test eax, eax
je 0x5c2326
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [ebp + 8], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
add esp, 0x40
ret
movzx eax, byte [esp + 0x4c]
test al, al
jne 0x5c262a
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x73a4b5]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d10d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7ae8dc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d0c90
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x5c25ef
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov esi, dword [ebp + 4]
test esi, esi
je 0x5c23b8
mov eax, 1
jmp 0x5c23fe
movzx esi, byte [esp + 0x4c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5c23c7
xor eax, eax
jmp 0x5c23fe
cmp ebx, 3
jge 0x5c23d0
xor eax, eax
jmp 0x5c23fb
mov dword [esp], edx
lea eax, [0x73a76c]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.004034e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
xor eax, 1
test al, al
je 0x5c2438
cmp ebx, 2
jge 0x5c240b
xor eax, eax
jmp 0x5c243a
mov dword [esp], edx
lea eax, [0x73a57e]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004034e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
jmp 0x5c243a
xor eax, eax
test al, al
je 0x5c255d
cmp ebx, 2
jb 0x5c267e
lea eax, [ebx - 2]
mov dword [esp + 0x28], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x73a4b5]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004d0c90
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x5c24ae
mov edx, dword [esp + 0x28]
cmp ecx, edx
ja 0x5c2679
mov edx, dword [esp + 0x24]
sub edx, ecx
add edx, 0xfffffffe
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebp, dword [esp + 0x38]
add edx, ebp
jmp 0x5c24ba
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.005c26b0
mov eax, dword [0x995310]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x5c2511
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], esi
call fcn.00468e70
mov dword [edi], ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x10]
mov dword [edi + 4], esi
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ebx
mov ecx, dword [0x995310]
test ecx, ecx
je 0x5c2536
mov ecx, edi
call fcn.00468e70
mov dword [edi], edx
mov ebx, dword [eax + 0x14]
mov dword [edi + 4], ebx
mov edi, ecx
mov dword [eax + 0x14], edx
test ebp, ebp
jne 0x5c2549
mov ebp, eax
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
jmp 0x5c259f
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edi
add esp, 0x40
ret
mov eax, dword [ebp + 4]
test eax, eax
je 0x5c259f
test ebx, ebx
jg 0x5c256c
xor eax, eax
jmp 0x5c2597
mov dword [esp], edx
lea eax, [0x73a4b5]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.004034e0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
test al, al
je 0x5c259f
mov byte [ebp + 0x2c], 1
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.005c3160
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c25d3
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
add esp, 0x40
ret
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
add esp, 0x40
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0x74cf77]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x40
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x17
lea ecx, [0x7420ec]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
lea ecx, [0x7b0bb8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
add esp, 0x40
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
add esp, 0x40
ret
call fcn.00468ef0
mov eax, 2
mov ecx, ebx
call fcn.00468f30
mov edx, ecx
mov ecx, ebx
call fcn.00468ef0
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.005c2030