Function at 0x6b9970
Capabilities:
Reference http user-agent string
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x6ba1a5
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
lea edx, [0x7b2178]
cmp ecx, edx
jne 0x6b9b2f
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x6b99df
cmp ecx, 7
jne 0x6b99f4
mov edx, dword [esp + 0xa0]
cmp dword [edx], 0x2d687373
jne 0x6b9aa5
cmp word [edx + 4], 0x7372
jne 0x6b9aa5
cmp byte [edx + 6], 0x61
jne 0x6b9aa5
mov ecx, 3
mov edx, 7
lea ebx, [0x73b0f5]
jmp 0x6b9c40
cmp ecx, 0xc
je 0x6b9a05
mov edx, dword [esp + 0xa0]
jmp 0x6b9aa5
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
lea ecx, [0x73cca2]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6b9a4e
mov eax, dword [esp + 0x88]
mov ecx, 5
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
jmp 0x6b9c40
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
lea ecx, [0x73ccae]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6b9a97
mov eax, dword [esp + 0x88]
mov ecx, 7
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
jmp 0x6b9c40
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x74a06a]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x7c]
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 + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x84
ret
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0xa4]
test ebx, ebx
jne 0x6b9b4f
mov eax, dword [ecx + 0x14]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
jmp 0x6b9b96
mov eax, dword [ecx + 0x14]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0xa4]
cmp dword [esp + 8], eax
jne 0x6ba0fb
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x6ba0f4
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 0xc]
test ebx, ebx
je 0x6ba07b
lea esi, [0x7b21b0]
cmp ebx, esi
jne 0x6b9bbc
mov ebx, 3
jmp 0x6b9c33
lea edi, [0x7b2194]
cmp ebx, edi
jne 0x6b9c1d
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x14]
cmp eax, 0x100
jg 0x6b9bf1
mov eax, 5
jmp 0x6b9c04
cmp eax, 0x180
jg 0x6b9bff
mov eax, 6
jmp 0x6b9c04
mov eax, 7
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x88]
lea esi, [0x7b21b0]
mov ebx, eax
mov eax, dword [esp + 0x78]
jmp 0x6b9c33
lea esi, [0x7b21cc]
cmp ebx, esi
jne 0x6ba079
lea esi, [0x7b21b0]
xor ebx, ebx
mov edx, ecx
mov ecx, ebx
mov ebx, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x58], edx
mov dword [esp + 0x78], ebx
test ecx, ecx
jne 0x6b9c66
mov ebp, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
jmp 0x6b9ce9
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.004e91e0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call edx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, edx
mov esi, ecx
mov edi, eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], esi
mov dword [esp], ecx
call fcn.00409c30
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esp + 4]
mov dword [esp], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
lea edx, [0x7b0ee4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
call ecx
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x6ba051
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
test ecx, ecx
je 0x6b9fbf
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], edx
lea esi, [0x7b2194]
cmp ecx, esi
je 0x6b9d9f
lea edi, [0x7b21b0]
cmp ecx, edi
jne 0x6b9fbf
lea eax, [0x70a020]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
lea ebp, [0x6e6300]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0059dc00
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x6b9f97
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 8]
test eax, eax
je 0x6b9f89
lea ecx, [0x7b2194]
cmp eax, ecx
jne 0x6b9e76
nop
lea eax, [0x6f4820]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x40
lea eax, [0x6e6300]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], eax
call fcn.006bc980
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
jmp 0x6b9fbf
lea ecx, [0x7b21b0]
cmp eax, ecx
jne 0x6b9f7b
lea eax, [0x6f4820]
mov dword [esp], eax
mov dword [esp + 4], 0x28
mov dword [esp + 8], 0x28
call fcn.0044e560
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x74], edx
mov dword [esp], ecx
call fcn.004ec460
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [ecx - 0x14]
neg edx
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x64], ebx
mov dword [esp], eax
call fcn.004ec460
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x54]
cmp edx, 0x14
ja 0x6ba198
mov ebx, dword [esp + 0x40]
lea ebp, [ebx + 0x14]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and edx, ebp
mov ebp, dword [esp + 0x74]
add edx, ebp
mov esi, dword [esp + 0x64]
cmp esi, edx
je 0x6b9f39
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], eax
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.004697f0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x74]
lea edx, [ecx - 0x28]
neg edx
cmp edx, 0x28
ja 0x6ba18c
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [edx + ebp]
cmp eax, ecx
je 0x6b9f6b
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.004697f0
mov ebp, dword [esp + 0x74]
mov ebp, 0x28
mov ebx, 0x28
mov edx, dword [esp + 0x74]
jmp 0x6b9fbf
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
jmp 0x6b9fbf
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
jmp 0x6b9fbf
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x84
ret
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], edx
lea eax, [0x709b40]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6b9ff4
mov ecx, dword [esp + 0x78]
jmp 0x6b9fff
call fcn.00468e60
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x6ba01f
mov ecx, dword [esp + 0x5c]
jmp 0x6ba02a
call fcn.00468e60
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x84
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x84
ret
test ebx, ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
je 0x6ba093
mov ebx, dword [ebx + 4]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
lea eax, [0x7448d6]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x7c]
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 + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x84
ret
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x74a06a]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x7c]
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 + 0xa8], 0
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
add esp, 0x84
ret
mov eax, edx
mov ecx, 0x28
call fcn.00468f30
mov eax, edx
mov ecx, 0x14
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.006b9970