Function at 0x45db40
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x244]
sub esp, 0x244
push 0xffffffffffffffff
push 0x5fa530
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6f1550]
xor eax, ebp
mov dword [ebp + 0x240], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 0x234], 3
xor ebx, ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x20c], ebx
mov byte [esi + 0x1d4], bl
mov byte [esi + 0x1c0], bl
or edi, 0xffffffff
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1e4], edi
push edi
push ebx
lea ecx, [esi + 0x250]
call fcn.00432860
mov eax, dword [esi + 0x190]
cmp eax, ebx
je 0x45dbd9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [esi + 0x190], ebx
mov dword [ebp - 4], ebx
push ebx
lea ecx, [esi + 0x188]
call fcn.00457080
lea ecx, [esi + 0x144]
call fcn.00454700
lea ecx, [esi + 0x148]
call fcn.00454700
lea ecx, [esi + 0x14c]
call fcn.00454700
lea ecx, [esi + 0x130]
call fcn.00454700
lea ecx, [esi + 0x134]
call fcn.00454700
lea ecx, [esi + 0x138]
call fcn.00454700
lea ecx, [esi + 0x13c]
call fcn.00454700
lea ecx, [esi + 0x140]
call fcn.00454700
lea ecx, [esi + 0x128]
call fcn.00454700
lea ecx, [esi + 0x12c]
call fcn.00454700
lea ecx, [esi + 0x11c]
call fcn.00454700
lea ecx, [esi + 0x114]
call fcn.00454700
lea ecx, [esi + 0x118]
call fcn.00454700
lea ecx, [esi + 0x10c]
call fcn.00454700
lea ecx, [esi + 0x110]
call fcn.00454700
lea ecx, [esi + 0x108]
call fcn.00454700
lea ecx, [esi + 0xf0]
call fcn.00454700
lea ecx, [esi + 0xf4]
call fcn.00454700
lea ecx, [esi + 0x104]
call fcn.00454700
lea ecx, [esi + 0xf8]
call fcn.00454700
lea ecx, [esi + 0xfc]
call fcn.00454700
lea ecx, [esi + 0x100]
call fcn.00454700
lea ecx, [esi + 0xec]
call fcn.00454700
mov dword [ebp - 4], edi
jmp 0x45dcfc
mov byte [esi + 0x19c], 0
mov byte [esi + 0x19b], 0
mov byte [esi + 0x19a], 0
mov byte [esi + 0x199], 0
mov eax, dword [esi + 0x1a0]
cmp eax, ebx
je 0x45dd30
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [esi + 0x1a0], ebx
mov eax, dword [esi + 0x18c]
cmp eax, ebx
je 0x45dd48
mov dword [esi + 0x18c], ebx
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
lea edi, [esi + 0x150]
mov dword [ebp - 0x20], edi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
lea ecx, [esi + 0x168]
call fcn.00454740
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x1a4]
call fcn.00458ad0
lea ecx, [esi + 0x1dc]
push 6
push str.Closed
call fcn.00401c00
call fcn.005a2d4d
mov eax, dword [eax + 4]
and dword [eax + 0xd4], 0x207
mov dword [esi + 0x234], ebx
mov eax, dword [esi + 0x190]
cmp eax, ebx
je 0x45ddc8
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [esi + 0x190], ebx
lea eax, [ebp + 0x140]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, ebx
je 0x45df4f
mov ecx, dword [esi + 0x1f8]
cmp dword [ecx - 0xc], ebx
jle 0x45df4f
lea ecx, [ebp - 0x18]
call fcn.00401a30
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401a30
mov byte [ebp - 4], 4
mov edx, dword [esi + 0x1f8]
push edx
lea eax, [ebp + 0x140]
push eax
push str._s_s.srt
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040ada0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00418d30
add esp, 0x1c
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401aa0
mov edx, dword [esi + 0x1f8]
push edx
lea eax, [ebp + 0x140]
push eax
push str._s_s_
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040ada0
push 0x61da00
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00418de0
add esp, 0x1c
mov byte [ebp - 4], 6
mov eax, dword [eax]
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00401aa0
cmp edi, 0xffffffff
je 0x45df28
lea edx, [ebp]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x45df16
jmp 0x45dec0
lea eax, [ebp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45dec6
sub eax, edx
push eax
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401c00
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00418d30
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push eax
call ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00401aa0
lea ecx, [ebp]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45dec0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x45df28
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00401aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401aa0
xor ebx, ebx
push ebx
push 0x612ba8
lea ecx, [esi + 0x1f8]
call fcn.00401c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.005bf6a4
add ebp, 0x244
mov esp, ebp
pop ebp
ret