Function at 0x405b60
Capabilities:
Check if file exists
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf840
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6619c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
or edi, 0xffffffff
cmp dword [ebx + 0x1b8], 0
jne 0x405e02
mov ecx, dword [ebx + 0x198]
test ecx, ecx
je 0x405e02
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
call dword [eax + 0xa0]
cmp dword [ebx + 0x1b8], 0
jne 0x405e02
push 0x62f864
lea ecx, [ebp - 0x30]
call fcn.00406970
mov byte [ebp - 4], 1
mov ecx, ebx
cmp byte [ebx + 0x1e0], 0
mov edi, dword [ebx + 0x1ac]
movups xmm0, xmmword [ebp - 0x20]
mov esi, dword [edi]
je 0x405c16
push dword [ebp - 0x30]
push dword [ebp + 8]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ebx]
call dword [eax + 0xd0]
push eax
push dword [ebx + 0x1c8]
push edi
call dword [esi + 8]
jmp 0x405c4e
push 0
push 0x664078
push 0x663fd8
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ebx]
call dword [eax + 0xd0]
push eax
push dword [ebx + 0x1c8]
push edi
call dword [esi + 8]
push eax
call fcn.005a5886
add esp, 0x14
mov dword [ebx + 0x1b8], eax
test eax, eax
je 0x405de1
lea ecx, [ebp - 0x28]
call fcn.00406a60
push str._Mozilla_5.0__Windows_NT_6.2__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_49.0.2623.110_Safari_537.36_XunduPDF_49.0.2623.110_
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push str.__user_agent_s
push eax
call fcn.00408880
add esp, 8
lea ecx, [ebp - 0x2c]
mov edx, str.full.data
call fcn.0047cf60
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x2c]
test eax, eax
sete byte [ebp - 0x21]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x21], 0
je 0x405d44
push 0x630eac
lea ecx, [ebp - 0x28]
call fcn.004068d0
mov ecx, dword [0x67c4a8]
call fcn.0047cd10
test al, al
je 0x405d0f
mov ecx, dword [0x67c4a8]
lea eax, [ebp - 0x2c]
push eax
call fcn.0047ce30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push dword [eax - 0xc]
push eax
call fcn.00408240
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00406660
jmp 0x405d44
mov esi, dword [0x67c4a8]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x28]
cmp esi, 1
jne 0x405d37
push 0x630eb0
jmp 0x405d3c
push str.__no_proxy_server
call fcn.004068d0
or edi, 0xffffffff
mov eax, dword [ebx + 0x1b8]
mov esi, dword [ebp - 0x28]
push 0
push esi
mov ecx, dword [eax]
push str.special_command
push eax
call dword [ecx + 0x30]
cmp dword [ebx + 0x1a4], 0
je 0x405dab
mov eax, dword [ebx + 0x30]
lea edx, [ebp - 0x2c]
mov ecx, 0x64
push 4
push edx
cmp ecx, dword [eax + 4]
push str.enable_high_dpi
sbb eax, eax
neg eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x1b8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebx + 0x1b8]
lea edx, [ebp - 0x34]
push 4
push edx
mov dword [ebp - 0x34], 1
mov ecx, dword [eax]
push str.disable_gpu
push eax
call dword [ecx + 0x30]
mov ecx, dword [ebx + 0x1b8]
lea eax, [ebx + 0x168]
neg ebx
sbb ebx, ebx
mov edx, dword [ecx]
and ebx, eax
push ebx
push ecx
call dword [edx + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x405de4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405de4
or edi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x405e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x405e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058995a
mov esp, ebp
pop ebp
ret 4