Function at 0x482fa0
Capabilities:
Check if file exists
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8aaf
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x28c], 0
push 0x24c
push 0
lea eax, [ebp - 0x288]
push eax
call fcn.00445020
add esp, 0xc
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406f90
mov dword [ebp - 4], 0
push 0x4d6a20
lea ecx, [ebp - 0x2c]
call fcn.00407050
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x34], eax
xor eax, eax
cmp dword [ebp - 0x34], 0xffffffff
setne al
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x35], 1
movzx ecx, byte [ebp - 0x2d]
test ecx, ecx
je 0x4831e0
mov edx, dword [ebp + 0xc]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2ac], esp
lea eax, [ebp - 0x260]
push eax
call fcn.00406f50
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d0]
call fcn.0047bb00
mov byte [ebp - 0x2d5], al
movzx ecx, byte [ebp - 0x2d5]
test ecx, ecx
jne 0x4831c1
push 0x4d6a2c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c8]
push eax
call fcn.00409480
add esp, 0xc
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
call fcn.00409480
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c8]
call fcn.00406fd0
mov edx, dword [ebp - 0x28c]
and edx, 0x10
je 0x483143
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x483141
push 0x4d6a30
lea ecx, [ebp - 0x260]
push ecx
call fcn.004451be
add esp, 8
test eax, eax
je 0x483141
push 0x4d6a38
lea edx, [ebp - 0x260]
push edx
call fcn.004451be
add esp, 8
test eax, eax
je 0x483141
lea eax, [ebp - 0x2a8]
push eax
call fcn.0049d540
add esp, 4
jmp 0x4831b2
lea ecx, [ebp - 0x2a8]
call fcn.00407070
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4831b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4831b2
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x4831b2
lea edx, [ebp - 0x2a8]
push edx
mov ecx, dword [ebp - 0x2d0]
call fcn.00480f40
movzx eax, al
test eax, eax
jne 0x4831b2
mov byte [ebp - 0x2c9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.00406fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov al, byte [ebp - 0x2c9]
jmp 0x483206
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.00406fd0
lea ecx, [ebp - 0x28c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x2d], al
jmp 0x483048
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2ca], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406fd0
mov al, byte [ebp - 0x2ca]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret 0x10