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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x5f3e06
sub esp, 0xb0
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005e6da0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5f3cd8
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005eb1b0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5f3cbb
mov eax, dword [esp + 0xc]
lea ecx, [0x705a20]
cmp eax, ecx
jne 0x5f3ba0
mov edx, dword [esp + 0x10]
jmp 0x5f3ba5
mov edx, 0
mov dword [esp + 0x54], edx
jne 0x5f3c11
mov eax, dword [esp + 0xb4]
lea esi, [eax + 0x18]
mov dword [esp + 0x68], esi
lea edi, [esp + 0x7c]
call fcn.0046958e
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
lea edi, [esp]
lea esi, [esp + 0x7c]
call fcn.0046958e
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.0061dec0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
cmp dword [ecx + 0x10], eax
jne 0x5f3cf5
mov edx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x40]
xor ebp, ebp
xor esi, esi
jmp 0x5f3d55
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov byte [esp + 4], 0xa
call fcn.005e9f50
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
lea eax, [0x705a20]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x78], eax
lea eax, [0x751a0c]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005e9f50
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2c
lea ecx, [0x74c125]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb0
ret
movzx edi, byte [ebp + ebx]
movzx ecx, byte [ebp + edx]
xor edi, ecx
inc ebp
or esi, edi
mov ecx, dword [esp + 0x54]
cmp ebp, eax
jl 0x5f3d42
xchg esi, eax
movzx edx, al
xchg esi, eax
dec edx
shr edx, 0x1f
nop
cmp edx, 1
jne 0x5f3cf5
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
lea eax, [0x7b1a1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7b1010]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
call fcn.0060dcd0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5f3de9
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jg 0x5f3dad
mov ecx, eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x50]
cmp eax, edx
je 0x5f3dcc
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004697f0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb0
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb0
ret
call fcn.00467a60
jmp fcn.005f3b20