Function at 0x411060
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3338
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x54d158]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
call fcn.004755e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x298], 0
call fcn.00474bb0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 1
call fcn.00474bb0
lea ecx, [esp + 0x20]
mov byte [esp + 0x298], 2
call fcn.00474bb0
lea ecx, [esp + 0x28]
mov byte [esp + 0x298], 3
call fcn.00474bb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x298], 4
call fcn.00474bb0
mov byte [esp + 0x298], 5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x411125
mov eax, dword [eax - 0xc]
shr eax, 1
add eax, 0xffffffff
push eax
lea ecx, [esp + 0x14]
call fcn.00473350
cmp ax, 0x5c
je 0x411143
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00474090
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
call fcn.00474c20
push edi
lea ecx, [esp + 0x14]
call fcn.00473f90
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x34]
push ecx
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4111e6
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebx]
cmp dword [esp + 0x34], 0x10
je 0x4111c5
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00474150
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x29c], 6
call fcn.00474c20
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.004732d0
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411180
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.00474bb0
push 0xffffffffffffffff
push 0x51d004
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a0], 7
call fcn.00473ec0
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
call ebx
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
je 0x411289
lea esp, [esp]
push ebx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x24]
call fcn.00473ec0
mov edx, dword [esp + 0x1c]
push 0x51c598
push edx
call fcn.00477290
add esp, 8
test eax, eax
je 0x411273
mov eax, dword [esp + 0x1c]
push 0x51d00c
push eax
call fcn.00477290
add esp, 8
test eax, eax
je 0x411273
cmp dword [esp + 0x34], 0x10
jne 0x411273
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push edi
lea eax, [esp + 0x1c]
push eax
call edx
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x411220
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 5
call fcn.004732d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x298], 4
call fcn.004732d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x298], 3
call fcn.004732d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x298], 2
call fcn.004732d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 1
call fcn.004732d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x298], 0
call fcn.004732d0
lea ecx, [esp + 0x10]
mov dword [esp + 0x298], ebx
call fcn.004732d0
xor eax, eax
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004ac89d
mov esp, ebp
pop ebp
ret 8