Function at 0x4c2670
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56de68
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5ad124]
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
mov ebx, ecx
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x4c2848
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
call fcn.0043c450
cmp dword [0x5b2128], 0
lea eax, [ebx + 0x124]
je 0x4c26e4
push str.QYShellExt64.dll
jmp 0x4c26e9
push str.QYShellExt.dll
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004c9660
push eax
lea ecx, [ebp - 0x30]
call fcn.00428a10
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x4c2711
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00414a40
call fcn.00406bf0
mov ecx, eax
test ecx, ecx
jne 0x4c2726
push 0x80004005
call fcn.00406fb0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c273b
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4c273d
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push 0x58e650
push eax
call fcn.00415680
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
add esp, 8
mov dword [ebp - 0x18], 0
push esi
push str.regsvr32__s__u
push eax
call fcn.004c9c90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov edx, 1
cmovae ecx, dword [ebp - 0x30]
call fcn.00464290
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c27ef
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c27ea
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x14]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c27e3
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c27ef
mov ecx, edx
call dword [ebp - 0x38]
jmp 0x4c27ef
mov ecx, edx
call dword [ebp - 0x38]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c282f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c282d
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c282d
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c282f
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp eax, 8
jb 0x4c2848
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00414a40
call fcn.00406bf0
mov ecx, eax
test ecx, ecx
jne 0x4c285d
push 0x80004005
call fcn.00406fb0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c2872
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4c2874
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
push 0
push 0xa
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004c3f50
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x170], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
call fcn.004c4300
mov edi, eax
test edi, edi
js 0x4c2aef
push ecx
lea ecx, [ebx + 4]
call fcn.004c6fd0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x28], 0
je 0x4c28cd
call fcn.004c3fe0
push 1
push 0x1e
mov ecx, ebx
call fcn.004c3f50
mov ecx, ebx
call fcn.004c33f0
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
js 0x4c2aef
push 3
push 0x32
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x4c290a
mov eax, dword [edi]
jmp 0x4c290c
mov eax, edi
push ecx
push 1
push eax
call fcn.004c71f0
cmp dword [edi + 0x14], 8
jb 0x4c291f
mov eax, dword [edi]
jmp 0x4c2921
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x4c2939
mov ecx, dword [edi]
mov dword [ebp - 0x18], ecx
jmp 0x4c293e
mov ecx, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4c294f
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4c2969
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
call fcn.004c78d0
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4c297a
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.004c71f0
push 2
push 0x3c
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebp + 0x18], 0
je 0x4c29cd
push ecx
mov edi, esp
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
push dword [ebp + 0xc]
call fcn.004c3520
mov edi, eax
mov dword [ebp - 0x38], eax
test edi, edi
js 0x4c2aef
lea edi, [ebx + 0x124]
jmp 0x4c29d2
call fcn.004cd5f0
push 4
push 0x46
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebp + 0x1c], 0
je 0x4c29ea
mov ecx, ebx
call fcn.004c3ce0
push 5
push 0x50
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebp + 0x20], 0
je 0x4c2a02
mov ecx, ebx
call fcn.004c3bf0
push 6
push 0x5a
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebp + 0x24], 0
je 0x4c2a1a
mov ecx, ebx
call fcn.004c2ce0
push 8
push 0x5f
mov ecx, ebx
call fcn.004c3f50
cmp dword [ebp + 0x2c], 0
je 0x4c2a95
push str.4kspeedup.exe
push edi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x14], 0
push eax
call fcn.004c9660
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4c2a4d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404c40
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00411110
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov ecx, 1
mov dword [edi], eax
call fcn.0040f9e0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00404bc0
push 0x585ddc
push 0x589a54
push str.install
push 0
call fcn.00419a10
add esp, 0x10
cmp dword [ebp + 8], 0
jne 0x4c2ae1
cmp dword [ebp + 0xc], 0
jne 0x4c2ae1
call fcn.00453840
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [edi], eax
call fcn.00446620
add esp, 4
push 9
push 0x64
mov ecx, ebx
call fcn.004c3f50
mov edi, dword [ebp - 0x38]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4c2b32
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c2b30
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c2b30
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c2b32
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4c2b78
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c2b74
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c2b74
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c2b78
mov ecx, edx
call esi
mov eax, edi
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.00507796
mov esp, ebp
pop ebp
ret 0x2c