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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57da63
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 0x47e301
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push edi
call fcn.0044b750
push 1
push 0x5e1fa4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00453360
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e335
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00453360
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 0x47e388
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._____FindFirstFile_fails_in_directory__s._Code__lu.
call fcn.0046b580
add esp, 0xc
jmp 0x47e4d4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
push 0x5e15c0
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x47e4b7
push 0x5e27bc
lea eax, [ebp - 0x264]
push eax
call esi
test eax, eax
je 0x47e4b7
mov eax, dword [ebp - 0x290]
test eax, 0x400
jne 0x47e4b7
test al, 0x10
jne 0x47e4b7
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 0x47e400
sub eax, edi
mov ecx, edx
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0044b750
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 0x47e443
sub ecx, edi
sar ecx, 1
push ecx
push dword [ebp - 0x294]
mov ecx, edx
call fcn.0044b750
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0047a370
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 0x47e4b7
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e4ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e526
push edx
push ecx
call fcn.00537216
add esp, 8
lea eax, [ebp - 0x290]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47e390
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x47e50a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47e526
push edx
push ecx
call fcn.00537216
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.00536fd5
mov esp, ebp
pop ebp
ret
call fcn.00552cb1
int3