Function at 0x401288
Capabilities:
Move file

Disassembly:
mov eax, 0x40196e
call fcn.004017b0
sub esp, 0x318
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
call fcn.00401044
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
and byte [ebp - 0x324], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x323]
and dword [ebp - 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
mov esi, 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x324]
push esi
push eax
call fcn.004015f1
test eax, eax
je 0x40140b
lea eax, [ebp - 0x324]
push eax
call sub.MSVCRT.dll_strlen
mov edi, eax
mov dword [esp], str.DownTemp
mov dword [ebp - 0x14], edi
call sub.MSVCRT.dll_strlen
mov ebx, dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [eax + edi + 1]
cmp eax, esi
pop ecx
jae 0x40138a
and byte [ebp - 0x220], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
and byte [ebp - 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x324]
push str.DownTemp
mov edi, str._s_s
push eax
push edi
lea eax, [ebp - 0x220]
push esi
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x324]
push str.Download
push eax
push edi
lea eax, [ebp - 0x11c]
push esi
push eax
call ebx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 0x1c
push str.Utility.dll
call sub.MSVCRT.dll_strlen
mov edi, eax
mov dword [esp], str.Common_
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x14]
add eax, edi
add ecx, eax
cmp ecx, esi
jae 0x40140b
and byte [ebp - 0x220], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
push str.Utility.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x324]
push eax
push str._sCommon_s
lea eax, [ebp - 0x220]
push esi
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x40140b
push str.CreateLogObjects
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40140b
call eax
mov edx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [edx + 0xc], ebx
je 0x40147f
and byte [ebp - 0x11c], bl
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x11b]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x11c]
mov ecx, edx
push eax
call fcn.004015f1
test eax, eax
je 0x40147f
lea eax, [ebp - 0x11c]
push str.HelpDll.dll
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x11c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x40147f
push str.QQExceptionFilter
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x40147f
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4014a4
push str.factory.dll
mov ecx, eax
call fcn.00401638
mov dword [ebp - 0x10], eax
jmp 0x4014a7
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, dword [eax + 4]
cmp eax, edi
je 0x4014c5
push 2
call eax
mov esi, eax
pop ecx
cmp esi, edi
je 0x4014c5
push 1
pop ebx
mov eax, dword [esi]
push 0x3001
push str.MainLogi.dll
push edi
mov ecx, esi
call dword [eax + 8]
test ebx, ebx
mov edi, eax
je 0x4014ed
test edi, edi
je 0x4014ed
mov eax, dword [edi]
push str.speedlaunch
mov ecx, edi
call dword [eax + 0x3c]
test esi, esi
je 0x4014ff
test edi, edi
je 0x4014ff
mov eax, dword [esi]
push 0
push edi
mov ecx, esi
call dword [eax + 0xc]
cmp dword [ebp - 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x401510
push dword [ebp - 0x14]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x10], 0
je 0x40152d
mov ecx, dword [ebp - 0x10]
call fcn.00401691
push dword [ebp - 0x10]
call fcn.004016d7
pop ecx
cmp dword [ebp - 0x18], 0
je 0x40154c
push str.ReleaseLogObjects
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401547
call eax
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret