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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x54]
cmp eax, dword [ecx + 8]
jbe 0x4dfbc6
sub esp, 0xd4
lea eax, [0x6f44e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0xe0]
mov dword [esp + 8], ecx
call fcn.0044e560
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
lea edi, [esp + 0x64]
xor eax, eax
call fcn.004690f9
mov ecx, dword [esp + 0xe0]
cmp ecx, 8
jg 0x4df78c
lea edi, [esp + 0x80]
call fcn.004690eb
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0xe0]
lea eax, [0x6f7180]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x64]
mov dword [esp + 8], edx
call fcn.0040cfe0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0x60]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4df7dc
mov edx, dword [esp + 0x2c]
dec edx
mov esi, ecx
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x48]
mov eax, ebx
mov ebx, ebp
mov ebp, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x3c], esi
test ecx, ecx
jle 0x4dfae8
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0xdc]
lea esi, [eax + ecx*8 - 8]
mov edi, dword [esi + 4]
mov dword [esp + 0x30], edi
mov esi, dword [esi]
mov dword [esp + 0x50], esi
movzx eax, byte [esp + 0xd9]
test al, al
je 0x4df82c
mov byte [esp + 0x40], al
xor eax, eax
mov byte [esp + 0x23], al
jmp 0x4df861
mov dword [esp], esi
mov dword [esp + 4], edi
mov byte [esp + 8], 0
call fcn.00403550
cmp dword [esp + 0xc], 0xffffffff
setne al
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov byte [esp + 0x23], al
movzx eax, byte [esp + 0x23]
test al, al
je 0x4df8a3
nop
lea eax, [0x701240]
mov dword [esp], eax
call fcn.0040c500
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x27
lea eax, [0x749f80]
mov dword [edi], eax
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
lea ecx, [0x7b0bb8]
jmp 0x4df7c3
mov dword [esp], esi
mov dword [esp + 4], edi
lea eax, [0x7ae8f4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d0c90
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4df90c
mov edx, dword [esp + 0x30]
cmp edx, 1
jb 0x4dfbb9
lea eax, [edx - 1]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x50]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7ae8f4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004d0c90
mov eax, dword [esp + 0x10]
inc eax
test eax, eax
jge 0x4df9b0
mov edx, dword [esp + 0x30]
test edx, edx
je 0x4df997
mov ebx, dword [esp + 0x24]
inc ebx
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x4df92f
mov eax, dword [esp + 0x4c]
jmp 0x4df969
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6f44e0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, eax
mov eax, edx
mov edx, dword [esp + 0x30]
lea esi, [eax + ebx*8 - 4]
mov dword [esi], edx
mov edx, dword [0x995310]
lea esi, [eax + ebx*8 - 8]
test edx, edx
jne 0x4df983
mov edx, dword [esp + 0x50]
jmp 0x4df993
call fcn.00468e70
mov edx, dword [esp + 0x50]
mov dword [edi], edx
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], edx
jmp 0x4df9a3
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
jmp 0x4df7c3
mov edx, dword [esp + 0x30]
cmp eax, edx
ja 0x4dfbb2
movzx ecx, byte [esp + 0xd8]
test cl, cl
jne 0x4df9ce
mov esi, dword [esp + 0x50]
jmp 0x4df9e6
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004cfb30
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], esi
lea ecx, [0x6f7180]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
call fcn.004109f0
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
test al, al
je 0x4dfa30
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
jmp 0x4df7c3
lea eax, [0x6f7180]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.00411080
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jb 0x4dfa72
mov edx, dword [esp + 0x4c]
mov ebx, ecx
jmp 0x4dfaa4
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6f44e0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [edx + eax*8 - 4]
mov esi, dword [esp + 0x30]
mov dword [ebp], esi
mov ebp, dword [0x995310]
lea esi, [edx + eax*8 - 8]
test ebp, ebp
jne 0x4dfac3
mov ebp, dword [esp + 0x50]
jmp 0x4dfad3
call fcn.00468e70
mov ebp, dword [esp + 0x50]
mov dword [edi], ebp
mov ecx, dword [esi]
mov dword [edi + 4], ecx
mov dword [esi], ebp
mov ebp, ebx
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
mov ebx, eax
mov eax, edx
jmp 0x4df7c3
xor eax, eax
jmp 0x4dfb07
mov dword [ecx], edx
mov eax, dword [esp + 0x38]
inc eax
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
mov ecx, ebp
shr ebp, 1
cmp eax, ebp
jge 0x4dfb81
mov ebp, ecx
sub ebp, eax
lea edi, [ebp - 1]
lea esi, [edx + eax*8]
mov ebx, dword [esi]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esi + 4]
cmp ecx, edi
jbe 0x4dfbab
mov dword [esp + 0x38], eax
lea edi, [edx + eax*8 + 4]
lea ecx, [edx + ebp*8 - 8]
mov eax, dword [ecx + 4]
lea ebp, [edx + ebp*8 - 4]
mov edx, dword [ecx]
mov dword [edi], eax
mov edi, dword [0x995310]
test edi, edi
je 0x4dfb57
call fcn.00468e70
mov dword [edi], edx
mov eax, dword [esi]
mov dword [edi + 4], eax
mov dword [esi], edx
mov dword [ebp], ebx
mov edx, dword [0x995310]
test edx, edx
jne 0x4dfb6c
mov edx, dword [esp + 0x5c]
jmp 0x4dfaec
call fcn.00468e70
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ebx, dword [ecx]
mov dword [edi + 4], ebx
jmp 0x4dfaec
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], edi
add esp, 0xd4
ret
mov eax, edi
call fcn.00468ed0
mov ecx, eax
call fcn.00468ef0
mov eax, 1
xor ecx, ecx
call fcn.00468f30
nop
call fcn.00467a60
jmp fcn.004df710