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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d5d3
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x294], edi
mov edx, edi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x47de61
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push edi
call fcn.0044b740
push 1
push 0x5e1f64
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00452fa0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47de95
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00452fa0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x47dee8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.0046b090
add esp, 0xc
jmp 0x47e034
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
push 0x5e15b0
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x47e017
push 0x5e2774
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x47e017
mov eax, dword [ebp - 0x290]
test eax, 0x400
jne 0x47e017
test al, 0x10
jne 0x47e017
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [ebp - 0x298], esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea eax, [ebp - 0x264]
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47df60
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044b740
mov ecx, dword [ebp - 0x294]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 1
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47dfa3
sub ecx, edi
sar ecx, 1
push ecx
push dword [ebp - 0x294]
mov ecx, edx
call fcn.0044b740
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00479e60
add esp, 0x30
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x47e017
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e00d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e086
push edx
push ecx
call fcn.00536da7
add esp, 8
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47def0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47e06a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e060
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e086
push edx
push ecx
call fcn.00536da7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536b66
mov esp, ebp
pop ebp
ret
call fcn.00552841
int3