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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x85f3c0
push ebx
push esi
push edi
mov eax, 0x850648
call fcn.00413534
xor eax, eax
push ebp
push 0x85f72e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004073a4
mov esi, eax
test esi, esi
jle 0x85f48d
mov ebx, 1
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00407404
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00426b18
mov edx, dword [ebp - 0x14]
mov ecx, 1
mov eax, 0x85f74c
call fcn.0040d064
test eax, eax
jg 0x85f44c
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407404
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00426b18
mov edx, dword [ebp - 0x1c]
mov ecx, 1
mov eax, 0x85f774
call fcn.0040d064
test eax, eax
jle 0x85f453
mov byte [0x88298c], 1
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00407404
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00426b18
mov edx, dword [ebp - 0x24]
mov ecx, 1
mov eax, 0x85f798
call fcn.0040d064
test eax, eax
jle 0x85f485
mov byte [0x88298d], 1
inc ebx
dec esi
jne 0x85f3f6
call fcn.004073a4
dec eax
jle 0x85f713
mov eax, 0x85f7b4
call fcn.006dce08
test al, al
je 0x85f713
cmp byte [0x88298c], 0
je 0x85f713
mov eax, dword [0x883470]
mov eax, dword [eax]
mov edx, 0x85f7cc
call fcn.005f5b28
call fcn.004073a4
test eax, eax
jle 0x85f595
call fcn.004073a4
mov esi, eax
test esi, esi
jle 0x85f595
mov ebx, 1
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00407404
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00426b18
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, 0x85f844
call fcn.0040d064
test eax, eax
jle 0x85f58d
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x3c]
mov eax, ebx
call fcn.00407404
lea eax, [ebp - 0x3c]
mov edx, 0x85f864
call fcn.0040cc2c
mov eax, dword [ebp - 0x3c]
mov ecx, 0x85f864
mov edx, 0x85f844
call fcn.006d9994
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.00426fa4
cmp dword [ebp - 0x34], 0
je 0x85f58d
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00407404
lea eax, [ebp - 0x44]
mov edx, 0x85f864
call fcn.0040cc2c
mov eax, dword [ebp - 0x44]
mov ecx, 0x85f864
mov edx, 0x85f844
call fcn.006d9994
mov edx, dword [ebp - 0x40]
mov eax, dword [0x88326c]
call fcn.0040bd44
inc ebx
dec esi
jne 0x85f4ea
cmp byte [0x88298d], 0
jne 0x85f5cb
push 0x85f870
push 0xffffffffffffffff
push 0
call fcn.00417cec
mov edi, eax
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0xb7
jne 0x85f5cb
push edi
call sub.KERNEL32.DLL_ReleaseMutex
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x85f713
call fcn.00849738
mov eax, 0x91c2c4
mov edx, 0x85f8b4
call fcn.0040bd44
mov eax, dword [0x8829e4]
mov eax, dword [eax]
mov edx, dword [0x91c2c4]
call fcn.00712428
mov eax, dword [0x8829e4]
mov eax, dword [eax]
mov edx, dword [0x91c2c4]
call fcn.007124a8
lea eax, [ebp - 0x48]
mov ecx, 0x85f8d8
mov edx, dword [0x91c2c4]
call fcn.0040cc84
mov edx, dword [ebp - 0x48]
mov eax, dword [0x8829e4]
mov eax, dword [eax]
call fcn.007124fc
lea eax, [ebp - 0x4c]
mov ecx, 0x85f8f8
mov edx, dword [0x91c2c4]
call fcn.0040cc84
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x8829e4]
mov eax, dword [eax]
call fcn.007122c0
lea eax, [ebp - 0x50]
mov ecx, 0x85f914
mov edx, dword [0x91c2c4]
call fcn.0040cc84
mov edx, dword [ebp - 0x50]
mov eax, dword [0x8829e4]
mov eax, dword [eax]
call fcn.00712380
mov eax, dword [0x8829e4]
mov eax, dword [eax]
add eax, 0xfc
mov edx, 0x85f940
call fcn.0040bd44
mov eax, dword [0x8829e4]
mov eax, dword [eax]
mov byte [eax + 0xe7], 0
mov eax, dword [0x8829e4]
mov eax, dword [eax]
mov byte [eax + 0x18], 1
mov eax, dword [0x8829e4]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x85f958
call fcn.00711c14
mov eax, dword [0x8829e4]
mov eax, dword [eax]
mov ecx, 0x85f994
mov edx, 0x85f9b4
call fcn.00711c14
mov eax, dword [0x8829e4]
mov eax, dword [eax]
add eax, 0x2c
mov edx, dword [0x882a24]
mov edx, dword [edx]
call fcn.0040bd44
mov eax, dword [0x8829e4]
mov eax, dword [eax]
call fcn.00712e18
test al, al
je 0x85f6f9
mov eax, dword [0x8829e4]
mov eax, dword [eax]
call fcn.00712fdc
call fcn.008497e0
call fcn.007115e4
cmp byte [0x88298d], 0
jne 0x85f713
push edi
call sub.KERNEL32.DLL_ReleaseMutex
push edi
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x85f735
lea eax, [ebp - 0x50]
mov edx, 0x10
call fcn.0040b9c4
ret