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

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 0x4cf032
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c8
mov eax, dword [0x5000a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0
push 8
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
call fcn.0049cf47
lea ecx, [ebp - 0x43c]
mov dword [eax + 4], 0
mov dword [ebp - 0x43c], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x440], 0
push 8
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
call fcn.0049cf47
lea ecx, [ebp - 0x450]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x450], eax
mov dword [eax], ecx
cmp dword [ebx + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4538f6
mov ecx, esi
mov dword [ebp - 0x468], 0
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453880
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x468]
call fcn.004263f0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x450]
call fcn.00457ef0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x4538f6
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4538ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push edx
push ecx
call fcn.0049cf77
add esp, 8
mov ecx, esi
mov dword [ebp - 0x468], 0
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453922
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x468]
call fcn.004263f0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x43c]
call fcn.00457ef0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x453998
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45398e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push edx
push ecx
call fcn.0049cf77
add esp, 8
cmp dword [ebp - 0x42c], 0
je 0x453ddb
nop word [eax + eax]
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x430]
mov esi, dword [ebp - 0x438]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x6bc], eax
jb 0x4539f9
mov edi, dword [edi]
cmp eax, 8
jae 0x453a14
movups xmm0, xmmword [edi]
mov dword [ebp - 0x454], 7
movups xmmword [ebp - 0x468], xmm0
jmp 0x453a72
mov esi, eax
lea ecx, [ebp - 0x468]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004267d0
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x468], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049e850
mov eax, dword [ebp - 0x6bc]
add esp, 0xc
mov edx, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x438]
mov dword [ebp - 0x458], eax
dec ecx
mov byte [ebp - 4], 4
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426390
sub dword [ebp - 0x42c], 1
jne 0x453a9c
mov dword [ebp - 0x430], 0
jmp 0x453aa2
inc dword [ebp - 0x430]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0049edd0
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x428]
push 0x4e8dec
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x4e9c30
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.0049edd0
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x453d8a
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x453d6d
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0049edd0
cmp dword [ebp - 0x454], 8
lea ecx, [ebp - 0x68c]
push ecx
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x220]
push 0x4e9c38
push eax
call esi
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x453d60
xor eax, eax
mov dword [ebp - 0x6d4], 0
mov word [ebp - 0x6d4], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x6c4], 0
lea edx, [eax + 2]
mov dword [ebp - 0x6c0], 7
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453bc0
sub eax, edx
lea ecx, [ebp - 0x6d4]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004263f0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x434]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x453c11
push ecx
lea ecx, [ebp - 0x43c]
call fcn.004588e0
mov edx, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x430]
dec ecx
and eax, ecx
mov dword [ebp - 0x430], eax
add eax, edx
and ecx, eax
mov eax, dword [ebp - 0x438]
lea esi, [ecx*4]
cmp dword [esi + eax], 0
jne 0x453c50
push 0x18
call fcn.0049cf47
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x438]
mov eax, dword [esi + eax]
lea ecx, [ebp - 0x220]
movups xmm0, xmmword [ebp - 0x6d4]
lea edx, [ecx + 2]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6c4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x42c]
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x6d4], 0
mov dword [ebp - 0x6c4], 0
mov dword [ebp - 0x6c0], 7
mov word [ebp - 0x6d4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x453ca4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6d4]
call fcn.004263f0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x448]
lea eax, [edx + 1]
cmp ecx, eax
ja 0x453cf5
push ecx
lea ecx, [ebp - 0x450]
call fcn.004588e0
mov edx, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x444]
dec ecx
and eax, ecx
mov dword [ebp - 0x444], eax
add eax, edx
and ecx, eax
mov eax, dword [ebp - 0x44c]
lea esi, [ecx*4]
cmp dword [esi + eax], 0
jne 0x453d34
push 0x18
call fcn.0049cf47
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x44c]
mov eax, dword [esi + eax]
movups xmm0, xmmword [ebp - 0x6d4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6c4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x440]
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x453d6d
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6b8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x453b30
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x453dce
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453dc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push edx
push ecx
call fcn.0049cf77
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x4539b0
cmp dword [ebp - 0x440], 0
je 0x453f50
nop dword [eax + eax]
mov ecx, dword [ebp - 0x448]
mov edx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x44c]
lea eax, [ecx - 1]
and eax, edx
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x6bc], eax
jb 0x453e39
mov edi, dword [edi]
cmp eax, 8
jae 0x453e54
movups xmm0, xmmword [edi]
mov dword [ebp - 0x454], 7
movups xmmword [ebp - 0x468], xmm0
jmp 0x453eb2
mov esi, eax
lea ecx, [ebp - 0x468]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004267d0
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x468], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.0049e850
mov eax, dword [ebp - 0x6bc]
add esp, 0xc
mov edx, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x454], esi
mov esi, dword [ebp - 0x44c]
dec ecx
mov dword [ebp - 0x458], eax
and ecx, edx
mov ecx, dword [esi + ecx*4]
call fcn.00426390
sub dword [ebp - 0x440], 1
jne 0x453ed8
mov dword [ebp - 0x444], 0
jmp 0x453ede
inc dword [ebp - 0x444]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x453f39
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453f2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push edx
push ecx
call fcn.0049cf77
add esp, 8
cmp dword [ebp - 0x440], 0
jne 0x453df0
nop word [eax + eax]
mov esi, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
test esi, esi
je 0x453f84
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x453f7a
push 0x18
push eax
call fcn.0049cf77
mov ecx, dword [ebp - 0x44c]
add esp, 8
test esi, esi
jne 0x453f60
mov esi, dword [ebp - 0x448]
test ecx, ecx
je 0x453fb3
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x453fa9
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push esi
push ecx
call fcn.0049cf77
add esp, 8
mov eax, dword [ebp - 0x450]
push 8
push eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x450], 0
call fcn.0049cf77
mov eax, dword [ebp - 0x42c]
add esp, 8
test eax, eax
je 0x454033
mov ecx, dword [ebp - 0x430]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x434]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax + ecx*4]
call fcn.00426390
mov eax, dword [ebp - 0x42c]
mov edx, 0
mov ecx, dword [ebp - 0x430]
sub eax, 1
mov dword [ebp - 0x42c], eax
cmove ecx, edx
mov dword [ebp - 0x430], ecx
test eax, eax
jne 0x453ff2
mov esi, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
test esi, esi
je 0x454067
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45405d
push 0x18
push eax
call fcn.0049cf77
mov ecx, dword [ebp - 0x438]
add esp, 8
test esi, esi
jne 0x454043
mov esi, dword [ebp - 0x434]
test ecx, ecx
je 0x454092
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x454088
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4540e1
push esi
push ecx
call fcn.0049cf77
add esp, 8
mov eax, dword [ebp - 0x43c]
push 8
push eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x43c], 0
call fcn.0049cf77
add esp, 8
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.0049d3ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004a1aff
int3