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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x57b28c]
test eax, eax
jne 0x47d4b0
mov eax, dword [0xa3a96c]
test eax, eax
jne 0x47d20c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00457dba
mov dword [0xa3a96c], eax
mov dword [esp + 4], 1
mov dword [esp], 0x54b4a7
call fcn.00457c37
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004586e5
mov edx, eax
mov eax, dword [0xa3a96c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457f21
mov eax, dword [0xa3a970]
test eax, eax
jne 0x47d264
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00457dba
mov dword [0xa3a970], eax
mov eax, dword [0xa3a974]
test eax, eax
jne 0x47d286
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00457dba
mov dword [0xa3a974], eax
mov edx, dword [0xa3a96c]
mov eax, dword [0xa3a970]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457f21
mov eax, dword [0xa3a970]
mov eax, dword [eax + 4]
mov dword [0xa3a978], eax
jmp 0x47d2fb
mov eax, dword [0xa3a970]
mov eax, dword [eax]
mov edx, dword [0xa3a978]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2f
je 0x47d2de
mov eax, dword [0xa3a970]
mov eax, dword [eax]
mov edx, dword [0xa3a978]
sub edx, 1
add eax, edx
movzx eax, byte [eax]
cmp al, 0x5c
jne 0x47d2ee
mov eax, dword [0xa3a970]
mov edx, dword [0xa3a978]
mov dword [eax + 4], edx
jmp 0x47d309
mov eax, dword [0xa3a978]
sub eax, 1
mov dword [0xa3a978], eax
mov eax, dword [0xa3a978]
test eax, eax
setg al
test al, al
jne 0x47d2ac
mov eax, dword [0xa3a978]
test eax, eax
jne 0x47d31e
mov eax, dword [0xa3a970]
mov dword [eax + 4], 0
mov dword [0xa3a97c], 0
mov eax, dword [0xa3a96c]
mov dword [esp], eax
call fcn.0044cb6f
mov dword [esp + 4], 0xa3a980
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call eax
sub esp, 8
mov dword [0xa3aac0], eax
mov eax, dword [0xa3aac0]
cmp eax, 0xffffffff
jne 0x47d36a
mov dword [esp], 0x35
call fcn.004566a0
jmp 0x47d4b4
mov eax, dword [0xa3a980]
and eax, 0x10
test eax, eax
jne 0x47d460
mov dword [esp], 0xa3a9ac
call sub.msvcrt.dll_strlen
add eax, 1
mov dword [esp + 4], eax
mov dword [esp], 0xa3a9ac
call fcn.00457c37
mov edx, eax
mov eax, dword [0xa3a970]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004586e5
mov edx, eax
mov eax, dword [0xa3a974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00457f21
mov eax, dword [0xa3a974]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call eax
sub esp, 4
test eax, eax
sete al
test al, al
je 0x47d453
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [0xa3a978], eax
mov eax, dword [0xa3a978]
cmp eax, 5
je 0x47d410
mov eax, dword [0xa3a978]
cmp eax, 0x13
je 0x47d410
mov eax, dword [0xa3a978]
cmp eax, 0x21
je 0x47d410
mov eax, dword [0xa3a978]
cmp eax, 0x20
jne 0x47d433
mov eax, dword [0xa3aac0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x37
call fcn.004566a0
jmp 0x47d4b4
mov eax, dword [0xa3aac0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov dword [esp], 0x35
call fcn.004566a0
jmp 0x47d4b4
mov eax, dword [0xa3a97c]
add eax, 1
mov dword [0xa3a97c], eax
mov eax, dword [0xa3aac0]
mov dword [esp + 4], 0xa3a980
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindNextFileA]
call eax
sub esp, 8
test eax, eax
setne al
test al, al
jne 0x47d36a
mov eax, dword [0xa3aac0]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_FindClose]
call eax
sub esp, 4
mov eax, dword [0xa3a97c]
test eax, eax
jne 0x47d4b3
mov dword [esp], 0x35
call fcn.004566a0
jmp 0x47d4b4
nop
jmp 0x47d4b4
nop
leave
ret