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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x5e2aa2
sub esp, 0xfc
mov eax, 0
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov byte [esp + 0x5b], 0
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004690f8
mov ecx, dword [esp + 0x100]
test byte [ecx], al
lea edx, [ecx + 0x62]
mov dword [esp + 0xa4], edx
mov dword [esp], edx
lea ebx, [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x20
call fcn.004034e0
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x5e2751
mov eax, dword [0x967c04]
cmp eax, 0x20
jg 0x5e2734
mov ecx, dword [0x967c00]
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5e2734
mov eax, dword [esp + 0x100]
mov ecx, 1
jmp 0x5e2746
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
setne cl
test cl, cl
je 0x5e2758
add esp, 0xfc
ret
mov eax, dword [esp + 0x100]
lea ecx, [eax + 0xb4]
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
call fcn.00473d90
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x5e2af0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb4], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x5b], 1
mov dword [esp], eax
call fcn.00473e70
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x5e2ab0]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0xf4], eax
mov byte [esp + 0x5b], 3
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.004690f8
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x20
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5e295a
mov eax, dword [0x967c04]
cmp eax, 0x20
jle 0x5e2843
xor eax, eax
jmp 0x5e2865
mov ecx, dword [0x967c00]
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5e29e4
mov eax, dword [esp + 0x100]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
jne 0x5e29e4
lea edi, [esp + 0x5c]
mov esi, dword [esp + 0xa4]
call fcn.004695c0
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x5c]
call fcn.004695c0
call fcn.005e2150
lea edi, [esp + 0xc0]
lea esi, [esp + 0x24]
call fcn.0046958e
lea eax, [0x6f2a20]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [0x995310]
mov edi, dword [esp + 4]
mov dword [esp + 0x9c], edi
test eax, eax
je 0x5e28fe
lea eax, [0x712ce0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call fcn.00411b70
mov edi, dword [esp + 0x9c]
lea esi, [esp + 0xc0]
call fcn.0046958e
mov eax, dword [esp + 0x100]
mov dword [eax + 0xd0], 1
mov dword [eax + 0xd4], 1
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x5e2938
mov ecx, dword [esp + 0x9c]
jmp 0x5e294f
call fcn.00468e70
mov ecx, dword [esp + 0x9c]
mov dword [edi], ecx
mov ebx, dword [eax + 0xcc]
mov dword [edi + 4], ebx
mov dword [eax + 0xcc], ecx
jmp 0x5e29e4
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
test ecx, ecx
je 0x5e296c
mov eax, dword [eax + 4]
jmp 0x5e2978
mov ecx, dword [0x96eaa8]
mov eax, dword [0x96eaac]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x14], 0x20
call fcn.004977b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test eax, eax
jne 0x5e2a0b
mov eax, dword [0x967c04]
cmp eax, 0x20
jl 0x5e29c3
mov eax, 0x20
mov ecx, dword [0x967c00]
mov ebx, dword [esp + 0xa4]
cmp ecx, ebx
je 0x5e29e4
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004697f0
mov byte [esp + 0x5b], 1
mov edx, dword [esp + 0xf4]
mov eax, dword [edx]
call eax
mov byte [esp + 0x5b], 0
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
call eax
add esp, 0xfc
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
test eax, eax
je 0x5e2a2c
mov eax, dword [eax + 4]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
lea eax, [0x74ec26]
mov dword [esp], eax
mov dword [esp + 4], 0x35
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c4b20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00438090
add esp, 0xfc
ret
call fcn.00467a60
jmp fcn.005e2680