Function at 0x6cdf3000
Capabilities:
Check if file exists
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ce19f82
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x6ce5c008]
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, dword [ebp + 8]
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
mov dword [ebp - 0x888], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x8026
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x6cdf307f
push 0x400
lea eax, [ebp - 0x810]
push eax
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 0
push eax
lea ecx, [ebp - 0x814]
call fcn.6cdbef90
mov dword [ebp - 4], 0
push dword [ebp - 0x814]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
jne 0x6cdf3232
lea ecx, [ebp - 0x814]
call fcn.6cdbfa40
xor eax, eax
mov dword [ebp - 0x81c], 7
mov dword [ebp - 0x820], 0
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 1
push eax
push 0
push str.softwaremicrosoftwindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call sym.QQLiveBase.dll_int___cdecl_base::GetRegValue_struct_HKEY_____wchar_t_const___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 0x10
cmp dword [ebp - 0x81c], 8
jb 0x6cdf3129
mov edx, dword [ebp - 0x830]
test edx, edx
jne 0x6cdf312f
xor ecx, ecx
jmp 0x6cdf3153
lea edx, [ebp - 0x830]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x88c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6cdf3140
sub ecx, dword [ebp - 0x88c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x814]
call fcn.6cdbf900
mov eax, dword [ebp - 0x814]
cmp dword [eax - 0xc], 0
jl 0x6cdf3216
push 0x6ce448f4
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
je 0x6cdf3210
mov eax, dword [ebp - 0x814]
sub esi, eax
sar esi, 1
js 0x6cdf3210
lea ecx, [esi + 1]
test ecx, ecx
js 0x6cdf31c1
cmp ecx, dword [eax - 0xc]
jg 0x6cdf31c1
lea eax, [eax + ecx*2]
push 0x6ce448f4
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x6cdf31c1
sub eax, dword [ebp - 0x814]
sar eax, 1
jmp 0x6cdf31c4
or eax, 0xffffffff
cmp eax, esi
jle 0x6cdf3210
sub eax, esi
lea ecx, [ebp - 0x814]
inc eax
push eax
push esi
lea eax, [ebp - 0x88c]
push eax
call fcn.6cddbb10
push eax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.6cddbbc0
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x88c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3210
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x888]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x81c]
cmp eax, 8
jb 0x6cdf3232
inc eax
push eax
push dword [ebp - 0x830]
call fcn.6cdbf220
push dword [ebp - 0x814]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x6cdf3263
test esi, esi
je 0x6cdf325c
cmp word [esi], ax
je 0x6cdf325c
push 1
push eax
push eax
push esi
push 0x6ce448f8
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
jmp 0x6cdf33cd
lea eax, [ebp - 0x814]
mov dword [ebp - 0x818], 0
push eax
mov edx, 0x6ce448f4
lea ecx, [ebp - 0x890]
call fcn.6cdf3e30
push 0x6ce44a04
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x888]
call fcn.6cddd660
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88c]
call fcn.6cddd660
push 0x6ce448f4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x818]
call fcn.6cddd660
mov byte [ebp - 4], 4
add esp, 0x10
mov edx, dword [ebp - 0x88c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf32e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x888]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3307
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x890]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf3328
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x44
lea eax, [ebp - 0x874]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x874], 0x44
mov eax, 5
mov dword [ebp - 0x848], 1
mov word [ebp - 0x844], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x874]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x818]
movups xmmword [ebp - 0x884], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x6cdf33ab
push dword [ebp - 0x884]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x880]
call esi
xor esi, esi
jmp 0x6cdf33b0
mov esi, 0x80004005
mov edx, dword [ebp - 0x818]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x6cdf33cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x6cdf33ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.6ce11901
mov esp, ebp
pop ebp
ret