Function at 0x4d5650
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x582b30
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c4104]
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
mov dword [ebp - 4], 0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4d5699
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d56ae
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d56b0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0
push 0xa
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004d6d50
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x170], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0
call fcn.004d7100
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4d5901
push ecx
lea ecx, [ebx + 4]
call fcn.004d9dd0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x28], 0
je 0x4d570c
call fcn.004d6de0
push 1
push 0x1e
mov ecx, ebx
call fcn.004d6d50
mov ecx, ebx
call fcn.004d61e0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4d5901
push 3
push 0x32
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x4d5749
mov eax, dword [edi]
jmp 0x4d574b
mov eax, edi
push ecx
push 1
push eax
call fcn.004d9f40
cmp dword [edi + 0x14], 8
jb 0x4d575e
mov eax, dword [edi]
jmp 0x4d5760
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x4d5778
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
jmp 0x4d577d
mov ecx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4d578e
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4d57a8
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.004da620
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4d57b9
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.004d9f40
push 2
push 0x3c
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebp + 0x18], 0
je 0x4d580a
push ecx
mov edi, esp
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
push dword [ebp + 0xc]
call fcn.004d6310
mov dword [ebp - 0x20], eax
test eax, eax
js 0x4d5901
lea edi, [ebx + 0x124]
jmp 0x4d580f
call fcn.004e0130
push 4
push 0x46
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebp + 0x1c], 0
je 0x4d5827
mov ecx, ebx
call fcn.004d6ad0
push 5
push 0x50
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebp + 0x20], 0
je 0x4d583f
mov ecx, ebx
call fcn.004d69e0
push 6
push 0x5a
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebp + 0x24], 0
je 0x4d5857
mov ecx, ebx
call fcn.004d5ae0
push 8
push 0x5f
mov ecx, ebx
call fcn.004d6d50
cmp dword [ebp + 0x2c], 0
je 0x4d58d2
push str.DLLRepairSpeedUp.exe
push edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
push eax
call fcn.004dc3b0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4d588a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0041b460
push ecx
mov edi, esp
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405650
add esp, 4
add eax, 0x10
mov ecx, 1
mov dword [edi], eax
call fcn.00418960
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00404e00
push 9
push 0x64
mov ecx, ebx
call fcn.004d6d50
push 0x59aeec
push 0x59d8f4
push str.install
push 0
call fcn.0042e3b0
add esp, 0x10
mov ecx, ebx
push 0xa
push 0x64
call fcn.004d6d50
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jg 0x4d5946
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5944
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d5944
push 0
push dword [ecx + 4]
call ebx
jmp 0x4d5946
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], edi
dec edi
test edi, edi
jg 0x4d5988
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5984
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d5984
push 0
push dword [edx + 4]
call ebx
jmp 0x4d5988
mov ecx, edx
call esi
mov eax, dword [ebp - 0x20]
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.0051ac8e
mov esp, ebp
pop ebp
ret 0x2c