Function at 0x4cb420
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e76b2
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x51b08c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x34
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004a35f0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x3c], eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 4], 1
cmp dword [esi + 0x22c], 0
jle 0x4cb50e
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x70], 0x4fcc74
mov byte [ebp - 4], 4
mov dword [ebp - 0x70], 0x4fde30
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
mov ecx, dword [esi]
push eax
call fcn.004cd190
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4cb599
mov edx, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x4c], 0
jmp 0x4cb599
mov ecx, dword [esi + 4]
call fcn.004d0920
mov edi, eax
test edi, edi
je 0x4cb599
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xc]
call edx
cmp eax, 0x4fdad8
je 0x4cb547
test eax, eax
je 0x4cb599
push 0x4fdad8
push eax
call fcn.004a5070
add esp, 8
test eax, eax
sete al
test al, al
je 0x4cb599
mov eax, dword [esi]
mov edx, dword [edi + 8]
mov ecx, dword [eax]
call fcn.00490590
mov edi, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 7
test edi, edi
je 0x4cb576
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cb565
sub ecx, edx
sar ecx, 1
jmp 0x4cb578
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.004097a0
push 0
lea ecx, [ebp - 0x48]
call fcn.00409470
mov byte [ebp - 4], 1
push edi
call fcn.004a51e5
add esp, 4
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x48]
lea eax, [edi + 1]
push eax
call fcn.004099c0
test al, al
jne 0x4cb5b0
xor eax, eax
mov byte [eax], al
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
lea edx, [eax + edi*2]
mov dword [ebp - 0x74], edx
cmp ecx, edi
jbe 0x4cb5d5
sub ecx, edi
lea eax, [edx + 2]
add ecx, ecx
push ecx
push edx
push eax
call fcn.004a1ce0
mov edx, dword [ebp - 0x74]
add esp, 0xc
lea eax, [edi + 1]
mov word [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
xorps xmm0, xmm0
xor eax, eax
movq qword [ebp - 0x54], xmm0
mov word [edx], ax
mov eax, dword [esi + 4]
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 3
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, 0x40
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x4cb64a
push dword [ebp - 0x3c]
push ecx
mov ecx, dword [esi]
call fcn.004cd3c0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x70]
push eax
mov ecx, esi
call fcn.004ca310
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
cmp ecx, eax
je 0x4cb674
mov edx, dword [ebp - 0x18]
push ecx
test edx, edx
jne 0x4cb66d
call fcn.004a51e5
add esp, 4
jmp 0x4cb674
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499a52
mov esp, ebp
pop ebp
ret