Function at 0x4690b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x4f2589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x2d0]
mov dword [esp + 0x2c8], 0
test esi, esi
jg 0x469123
mov eax, dword [esp + 0x2d4]
mov edx, dword [0x50d0e4]
mov dword [esp + 0x2c8], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x469485
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469485
jmp 0x46947c
mov edx, dword [0x50d0e0]
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x2d4]
lea eax, [esp + 0x14]
push ebp
push 0x517854
push eax
mov byte [esp + 0x2d4], 1
call fcn.004074f0
lea ecx, [esp + 0x28]
push ecx
call fcn.004de872
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0x70]
sub edi, esi
push edx
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x4691e6
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2c8], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4691b3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4691b3
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [0x50d0e4]
lea eax, [ebp - 0xc]
cmp eax, ecx
mov dword [esp + 0x2c8], 0xffffffff
je 0x469485
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469485
jmp 0x46947c
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x9c]
push ecx
push 0x510318
call fcn.004dfe9e
lea edx, [esp + 0xa4]
mov esi, eax
push edx
push 0x510310
call fcn.004dfe9e
add esp, 0x10
test esi, esi
je 0x469400
test eax, eax
je 0x469400
test byte [esp + 0x70], 0x10
je 0x4692f5
mov eax, dword [0x50d0e0]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x10]
push ecx
push ebp
push str._s_s_
push edx
mov byte [esp + 0x2d8], 2
call fcn.004074f0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x3c], esp
mov esi, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x46927f
mov dword [esi], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4692a1
mov ecx, dword [0x50d0e0]
mov dword [esi], ecx
mov eax, dword [esp + 0x14]
test eax, eax
mov edi, eax
je 0x469298
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.004021f0
mov edx, dword [esp + 0x2d4]
mov ecx, dword [esp + 0x28]
push edx
call fcn.004690b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2c8], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x469400
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469400
mov edx, dword [esp + 0x10]
jmp 0x4693f4
lea eax, [esp + 0x60]
lea ecx, [esp + 0x84]
push eax
push ecx
call ebx
lea edx, [esp + 0x28]
lea eax, [esp + 0x60]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x3c]
mov edx, dword [esp + 0x2a]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2e]
and ecx, 0xffff
and edx, 0xffff
sub ecx, 0x76c
dec edx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x30]
and eax, 0xffff
and ecx, 0xffff
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x32]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x3c]
and edx, 0xffff
and eax, 0xffff
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
call fcn.004e06bf
mov ecx, dword [esp + 0x20]
add esp, 4
cmp eax, ecx
jge 0x469400
mov edx, dword [0x50d0e0]
mov dword [esp + 0x18], edx
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x18]
push eax
push ebp
push 0x50de74
push ecx
mov byte [esp + 0x2d8], 3
call fcn.004074f0
mov edx, dword [esp + 0x28]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2c8], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x469400
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469400
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4691ec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x2c8], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x469456
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469456
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov ecx, dword [0x50d0e4]
lea eax, [ebp - 0xc]
cmp eax, ecx
mov dword [esp + 0x2c8], 0xffffffff
je 0x469485
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x469485
push esi
call fcn.004de3a6
add esp, 4
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2bc
ret 8