Function at 0x4d5c60
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5830c0
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 0x4d5ca9
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5cbe
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d5cc0
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.004d7360
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.004d7710
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4d5f11
push ecx
lea ecx, [ebx + 4]
call fcn.004da3e0
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x28], 0
je 0x4d5d1c
call fcn.004d73f0
push 1
push 0x1e
mov ecx, ebx
call fcn.004d7360
mov ecx, ebx
call fcn.004d67f0
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
js 0x4d5f11
push 3
push 0x32
mov ecx, ebx
call fcn.004d7360
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x4d5d59
mov eax, dword [edi]
jmp 0x4d5d5b
mov eax, edi
push ecx
push 1
push eax
call fcn.004da550
cmp dword [edi + 0x14], 8
jb 0x4d5d6e
mov eax, dword [edi]
jmp 0x4d5d70
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x4d5d88
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
jmp 0x4d5d8d
mov ecx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4d5d9e
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4d5db8
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.004dac30
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x4d5dc9
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.004da550
push 2
push 0x3c
mov ecx, ebx
call fcn.004d7360
cmp dword [ebp + 0x18], 0
je 0x4d5e1a
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.004d6920
mov dword [ebp - 0x20], eax
test eax, eax
js 0x4d5f11
lea edi, [ebx + 0x124]
jmp 0x4d5e1f
call fcn.004e0740
push 4
push 0x46
mov ecx, ebx
call fcn.004d7360
cmp dword [ebp + 0x1c], 0
je 0x4d5e37
mov ecx, ebx
call fcn.004d70e0
push 5
push 0x50
mov ecx, ebx
call fcn.004d7360
cmp dword [ebp + 0x20], 0
je 0x4d5e4f
mov ecx, ebx
call fcn.004d6ff0
push 6
push 0x5a
mov ecx, ebx
call fcn.004d7360
cmp dword [ebp + 0x24], 0
je 0x4d5e67
mov ecx, ebx
call fcn.004d60f0
push 8
push 0x5f
mov ecx, ebx
call fcn.004d7360
cmp dword [ebp + 0x2c], 0
je 0x4d5ee2
push str.DLLRepairSpeedUp.exe
push edi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
push eax
call fcn.004dc9c0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4d5e9a
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.004d7360
push 0x59af0c
push 0x59d914
push str.install
push 0
call fcn.0042e3b0
add esp, 0x10
mov ecx, ebx
push 0xa
push 0x64
call fcn.004d7360
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 0x4d5f56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5f54
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d5f54
push 0
push dword [ecx + 4]
call ebx
jmp 0x4d5f56
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 0x4d5f98
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d5f94
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d5f94
push 0
push dword [edx + 4]
call ebx
jmp 0x4d5f98
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.0051b15a
mov esp, ebp
pop ebp
ret 0x2c