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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6a4
mov eax, dword [0x608554]
xor eax, esp
mov dword [esp + 0x6a0], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push ecx
push str.OperateFile::DeleteFileW
lea ecx, [esp + 0x18]
call fcn.0040a480
mov esi, dword [0x608f30]
cmp esi, 0x608f30
je 0x46f35a
test byte [esi + 0x1c], 1
je 0x46f318
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5cecd4
mov ecx, 0x80
cmovae eax, dword [0x608f54]
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00401840
mov esi, dword [0x608f30]
add esp, 0xc
cmp esi, 0x608f30
je 0x46f35a
test byte [esi + 0x1c], 1
je 0x46f35a
cmp dword [0x608f68], 8
mov eax, 0x608f54
push ebx
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push edi
push eax
push dword [esi + 0x14]
mov ecx, 0x81
push dword [esi + 0x10]
call fcn.00430170
mov esi, dword [0x608f30]
add esp, 0x14
push 0x208
lea eax, [esp + 0x4a4]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x298]
push 0x208
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea eax, [esp + 0x48]
push 0x250
push 0
push eax
call fcn.00571c00
add esp, 0xc
test edi, edi
je 0x46f4ff
test ebx, ebx
je 0x46f4ff
push 0x5c6930
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x46f4f9
push edi
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x296], 0x5c
je 0x46f3fb
push 0x5c692c
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0x4a8]
push 0x5c70f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46f4ab
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [esp + 0x48], 0x10
jne 0x46f498
push 0x5cafc8
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x46f498
push 0x5cafcc
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
je 0x46f498
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x29c]
push eax
lea eax, [esp + 0x4a8]
push 0x5c70f4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [esp + 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x48]
push eax
push edi
call ebx
test eax, eax
jne 0x46f440
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x14], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x46f4f2
test byte [ecx + 0x1c], 1
je 0x46f4f2
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 1
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x83
call fcn.004018a0
add esp, 0x10
mov esi, 1
jmp 0x46f542
mov esi, dword [0x608f30]
mov byte [esp + 0x14], 1
cmp esi, 0x608f30
je 0x46f540
test byte [esi + 0x1c], 1
je 0x46f540
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5cecd4
push eax
push dword [esi + 0x14]
mov ecx, 0x82
push dword [esi + 0x10]
call fcn.004018a0
add esp, 0x10
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.0040a570
mov ecx, dword [esp + 0x6ac]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 8