Function at 0x6a79a0
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 0x6a7c4f
sub esp, 0x3c
mov edx, dword [esp + 0x48]
test edx, edx
jbe 0x6a7c45
mov ebx, dword [esp + 0x44]
movzx ebp, byte [ebx]
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
jne 0x6a79d8
mov eax, 0xd
jmp 0x6a79dd
mov eax, 9
cmp edx, eax
jl 0x6a7bcb
xchg ebp, eax
cmp al, 0x5f
xchg ebp, eax
jne 0x6a7a13
lea ecx, [edx - 5]
cmp ecx, 3
jbe 0x6a7c3b
mov ecx, dword [esp + 0x4c]
lea ebp, [ecx - 5]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 5
mov ebp, dword [ebp + ebx]
bswap ebp
jmp 0x6a7a19
mov ecx, dword [esp + 0x4c]
xor ebp, ebp
sub ecx, eax
lea esi, [ecx + 4]
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
lea edi, [eax - 4]
and esi, edi
mov esi, dword [ebx + esi]
bswap esi
test esi, esi
je 0x6a7bb7
mov edi, dword [esp + 0x40]
cmp dword [edi + 0x1c], esi
jb 0x6a7b84
mov dword [esp + 0x24], ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
sub edx, eax
lea eax, [ebx + ecx]
cmp esi, edx
jne 0x6a7b51
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ebp
lea eax, [edi + 0x58]
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.00472830
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jb 0x6a7b12
sub ecx, edx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00472bb0
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x6a7ad7
test eax, eax
ja 0x6a7afe
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.006a5460
jmp 0x6a7afe
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
call fcn.006a5460
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x3c
ret
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00472bb0
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x746135]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x18
lea ecx, [0x742655]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x74dbc2]
mov dword [eax], ecx
lea ecx, [0x7b0bb8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x3c
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x3c
ret
xchg ebp, ebx
movzx eax, bl
xchg ebp, ebx
lea ecx, [0x945c20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x6f4820]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x748127]
mov dword [esp], eax
mov dword [esp + 4], 0x23
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
add esp, 0x3c
ret
mov eax, 3
call fcn.00468ed0
xor eax, eax
mov ecx, eax
call fcn.00468ed0
nop
call fcn.00467a60
jmp fcn.006a79a0