Function at 0x509290
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 0x50974c
sub esp, 0x48
mov edx, dword [esp + 0x4c]
movzx ebx, byte [edx + 0xff]
cmp bl, 0xfe
ja 0x5093a3
test bl, bl
je 0x509373
lea ebp, [ebx - 1]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
add ebp, edx
cmp byte [ebp], 0x2e
jne 0x509373
cmp byte [edx], 0x2e
jne 0x509351
cmp bl, 1
jne 0x509351
mov eax, dword [esp + 0x54]
inc eax
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jb 0x5092fa
mov ecx, eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
jmp 0x50932c
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [ecx + eax - 1], 0
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x48
ret
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov ecx, ebx
jmp 0x5093de
mov eax, dword [0x967338]
mov ecx, dword [0x96733c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x48
ret
mov eax, dword [0x967300]
mov ecx, dword [0x967304]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x48
ret
inc edi
mov edx, eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x5c]
movzx eax, byte [edx + 0xff]
mov edi, dword [esp + 0x2c]
cmp edi, eax
jge 0x509662
cmp edi, 0xff
jae 0x50973f
lea eax, [edx + edi]
cmp byte [eax], 0x2e
jne 0x50947c
mov eax, edx
mov edx, dword [esp + 0x30]
sub edi, edx
cmp edi, 0x40
jge 0x5095ab
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x2c]
cmp edx, edi
je 0x50957f
inc esi
cmp ebp, esi
jae 0x509469
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
xchg edi, eax
mov byte [esi + ebx - 1], al
xchg edi, eax
mov edi, dword [esp + 0x2c]
jmp 0x5096c5
test edi, edi
je 0x50948d
lea eax, [edi + edx - 1]
cmp byte [eax], 0x2e
jne 0x509574
mov eax, edx
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x5093d3
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ebx
lea ecx, [0x6f7400]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ebx, [edi - 0xff]
neg ebx
mov dword [esp + 0x3c], ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, edi
add ebx, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00410d20
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5095d7
mov edx, dword [esp + 0x34]
cmp edx, 0x3fff
jle 0x5094ff
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x34]
jmp 0x509553
mov dword [esp], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.004523c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6f7400]
mov dword [esp], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00411080
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
mov ebx, ecx
sub ecx, edx
mov dword [eax], ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
jmp 0x5093d3
mov eax, edx
mov edx, dword [esp + 0x5c]
jmp 0x5093d3
mov eax, dword [0x967308]
mov edx, dword [0x96730c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
add esp, 0x48
ret
mov eax, dword [0x9672f8]
mov edx, dword [0x9672fc]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add ecx, 2
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jb 0x5095f2
mov ebx, dword [esp + 0x44]
jmp 0x50962e
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, ebp
mov ebp, eax
sar eax, 8
or eax, 0xc0
mov byte [ecx + ebx - 2], al
xchg ebp, eax
mov byte [ecx + ebx - 1], al
xchg ebp, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x48
ret
lea eax, [esi + 1]
cmp ebp, eax
jae 0x509697
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov byte [eax + ebx - 1], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x48
ret
mov byte [esi + ebx - 1], cl
inc edx
mov ecx, dword [esp + 0x50]
cmp edx, edi
jge 0x509723
cmp edx, 0xff
jae 0x509733
inc esi
movzx ecx, byte [eax + edx]
cmp ebp, esi
jae 0x5096bc
mov dword [esp + 0x28], edx
mov byte [esp + 0x23], cl
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6f4820]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x5096bc
lea edx, [edi + 1]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x5c]
jmp 0x5093d3
mov eax, edx
mov ecx, 0xff
call fcn.00468ed0
mov eax, edi
mov ecx, 0xff
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.00509290