Function at 0x4dd730
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b920
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5ce104]
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 0x4dd779
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dd78e
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4dd790
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.004dee30
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.004df1e0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4dd9d6
push ecx
lea ecx, [ebx + 4]
call fcn.004e1eb0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x28], 0
je 0x4dd7ec
call fcn.004deec0
push 1
push 0x1e
mov ecx, ebx
call fcn.004dee30
mov ecx, ebx
call fcn.004de2c0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4dd9d6
push 3
push 0x32
mov ecx, ebx
call fcn.004dee30
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x4dd829
mov eax, dword [edi]
jmp 0x4dd82b
mov eax, edi
push ecx
push 1
push eax
call fcn.004e20d0
cmp dword [edi + 0x14], 8
jb 0x4dd83e
mov eax, dword [edi]
jmp 0x4dd840
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x4dd858
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
jmp 0x4dd85d
mov ecx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4dd86e
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4dd888
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.004e27b0
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4dd899
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.004e20d0
push 2
push 0x3c
mov ecx, ebx
call fcn.004dee30
cmp dword [ebp + 0x18], 0
je 0x4dd8ea
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.004de3f0
mov dword [ebp - 0x20], eax
test eax, eax
js 0x4dd9d6
lea edi, [ebx + 0x124]
jmp 0x4dd8ef
call fcn.004e82c0
push 4
push 0x46
mov ecx, ebx
call fcn.004dee30
cmp dword [ebp + 0x1c], 0
je 0x4dd907
mov ecx, ebx
call fcn.004debb0
push 5
push 0x50
mov ecx, ebx
call fcn.004dee30
cmp dword [ebp + 0x20], 0
je 0x4dd91f
mov ecx, ebx
call fcn.004deac0
push 6
push 0x5a
mov ecx, ebx
call fcn.004dee30
cmp dword [ebp + 0x24], 0
je 0x4dd937
mov ecx, ebx
call fcn.004ddbb0
push 8
push 0x5f
mov ecx, ebx
call fcn.004dee30
cmp dword [ebp + 0x2c], 0
je 0x4dd9b2
push str.DLLRepairSpeedUp.exe
push edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
push eax
call fcn.004e4540
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4dd96a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404e80
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0041bfd0
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 0x5a3e2c
push 0x5a6834
push str.install
push 0
call fcn.0042f5f0
add esp, 0x10
mov ecx, ebx
push 9
push 0x64
call fcn.004dee30
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 0x4dda1b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dda19
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dda19
push 0
push dword [ecx + 4]
call ebx
jmp 0x4dda1b
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 0x4dda5d
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4dda59
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4dda59
push 0
push dword [edx + 4]
call ebx
jmp 0x4dda5d
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.00522a9a
mov esp, ebp
pop ebp
ret 0x2c