Function at 0x4da950
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588960
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ca104]
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 0x4da999
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4da9ae
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4da9b0
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.004dc040
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.004dc3f0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4dabf6
push ecx
lea ecx, [ebx + 4]
call fcn.004df0c0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x28], 0
je 0x4daa0c
call fcn.004dc0d0
push 1
push 0x1e
mov ecx, ebx
call fcn.004dc040
mov ecx, ebx
call fcn.004db4d0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4dabf6
push 3
push 0x32
mov ecx, ebx
call fcn.004dc040
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x4daa49
mov eax, dword [edi]
jmp 0x4daa4b
mov eax, edi
push ecx
push 1
push eax
call fcn.004df230
cmp dword [edi + 0x14], 8
jb 0x4daa5e
mov eax, dword [edi]
jmp 0x4daa60
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x4daa78
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
jmp 0x4daa7d
mov ecx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4daa8e
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4daaa8
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.004df910
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4daab9
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.004df230
push 2
push 0x3c
mov ecx, ebx
call fcn.004dc040
cmp dword [ebp + 0x18], 0
je 0x4dab0a
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.004db600
mov dword [ebp - 0x20], eax
test eax, eax
js 0x4dabf6
lea edi, [ebx + 0x124]
jmp 0x4dab0f
call fcn.004e5420
push 4
push 0x46
mov ecx, ebx
call fcn.004dc040
cmp dword [ebp + 0x1c], 0
je 0x4dab27
mov ecx, ebx
call fcn.004dbdc0
push 5
push 0x50
mov ecx, ebx
call fcn.004dc040
cmp dword [ebp + 0x20], 0
je 0x4dab3f
mov ecx, ebx
call fcn.004dbcd0
push 6
push 0x5a
mov ecx, ebx
call fcn.004dc040
cmp dword [ebp + 0x24], 0
je 0x4dab57
mov ecx, ebx
call fcn.004dadd0
push 8
push 0x5f
mov ecx, ebx
call fcn.004dc040
cmp dword [ebp + 0x2c], 0
je 0x4dabd2
push str.DLLRepairSpeedUp.exe
push edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
push eax
call fcn.004e16a0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4dab8a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0041c010
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.00419390
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00404e00
push 0x5a0e3c
push 0x5a3834
push str.install
push 0
call fcn.0042f630
add esp, 0x10
mov ecx, ebx
push 9
push 0x64
call fcn.004dc040
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 0x4dac3b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dac39
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dac39
push 0
push dword [ecx + 4]
call ebx
jmp 0x4dac3b
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 0x4dac7d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dac79
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dac79
push 0
push dword [edx + 4]
call ebx
jmp 0x4dac7d
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.0051fefc
mov esp, ebp
pop ebp
ret 0x2c