Function at 0x4b3af0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f21c6
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x1c]
call fcn.00419860
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x65]
call fcn.0040b800
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x64]
call fcn.00414c40
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x64]
push ecx
call fcn.0048ded0
add esp, 8
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x41], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00414a10
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x4b3b7e
jmp 0x4b3dc4
cmp dword [ebp + 0xc], 0
je 0x4b3ba0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b3a30
add esp, 8
movzx eax, al
test eax, eax
jne 0x4b3ba0
jmp 0x4b3dc4
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004857a0
add esp, 8
test eax, eax
je 0x4b3bb7
jmp 0x4b3dc4
push 0
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.004b37b0
add esp, 0xc
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004857a0
add esp, 8
test eax, eax
je 0x4b3bde
jmp 0x4b3dc4
lea ecx, [ebp - 0x66]
call fcn.0040b800
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00414c40
mov byte [ebp - 4], 2
push 0x50cf40
lea ecx, [ebp - 0x3c]
call fcn.00410d00
push 1
lea ecx, [ebp - 0x3c]
call fcn.00413e50
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 4
push 0
lea ecx, [ebp - 0x3c]
call fcn.00413e50
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004857a0
add esp, 8
test eax, eax
jne 0x4b3db0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4b3cd4
cmp dword [ebp + 0x14], 0
je 0x4b3ca7
lea ecx, [ebp - 0x89]
call fcn.0040b800
push eax
push str.Cannot_delete:
lea ecx, [ebp - 0x88]
call fcn.00414c40
mov byte [ebp - 4], 3
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00415500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00414a10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
add ecx, 4
call fcn.00410d00
mov byte [ebp - 0x8a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004196e0
mov al, byte [ebp - 0x8a]
jmp 0x4b3de0
lea ecx, [ebp - 0x1c]
call fcn.0041c250
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.0048d610
add esp, 8
movzx eax, al
test eax, eax
je 0x4b3da9
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x416
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
je 0x4b3d22
cmp dword [ebp - 0x10], 3
jne 0x4b3d9f
cmp dword [ebp + 0x14], 0
je 0x4b3d75
lea ecx, [ebp - 0xad]
call fcn.0040b800
push eax
push str.User_abort__cannot_delete:
lea ecx, [ebp - 0xac]
call fcn.00414c40
mov byte [ebp - 4], 4
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00415500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00414a10
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x14]
add ecx, 4
call fcn.00410d00
mov byte [ebp - 0xae], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004196e0
mov al, byte [ebp - 0xae]
jmp 0x4b3de0
cmp dword [ebp - 0x10], 5
jne 0x4b3da7
jmp 0x4b3db0
jmp 0x4b3dab
jmp 0x4b3db0
jmp 0x4b3c2c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00414a10
xor edx, edx
jne 0x4b3b31
mov byte [ebp - 0xaf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004196e0
mov al, byte [ebp - 0xaf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret