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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfc75
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x655140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x1c4], 0
jne 0x4072e6
mov ecx, dword [esi + 0x198]
test ecx, ecx
je 0x4072e6
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x9c]
cmp dword [esi + 0x1c4], 0
jne 0x4072e6
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x407325
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x6318e4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00408c10
test al, al
jne 0x40712a
push 0
push 0x6318e4
lea ecx, [ebp - 0x18]
call fcn.00408fa0
mov ecx, dword [ebp - 0x34]
push 0
mov byte [ebp - 4], 2
mov edi, dword [esi + 0x1b8]
mov esi, dword [ebp - 0x18]
movups xmm0, xmmword [ebp - 0x30]
push 0x65ebf0
mov eax, dword [edi]
push 0x65ebcc
push 0
push esi
push dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x14], eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc8]
call eax
push eax
mov eax, dword [ebp - 0x34]
push dword [eax + 0x1d4]
mov eax, dword [ebp - 0x14]
push edi
call dword [eax]
push eax
call fcn.005cea82
mov edi, dword [ebp - 0x34]
add esp, 0x14
mov dword [edi + 0x1c4], eax
test eax, eax
je 0x4072ca
call fcn.00402de0
mov ecx, eax
test ecx, ecx
je 0x40732f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
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 - 0x14]
mov byte [ebp - 4], 3
push str.__user_agent_s
push eax
call fcn.00409210
mov eax, dword [edi + 0x1c4]
add esp, 0xc
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0
push edi
push str.special_command
push eax
call dword [ecx + 0x30]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0048ff30
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x407216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x407235
mov eax, dword [ebp - 0x34]
push 0x22
push str.__no_proxy_server
push str.special_command
mov eax, dword [eax + 0x1c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x1a4], 0
je 0x40729b
mov eax, dword [ecx + 0x30]
cmp byte [eax + 4], 0
jne 0x407251
mov eax, 0x64
jmp 0x407253
mov eax, dword [eax]
mov edx, 0xc8
cmp edx, eax
lea edx, [ebp - 0x20]
push 4
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x1c4]
push edx
push str.enable_high_dpi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x1c]
push 4
push edx
mov dword [ebp - 0x1c], 1
mov eax, dword [eax + 0x1c4]
push str.disable_gpu
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x1c4]
lea edx, [ecx + 0x168]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4072ca
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4072e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x407308
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3f1a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00402a80
push 0x80004005
call fcn.00402a80
int3