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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5c72
mov eax, dword fs:[0]
push eax
sub esp, 0x6c4
mov eax, dword [0x4e2018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x10]
movups xmmword [ebp - 0x434], xmm0
mov dword [ebp - 0x424], 0
push 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call fcn.004865a5
lea ecx, [ebp - 0x434]
mov dword [eax + 4], 0
mov dword [ebp - 0x434], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x448], xmm0
mov dword [ebp - 0x438], 0
push 8
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
call fcn.004865a5
lea ecx, [ebp - 0x448]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x448], eax
mov dword [eax], ecx
mov ecx, edi
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a841
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x460]
call fcn.0042c6a0
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x448]
call fcn.0045cba0
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.0042c640
mov ecx, edi
mov dword [ebp - 0x460], 0
xor eax, eax
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a8b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x460]
call fcn.0042c6a0
lea eax, [ebp - 0x460]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x434]
call fcn.0045cba0
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.0042c640
cmp dword [ebp - 0x424], 0
je 0x45ab96
nop
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
dec ecx
and ecx, dword [ebp - 0x428]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x460]
call fcn.0045ccc0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x430]
dec ecx
and ecx, dword [ebp - 0x428]
mov ecx, dword [eax + ecx*4]
call fcn.0042c640
sub dword [ebp - 0x424], 1
jne 0x45a955
mov dword [ebp - 0x428], 0
jmp 0x45a95b
inc dword [ebp - 0x428]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00488c10
cmp dword [ebp - 0x44c], 8
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x420]
push 0x4cb9fc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x4cc838
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6d0]
push 0
push eax
call fcn.00488c10
add esp, 0xc
lea eax, [ebp - 0x6d0]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45ab7a
nop
cmp word [ebp - 0x6a4], 0x2e
je 0x45ab5d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00488c10
cmp dword [ebp - 0x44c], 8
lea ecx, [ebp - 0x6a4]
push ecx
lea eax, [ebp - 0x460]
cmovae eax, dword [ebp - 0x460]
push eax
lea eax, [ebp - 0x218]
push 0x4cc82c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6d0], 0x10
je 0x45ab50
test esi, esi
je 0x45aa5b
lea eax, [ebp - 0x6a4]
push eax
push esi
call fcn.004982d0
add esp, 8
test eax, eax
je 0x45ab5d
xor eax, eax
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
lea edx, [ecx + 2]
mov word [ebp - 0x478], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45aa90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x478]
call fcn.0042c6a0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x434]
call fcn.0045cba0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 4
call fcn.0042c640
xor eax, eax
mov dword [ebp - 0x478], 0
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x468], 0
lea edx, [eax + 2]
mov dword [ebp - 0x464], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ab07
sub eax, edx
lea ecx, [ebp - 0x478]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042c6a0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x448]
call fcn.0045cba0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 4
call fcn.0042c640
jmp 0x45ab5d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6d0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a9e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.0042c640
cmp dword [ebp - 0x424], 0
jne 0x45a900
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x45ac41
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edi, [ebp - 0x448]
mov eax, dword [ebp - 0x43c]
add eax, ecx
mov ecx, dword [edi + 8]
dec ecx
dec eax
and ecx, eax
mov eax, dword [edi + 4]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x478]
call fcn.0045ccc0
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x438]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x440]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax + ecx*4]
call fcn.0042c640
sub dword [ebp - 0x438], 1
mov ecx, 0
mov eax, dword [ebp - 0x43c]
cmove eax, ecx
cmp dword [ebp - 0x464], 8
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
push eax
call esi
lea ecx, [ebp - 0x478]
call fcn.0042c640
mov ecx, dword [ebp - 0x438]
test ecx, ecx
jne 0x45abb0
lea ecx, [ebp - 0x448]
call fcn.0045cae0
lea ecx, [ebp - 0x434]
call fcn.0045cae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486589
mov esp, ebp
pop ebp
ret 0xc