Function at 0x4fb1f0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov eax, 0x1124
call fcn.0051dcc0
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0x1120], eax
cmp byte [0x5a94f2], 0
jne 0x4fb533
cmp byte [esp + 0x1128], 0
jne 0x4fb23b
call fcn.004fb550
mov ecx, dword [esp + 0x1120]
xor ecx, esp
call fcn.0051dca8
add esp, 0x1124
ret 4
push ebx
xor ebx, ebx
mov ecx, 0x5a84b0
push esi
push edi
xor edi, edi
mov dword [esp + 0x10c4], ebx
push ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10cc], ebx
mov dword [esp + 0x10d0], ebx
mov dword [esp + 0x10d4], ebx
mov dword [esp + 0x10d8], ebx
mov dword [esp + 0x10dc], ebx
call fcn.00452780
lea eax, [esp + 0x34]
mov ecx, 0x5a84b0
push eax
call fcn.00452780
test al, al
je 0x4fb372
mov byte [esp + 0xf], bl
lea eax, [esp + 0x34]
push eax
call fcn.00495850
push 3
mov esi, eax
push 0x556224
push esi
call fcn.004b4460
test eax, eax
je 0x4fb2c4
push 3
push 0x55622c
push esi
call fcn.004b4460
test eax, eax
jne 0x4fb2eb
movzx eax, word [esi + 6]
push eax
call fcn.0052b4b0
add esp, 4
test eax, eax
je 0x4fb2eb
movzx eax, word [esi + 8]
cmp eax, 0x2e
je 0x4fb398
test ax, ax
je 0x4fb398
push 3
push 0x55232c
push esi
call fcn.004b4460
test eax, eax
je 0x4fb32f
push 3
push 0x552334
push esi
call fcn.004b4460
test eax, eax
je 0x4fb32f
push 3
push 0x55233c
push esi
call fcn.004b4460
test eax, eax
je 0x4fb32f
push 3
push 0x551d8c
push esi
call fcn.004b4460
test eax, eax
jne 0x4fb33d
movzx eax, word [esi + 6]
cmp eax, 0x2e
je 0x4fb398
test ax, ax
je 0x4fb398
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4fb35b
lea eax, [esp + 0x34]
push eax
call fcn.004837b0
test al, al
jne 0x4fb39d
lea eax, [esp + 0x34]
mov ecx, 0x5a84b0
push eax
call fcn.00452780
test al, al
jne 0x4fb296
push ebp
push 0
mov ecx, 0x5a84b0
call fcn.00452780
lea eax, [esp + 0x38]
mov ecx, 0x5a84b0
push eax
call fcn.00452780
test al, al
je 0x4fb504
jmp 0x4fb404
mov byte [esp + 0xf], 1
push 0x64
lea eax, [esp + 0x38]
push eax
call fcn.004cbc80
push 0x204
mov esi, eax
call fcn.004a9c90
push esi
push eax
call fcn.004f27d0
add esp, 8
push 0x205
call fcn.004a9c90
push eax
call fcn.004f2a70
movzx eax, byte [esp + 0x13]
add esp, 4
neg eax
sbb eax, eax
and eax, 0xffffff87
add eax, 0xce
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x5b68fc
call fcn.0047b860
jmp 0x4fb530
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
jmp 0x4fb410
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fb410
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
add esi, ebx
lea ebp, [esi + esi]
lea eax, [ebp + 2]
push eax
push edi
call fcn.00525bbb
mov edi, eax
add esp, 8
test edi, edi
je 0x4fb4f9
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], edi
lea edx, [ebx + ebx]
mov eax, ecx
sub edx, eax
add edx, edi
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4fb450
lea eax, [esp + 0x38]
mov ecx, 0x5a84b0
push eax
mov ebx, esi
call fcn.00452780
test al, al
jne 0x4fb400
test ebx, ebx
je 0x4fb500
xor eax, eax
mov word [edi + ebp], ax
inc dword [0x57b140]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov eax, dword [0x57a0c8]
mov dword [esp + 0x18], eax
mov eax, 0x40
mov word [esp + 0x28], ax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
dec dword [0x57b140]
mov esi, eax
push edi
call fcn.00525b95
add esp, 4
test esi, esi
jne 0x4fb52f
cmp dword [esp + 0x2a], esi
jne 0x4fb52f
mov ecx, 0x57b144
call fcn.004d1cb0
push 0x54266c
mov ecx, 0x5a84b0
call fcn.00455ed0
jmp 0x4fb52f
mov eax, dword [esp + 0x14]
push eax
jmp 0x4fb527
mov edi, dword [esp + 0x14]
push 0x65
call fcn.004a9c90
push 0x14c
mov esi, eax
call fcn.004a9c90
push 0x30
push esi
push eax
push dword [0x57a0c8]
call fcn.004edd90
push edi
call fcn.00525b95
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1120]
xor ecx, esp
call fcn.0051dca8
add esp, 0x1124
ret 4