Function at 0x4ccee0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51635b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x5500a4]
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 edi, ecx
cmp byte [edi + 0xe4], 0
je 0x4ccf20
xor al, al
jmp 0x4cd184
lea ebx, [edi + 0x40]
push ebx
call fcn.004140d0
add esp, 4
test al, al
je 0x4ccf19
lea eax, [edi + 0x58]
push eax
call fcn.004140d0
add esp, 4
test al, al
je 0x4ccf19
mov ecx, ebx
call fcn.0040a750
mov esi, eax
call fcn.00420460
push 0
push esi
mov ecx, eax
call fcn.004206f0
test al, al
je 0x4ccf19
lea ecx, [edi + 0x58]
call fcn.0040a750
mov esi, eax
call fcn.00420460
push 0
push esi
mov ecx, eax
call fcn.004206f0
test al, al
je 0x4ccf19
push str..tmp
lea esi, [edi + 0x70]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004153e0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a890
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a750
push eax
lea ecx, [edi + 0x58]
call fcn.0040a750
push eax
lea eax, [ebp - 0x88]
push str._m___s___s___s___h__s
push eax
call fcn.00413470
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push dword [edi + 0xf0]
lea edx, [ebp - 0x88]
mov ecx, ebx
push 0xffffffffffffffff
call fcn.00418b60
mov bl, al
add esp, 0x20
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0xe8], eax
test bl, bl
je 0x4cd164
cmp eax, 0x2710
sete bl
jne 0x4cd164
push esi
mov dword [edi + 0xe8], 0
call fcn.004140d0
add esp, 4
test al, al
je 0x4cd045
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.004c2dc0
mov bl, al
jmp 0x4cd164
push 0xb
mov ecx, esi
call fcn.0040a750
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a750
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call edi
test eax, eax
jne 0x4cd133
lea ecx, [ebp - 0x70]
xor bl, bl
call fcn.0040a890
mov byte [ebp - 4], 2
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x40]
call fcn.0041c200
test al, al
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
lea ecx, [ebp - 0x58]
call fcn.0040a890
mov byte [ebp - 4], 3
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.0041c200
test al, al
jne 0x4cd0ac
test bl, bl
je 0x4cd0c6
push 0xb
lea ecx, [ebp - 0x58]
call fcn.0040a750
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a750
push eax
call edi
test eax, eax
jne 0x4cd11b
mov ecx, esi
call fcn.0041bba0
cmp eax, 0xffffffff
je 0x4cd14a
push esi
lea ecx, [ebp - 0x28]
call fcn.0040a8b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0041bfc0
test al, al
je 0x4cd13e
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.0041bc40
test al, al
je 0x4cd13e
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0041bc40
lea ecx, [ebp - 0x28]
test al, al
je 0x4cd137
call fcn.0041bd50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
mov bl, 1
jmp 0x4cd164
mov edx, esi
call fcn.0041bc40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0040a7c0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
mov al, bl
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.004d6fd3
mov esp, ebp
pop ebp
ret