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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e2a05
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
jne 0x6e29c3
mov edx, dword [0xc69598]
test edx, edx
jne 0x6e29b3
mov dword [esp], eax
call fcn.006e2ef0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0xd8]
test ecx, ecx
je 0x6e2951
xor ecx, ecx
test cl, cl
je 0x6e293a
mov ecx, dword [0xc71494]
mov edx, dword [0xc71490]
mov ebx, dword [0xc71498]
cmp ecx, 1
jb 0x6e29f3
dec ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 8
add edx, ebx
dec ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], edx
movzx ebx, byte [eax + 0xa8]
test bl, bl
je 0x6e2909
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.006e1170
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x6e2686
test edx, edx
je 0x6e267d
movzx ebx, byte [edx + 0x9c]
test bl, bl
je 0x6e2568
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x60
ret
mov dword [esp + 0x64], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x50], ecx
lea edx, [0x983e48]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.006e3800
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.006e3950
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea ecx, [0x84a2b1]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1b
lea ecx, [esp + 0x48]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.006e38a0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
jmp 0x6e2558
mov edx, dword [esp + 0x64]
jmp 0x6e254d
mov dword [esp + 0x40], edx
mov byte [edx + 0xd4], 1
mov eax, dword [edx + 0xd0]
test eax, eax
je 0x6e28b3
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.006e1c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x6e28aa
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
cmp dword [0xc70d88], ecx
je 0x6e282f
mov edx, dword [esp + 0x40]
movzx ebx, byte [edx + 0x9c]
test bl, bl
je 0x6e2789
movzx ebx, byte [edx + 0x9d]
test bl, bl
je 0x6e2705
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x60
ret
mov ebx, dword [esp + 0x64]
movzx ebp, byte [ebx + 0x9d]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6e26f5
mov dword [esp], edx
call fcn.006e0100
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.006e3800
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
jmp 0x6e26f5
mov ebx, dword [esp + 0x64]
movzx ebp, byte [ebx + 0x9c]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6e26ea
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004084f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x7cfd20]
mov dword [esp + 0x50], ecx
lea edx, [0x983e50]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea edx, [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.006e3800
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
jmp 0x6e26ea
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xc70d8c]
mov dword [esp + 8], edx
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6e285b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x6e26d7
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.006e0030
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x60
ret
mov edx, dword [esp + 0x40]
jmp 0x6e26f5
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], esi
mov dword [esp], edx
call fcn.006e3c60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x40]
mov dword [edx + 0xd0], eax
mov eax, dword [0xc83da0]
test eax, eax
jne 0x6e28fa
mov dword [edx + 0xcc], ecx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
jmp 0x6e269f
lea edi, [edx + 0xcc]
mov eax, ecx
call fcn.00459d90
jmp 0x6e28e9
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.006e0c80
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x6e253d
mov ebp, dword [eax + 0xe0]
mov ecx, dword [eax + 0xdc]
mov edx, dword [eax + 0xd8]
jmp 0x6e24f6
mov edx, dword [0xc71490]
mov ecx, dword [0xc71494]
test ecx, ecx
jbe 0x6e29fd
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004f2840
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp ecx, 0xa
je 0x6e2993
mov eax, 1
mov ecx, eax
mov eax, dword [esp + 0x64]
jmp 0x6e24c5
mov dword [esp], eax
lea eax, [0x8416b1]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402420
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x6e2988
mov dword [esp], eax
mov ecx, dword [edx]
call ecx
mov eax, dword [esp + 0x64]
jmp 0x6e24a9
mov dword [esp], eax
call fcn.006e1ba0
mov eax, dword [esp + 4]
mov dword [esp], eax
call fcn.006e2470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
add esp, 0x60
ret
mov eax, 1
call fcn.00459e70
xor eax, eax
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.006e2470