Function at 0x40ad00
Capabilities:
Delete directory
Delete file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x466492
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
mov ecx, 0x48d2c8
mov dword [esp + 0x18], ebx
call fcn.0041f330
mov eax, dword [0x48d254]
mov byte [0x48d267], 1
cmp eax, 0xffffffff
je 0x40ad4f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [0x48e82c], ebx
jle 0x40ad90
xor esi, esi
jmp 0x40ad60
cmp esi, ebx
jl 0x40afe8
cmp edi, dword [0x48e820]
jge 0x40afe8
mov eax, dword [0x48e81c]
mov eax, dword [esi + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
add esi, 0xc
cmp edi, dword [0x48e82c]
jl 0x40ad60
cmp byte [0x48d268], bl
jne 0x40afd4
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 2
push ecx
call fcn.00424800
lea edx, [esp + 0x40]
add esp, 8
push edx
call fcn.00404d70
add esp, 0x10
push 0x46e1b0
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], ebx
call fcn.00425100
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.00425440
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 2
call fcn.004252e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.004252d0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call fcn.00425440
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 3
call fcn.004252e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 1
call fcn.004252d0
xor edi, edi
cmp dword [0x48e888], ebx
jle 0x40af64
xor esi, esi
lea ebp, [edi + 6]
lea ecx, [ecx]
push 0
sub esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00425170
mov byte [esp + 0x68], 4
test esi, esi
jl 0x40afe8
cmp edi, dword [0x48e87c]
jge 0x40afe8
mov eax, dword [0x48e878]
lea edx, [esp + 0x54]
lea ecx, [esi + eax]
push edx
call fcn.00425440
or ebx, 1
mov byte [esp + 0x68], 5
mov dword [esp + 0x28], ebx
mov ecx, eax
mov dword [esp + 0x68], ebp
call fcn.004254c0
test eax, eax
jg 0x40aefa
push 0
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00425170
cmp edi, dword [0x48e87c]
mov dword [esp + 0x68], 7
jge 0x40afe8
mov ecx, dword [0x48e878]
lea edx, [esp + 0x48]
add ecx, esi
push edx
call fcn.00425440
or ebx, 2
mov byte [esp + 0x68], 8
mov dword [esp + 0x28], ebx
mov ecx, eax
mov dword [esp + 0x68], 9
call fcn.004254c0
mov byte [esp + 0x17], 0
test eax, eax
jle 0x40aeff
mov byte [esp + 0x17], 1
mov dword [esp + 0x58], ebp
test bl, 2
je 0x40af18
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.004252d0
mov dword [esp + 0x58], 1
test bl, 1
je 0x40af31
lea ecx, [esp + 0x44]
and ebx, 0xfffffffe
call fcn.004252d0
cmp byte [esp + 0x17], 0
jne 0x40af54
cmp edi, dword [0x48e87c]
jge 0x40afe8
mov eax, dword [0x48e878]
mov eax, dword [esi + eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
add esi, 0xc
cmp edi, dword [0x48e888]
jl 0x40ae40
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x46df54
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor edi, edi
cmp dword [0x48e8a8], edi
jle 0x40afb5
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor esi, esi
lea esp, [esp]
test esi, esi
jl 0x40afe8
cmp edi, dword [0x48e89c]
jge 0x40afe8
mov ecx, dword [0x48e898]
mov eax, dword [esi + ecx + 4]
push eax
call ebx
inc edi
add esi, 0xc
cmp edi, dword [0x48e8a8]
jl 0x40af90
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0
call fcn.004252d0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004252d0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
call fcn.004354cd
int3