Function at 0x424020
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44036c
mov eax, dword fs:[0]
push eax
sub esp, 0x8a4
mov eax, dword [0x44e2d0]
xor eax, esp
mov dword [esp + 0x8a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e2d0]
xor eax, esp
push eax
lea eax, [esp + 0x8b8]
mov dword fs:[0], eax
xor ebp, ebp
push 0x800
lea eax, [esp + 0xb2]
mov ebx, ecx
push ebp
push eax
mov dword [esp + 0x34], ebx
mov word [esp + 0xb8], bp
call fcn.004307b0
add esp, 0xc
push 0x400
lea ecx, [esp + 0xb0]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xac]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4240a0
sub eax, edx
sar eax, 1
add ebx, 0x1204
push eax
lea edx, [esp + 0xb0]
push edx
mov esi, ebx
mov dword [esp + 0x24], ebx
call fcn.00412f00
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 0x5c
call fcn.0041ac80
cmp eax, 0xffffffff
je 0x42411b
push ebx
mov ecx, eax
lea esi, [esp + 0x34]
call fcn.0041ac50
push 0xffffffffffffffff
push ebp
mov ecx, ebx
mov dword [esp + 0x8c8], ebp
call fcn.00413000
mov dword [esp + 0x8c0], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x42411b
mov eax, dword [esp + 0x34]
push eax
call fcn.004293c2
add esp, 4
xor eax, eax
push 1
mov ebp, 7
push 0x44728c
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
call fcn.00412f00
mov dword [esp + 0x8c0], 1
mov ecx, dword [esp + 0x28]
add ecx, 0x30
push ecx
mov edx, esi
push edx
lea edi, [esp + 0x38]
call fcn.00421e90
add esp, 8
xor edi, edi
push edi
push eax
or eax, 0xffffffff
mov esi, ebx
mov byte [esp + 0x8c8], 2
call fcn.0041b710
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x42418f
mov eax, dword [esp + 0x34]
push eax
call fcn.004293c2
add esp, 4
mov dword [esp + 0x8c0], 0xffffffff
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
jb 0x4241ba
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004293c2
add esp, 4
mov edx, dword [ebx + 0x18]
cmp edx, esi
lea eax, [ebx + 4]
jb 0x4241c8
mov edi, dword [eax]
jmp 0x4241ca
mov edi, eax
test edi, edi
je 0x4241ec
cmp edx, esi
jb 0x4241d6
mov ecx, dword [eax]
jmp 0x4241d8
mov ecx, eax
cmp ecx, edi
ja 0x4241ec
cmp edx, esi
jb 0x4241e2
mov eax, dword [eax]
mov edx, dword [ebx + 0x14]
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x4241f1
call fcn.0042931e
mov esi, dword [ebx + 0x18]
cmp esi, 8
lea ecx, [ebx + 4]
jb 0x424200
mov edx, dword [ecx]
jmp 0x424202
mov edx, ecx
mov eax, dword [ebx + 0x14]
add eax, eax
lea ebp, [eax + edx]
test ebp, ebp
je 0x42422a
cmp esi, 8
jb 0x424217
mov edx, dword [ecx]
jmp 0x424219
mov edx, ecx
cmp edx, ebp
ja 0x42422a
cmp esi, 8
jb 0x424224
mov ecx, dword [ecx]
add eax, ecx
cmp ebp, eax
jbe 0x42422f
call fcn.0042931e
mov edx, dword [ebx + 0x18]
cmp edx, 8
lea eax, [ebx + 4]
jb 0x42423e
mov esi, dword [eax]
jmp 0x424240
mov esi, eax
test esi, esi
je 0x424264
cmp edx, 8
jb 0x42424d
mov ecx, dword [eax]
jmp 0x42424f
mov ecx, eax
cmp ecx, esi
ja 0x424264
cmp edx, 8
jb 0x42425a
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x424269
call fcn.0042931e
push edi
push ebx
push ebp
push ebx
push esi
push ebx
lea eax, [esp + 0x38]
call fcn.004277d0
add esp, 0x18
cmp dword [ebx + 0x18], 8
jb 0x424286
mov eax, dword [ebx + 4]
jmp 0x424289
lea eax, [ebx + 4]
test eax, eax
je 0x4242a3
cmp word [eax], 0
je 0x4242a3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4242a3
test al, 0x10
je 0x4242aa
xor eax, eax
jmp 0x424552
push 0x400
lea eax, [esp + 0xb0]
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.004307b0
add esp, 0xc
push 0
push 0x2b
lea ecx, [esp + 0xb4]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x424520
lea eax, [esp + 0xac]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4242f0
mov ebp, dword [esp + 0x28]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xb0]
add ebp, 0x1220
push edx
mov esi, ebp
call fcn.00412f00
push 0x13
push str.TencentQQDownload
mov ecx, ebp
call fcn.0041b8a0
lea ebx, [esp + 0x78]
mov edi, ebp
call fcn.004250a0
lea ebx, [esp + 0x80]
mov esi, eax
call fcn.004250f0
lea ebx, [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.004250a0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x38]
call fcn.004277d0
xor edi, edi
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], edi
mov word [esp + 0xac], di
push 0x400
lea ecx, [esp + 0xc8]
push edi
push ecx
mov dword [esp + 0x8e4], 3
call fcn.004307b0
mov esi, dword [esp + 0x4c]
add esp, 0x24
add esi, 0x1c
push esi
push str.DownloadProxy.Downloader.1
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
mov ecx, dword [esi]
lea edx, [esp + 0xac]
push edx
mov edx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00424b10
test eax, eax
je 0x4244f3
lea eax, [esp + 0xac]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424400
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb0]
push eax
lea esi, [esp + 0x98]
call fcn.00412f00
push 1
mov eax, esi
call fcn.00425d80
xor ebx, ebx
call fcn.004131f0
mov edi, 1
mov ebx, esi
call fcn.00425e10
mov ebx, eax
add ebx, edi
or eax, 0xffffffff
call fcn.004131f0
lea ebx, [esp + 0x28]
mov edi, esi
call fcn.004250a0
lea ebx, [esp + 0x88]
mov esi, eax
call fcn.004250f0
lea ebx, [esp + 0x70]
mov dword [esp + 0x20], eax
call fcn.004250a0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x64]
call fcn.004277d0
mov eax, dword [esp + 0xac]
add esp, 0x18
cmp dword [esp + 0xa8], 8
jae 0x4244b1
lea eax, [esp + 0x94]
jmp 0x4244b5
test eax, eax
je 0x4244f3
cmp word [eax], 0
je 0x4244f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4244f3
test al, 0x10
jne 0x4244f3
lea ecx, [esp + 0x90]
push ecx
mov eax, ebp
call fcn.00425140
cmp eax, 0xffffffff
jne 0x4244fb
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x90]
call fcn.00427830
test al, al
je 0x4244fb
mov dword [esp + 0x18], 1
cmp dword [esp + 0xa8], 8
jb 0x424515
mov edx, dword [esp + 0x94]
push edx
call fcn.004293c2
add esp, 4
cmp dword [esp + 0x18], 0
je 0x42454d
mov ebx, dword [esp + 0x1c]
cmp dword [ebx + 0x18], 8
jb 0x42452b
mov ebx, dword [ebx + 4]
jmp 0x42452e
add ebx, 4
push 0
push 0
push 0x4475bc
push ebx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
mov ecx, dword [esp + 0x8b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8a0]
xor ecx, esp
call fcn.0042877c
add esp, 0x8b0
ret