Function at 0x4018f0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409943
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x40e0a0]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, section..data
mov dword [ebp - 0x220], esi
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esi], eax
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x228], edi
mov word [ebp - 0x218], ax
call fcn.00404000
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push edi
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4019a4
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
push ecx
mov edi, eax
lea ebx, [ebp - 0x21c]
call fcn.004022b0
mov edx, ebx
push edx
lea eax, [ebp - 0x224]
push eax
mov ebx, str.AliQinTao_
call fcn.00401fc0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edi, dword [ebp - 0x21c]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x401a40
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x401a31
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x401a31
call fcn.004023c0
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x401a20
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add esi, 0x10
mov dword [ebp - 0x21c], esi
mov esi, dword [ebp - 0x220]
jmp 0x401a40
mov edi, dword [ecx - 0xc]
push ecx
lea ebx, [ebp - 0x21c]
call fcn.004022b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x21c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401a80
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x224]
push edx
mov ebx, str.AliQinTaoInstall.exe
call fcn.00401fc0
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov edi, dword [esi]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x401af3
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x401ae8
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x401ae8
call fcn.004023c0
mov esi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x401ad9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x220]
add esi, 0x10
mov dword [ecx], esi
mov esi, ecx
jmp 0x401af3
mov edi, dword [ecx - 0xc]
push ecx
mov ebx, esi
call fcn.004022b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401b3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.00403553
mov esp, ebp
pop ebp
ret