Function at 0x409f60
Capabilities:
Delete directory
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7b15
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x65e374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x174], esi
push str..
lea edx, [ebx + 8]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x44]
call fcn.004083c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x170]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.005d6fff
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x40a1b0
lea eax, [ebp - 0x170]
push eax
push edi
call fcn.005d700a
add esp, 8
test eax, eax
jne 0x40a1b0
nop
mov ecx, 0x62e3b0
lea eax, [ebp - 0x14c]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a030
test dl, dl
je 0x40a02c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a030
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a010
xor eax, eax
jmp 0x40a035
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a198
mov eax, 0x62e3b4
lea ecx, [ebp - 0x14c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x40a068
test dl, dl
je 0x40a064
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40a068
add ecx, 2
add eax, 2
test dl, dl
jne 0x40a048
xor eax, eax
jmp 0x40a06d
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a198
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18c]
mov eax, dword [ebx + 0x18]
or esi, 2
inc eax
mov dword [ebp - 0x17c], 0
push eax
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
mov dword [ebp - 0x174], esi
call fcn.00407930
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00405d30
push 0x62debc
lea ecx, [ebp - 0x18c]
call fcn.00403690
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.00403690
mov dword [ebp - 0x1c], 0
and esi, 0xfffffffd
mov dword [ebp - 0x18], 0
or esi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x40a152
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a274
push edx
push ecx
call fcn.005b8996
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40a198
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a18e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a274
push edx
push ecx
call fcn.005b8996
add esp, 8
lea eax, [ebp - 0x170]
push eax
push edi
call fcn.005d700a
add esp, 8
test eax, eax
je 0x40a000
push edi
call fcn.005d6fd9
sub esp, 0x14
lea eax, [ebx + 8]
mov ecx, esp
push eax
call fcn.00405df0
call fcn.0040a280
add esp, 0x18
test al, al
je 0x40a1e2
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x40a212
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a208
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a274
push edx
push ecx
call fcn.005b8996
add esp, 8
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x40a254
mov ecx, dword [ebx + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a24a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a279
push edx
push ecx
call fcn.005b8996
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b8427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005d36fe
call fcn.005d36fe
int3