Function at 0x682d50
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 0x68304c
sub esp, 0x18
lea eax, [0x6f8320]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00409f50
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x683043
mov eax, dword [esp + 0x24]
cmp dword [0x967508], eax
jne 0x682dc4
mov ecx, dword [0x96750c]
mov dword [esp], eax
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x68303a
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00689b10
movzx eax, byte [esp + 4]
test al, al
je 0x683031
mov eax, dword [esp + 0x24]
lea ecx, [0x7b1290]
cmp eax, ecx
jne 0x682e88
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x682e2e
lea edx, [0x7b1c14]
cmp ecx, edx
je 0x682e08
xor ecx, ecx
jmp 0x682e33
mov edx, dword [eax + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x994f00]
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x20]
jmp 0x682e33
mov ecx, 1
test cl, cl
je 0x682e3d
xor edx, edx
xor ecx, ecx
jmp 0x682e61
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x30]
test edx, edx
setne bl
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
jne 0x682e61
mov edx, 0xffffffff
mov ecx, 0xffffffff
test ecx, ecx
sete cl
test edx, edx
sete dl
and edx, ecx
test dl, dl
je 0x682e78
mov eax, 1
jmp 0x682e80
mov eax, dword [eax + 0x28]
test eax, eax
setne al
mov byte [esp + 0x2c], al
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x682ecb
lea ebx, [0x7b1c14]
cmp edx, ebx
je 0x682ea1
xor edx, edx
jmp 0x682ed0
mov eax, dword [ecx + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x994f00]
mov dword [esp + 8], eax
call fcn.00404290
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov eax, dword [esp + 0x24]
jmp 0x682ed0
mov edx, 1
test dl, dl
jne 0x682edf
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x682fce
mov edx, dword [ecx + 4]
test edx, edx
je 0x682eea
mov ebx, dword [ecx]
jmp 0x682ef5
mov edx, 3
lea ebx, [0x73a62e]
cmp edx, 4
jg 0x682f1d
cmp edx, 3
jne 0x682f0e
cmp word [ebx], 0x4547
jne 0x682f54
cmp byte [ebx + 2], 0x54
je 0x682f4d
jmp 0x682f54
cmp edx, 4
jne 0x682f54
cmp dword [ebx], 0x44414548
je 0x682f4d
jmp 0x682f54
cmp edx, 5
jne 0x682f32
cmp dword [ebx], 0x43415254
jne 0x682f54
cmp byte [ebx + 4], 0x45
je 0x682f4d
jmp 0x682f54
cmp edx, 7
jne 0x682f54
cmp dword [ebx], 0x4954504f
jne 0x682f54
cmp word [ebx + 4], 0x4e4f
jne 0x682f54
cmp byte [ebx + 6], 0x53
jne 0x682f54
mov ecx, 1
jmp 0x682fd0
mov eax, dword [ecx + 0x1c]
lea edx, [0x72ce00]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x73dfa2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xf
call fcn.00410d20
movzx eax, byte [esp + 0x14]
test al, al
je 0x682f8b
mov eax, 1
jmp 0x682fbb
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea ecx, [0x72ce00]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x73ecc9]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
call fcn.00410d20
movzx eax, byte [esp + 0x14]
test al, al
je 0x682fca
mov eax, dword [esp + 0x24]
mov ecx, 1
jmp 0x682fd0
mov eax, dword [esp + 0x24]
xor ecx, ecx
test cl, cl
je 0x683028
lea ecx, [0x7b12a4]
cmp eax, ecx
jne 0x682fe7
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
mov eax, dword [esp + 0x24]
cmp dword [0x967578], eax
jne 0x683016
mov ecx, dword [0x96757c]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
test al, al
jne 0x68301f
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 0
add esp, 0x18
ret
mov byte [esp + 0x2c], 1
add esp, 0x18
ret
call fcn.00467a60
jmp fcn.00682d50