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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6fdc5a60
sub esp, 0x40
lea eax, [0x6fe51840]
mov dword [esp], eax
mov dword [esp + 4], 0x30
mov dword [esp + 8], 0x30
call fcn.6fc4adf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
movzx edx, word [ecx + 0xc]
shr dx, 8
mov byte [eax], dl
movzx ecx, word [ecx + 0xc]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
test edx, edx
jne 0x6fdc57d9
mov edx, dword [0x700806d0]
mov ebx, dword [0x700806d4]
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
lea ecx, [eax + 2]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x2e
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0x14], 0x2e
call fcn.6fc74a60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x6fdc5a16
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x54]
lea edx, [0x6fe59fe0]
cmp dword [eax + 0x50], edx
jne 0x6fdc59c3
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
jne 0x6fdc584b
mov edx, dword [0x700806d0]
mov eax, dword [0x700806d4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 0x30
call fcn.6fd4c4b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
test ecx, ecx
jne 0x6fdc5997
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebp
lea eax, [0x6fe5cde0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x6fe51840]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + 2]
mov dword [esp + 0x30], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.6fc4adf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov ebx, dword [0x700a7770]
test ebx, ebx
jne 0x6fdc58ef
mov dword [edx + 0xc], eax
jmp 0x6fdc58f7
lea edi, [edx + 0xc]
call fcn.6fc61f00
mov ebx, dword [edx + 0xc]
test ecx, ecx
jbe 0x6fdc5a56
mov ebp, dword [esp + 0x2c]
mov esi, ebp
sar ebp, 8
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
cmp ecx, 1
jbe 0x6fdc5a4c
xchg esi, eax
mov byte [ebx + 1], al
xchg esi, eax
mov ecx, dword [edx + 0x10]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x14]
cmp ecx, 2
jb 0x6fdc5a42
lea eax, [ebp - 2]
neg eax
sar eax, 0x1f
and eax, 2
add eax, ebx
add ecx, 0xfffffffe
cmp esi, ecx
jl 0x6fdc594b
mov esi, ecx
mov ecx, dword [esp + 0x34]
cmp ecx, eax
je 0x6fdc5967
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.6fc62890
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x30
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
add esp, 0x40
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ebx
add esp, 0x40
ret
lea eax, [0x6fe587c0]
mov dword [esp], eax
call fcn.6fc0ba30
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x4c
lea ecx, [0x6fe8e3c8]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x6fededfc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
add esp, 0x40
ret
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
add esp, 0x40
ret
mov eax, 2
call fcn.6fc61fe0
mov eax, 1
call fcn.6fc61f80
xor eax, eax
mov ecx, eax
call fcn.6fc61f80
nop
call fcn.6fc60ad0
jmp fcn.6fdc5770