Function at 0x45f310
Capabilities:
Delete directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d1fd
mov eax, dword fs:[0]
push eax
sub esp, 0x8c0
mov eax, dword [0x596634]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8a4], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8bc], esi
test esi, esi
je 0x45f913
cmp word [esi], 0
je 0x45f913
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f366
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x45f913
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x5509d4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x438]
push eax
call fcn.004328b0
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x45f3c8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x8c0]
call fcn.004155f0
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 2
call fcn.004218e0
call fcn.00456bf0
mov ecx, eax
call fcn.00456bd0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x8c4], eax
call fcn.00456bf0
mov ecx, eax
call fcn.00456bd0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
mov dword [ebp - 0x440], 0
mov ecx, 0x104
cmovle eax, ecx
mov dword [ebp - 0x8c8], eax
mov eax, 0x5c
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x43c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
or ebx, 0xffffffff
cmp eax, 0x104
jge 0x45f821
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x870]
push 0x104
push eax
call fcn.0050799f
push eax
call fcn.0041d8e0
add esp, 0x10
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x440], eax
cmp eax, ebx
je 0x45f821
push 0
lea eax, [ebp - 0x64c]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x45f4f0
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x45f4e3
cmp eax, ebx
je 0x45f4e3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x440], 0
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x45f821
lea eax, [ebp - 0x64c]
push 0x5c
push eax
call fcn.004de458
mov esi, eax
lea eax, [ebp - 0x64c]
push 0x2f
push eax
call fcn.004de458
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x45f521
test esi, esi
je 0x45f53c
lea ecx, [ebp - 0x64c]
test esi, esi
lea eax, [ebp - 0x64c]
cmovne eax, esi
cmp ecx, eax
jb 0x45f537
xor eax, eax
mov word [ecx], ax
jmp 0x45f53c
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 0x43c], 1
cmp dword [ebp - 0x43c], 0
je 0x45f5ac
mov eax, dword [ebp - 0x89c]
shr eax, 4
and eax, 1
je 0x45f5ac
cmp word [ebp - 0x870], 0x2e
jne 0x45f5ac
mov ax, word [ebp - 0x86e]
test ax, ax
je 0x45f583
cmp ax, 0x2e
jne 0x45f5ac
cmp word [ebp - 0x86c], 0
jne 0x45f5ac
mov eax, dword [ebp - 0x440]
test eax, eax
je 0x45f81b
lea ecx, [ebp - 0x89c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x43c], edi
jmp 0x45f80d
lea eax, [ebp - 0x8b8]
push eax
lea ecx, [ebp - 0x89c]
call fcn.00431da0
lea eax, [ebp - 0x8a0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x89c]
call fcn.00431cf0
mov eax, dword [ebp - 0x8a0]
mov byte [ebp - 4], 5
mov esi, dword [eax - 0xc]
test esi, esi
js 0x45f931
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x45f60c
push esi
lea ecx, [ebp - 0x8a0]
call fcn.0040cad0
mov eax, dword [ebp - 0x8a0]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004e8de8
mov eax, dword [ebp - 0x8a0]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x45f931
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x8a0]
mov word [eax + esi*2], cx
push dword [ebp - 0x8c0]
mov esi, dword [ebp - 0x8b8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
push dword [ebp - 0x8a0]
mov ebx, eax
mov eax, dword [ebp - 0x8c4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jne 0x45f6c7
push esi
call fcn.00474780
add esp, 4
test eax, eax
jne 0x45f6c7
push dword [ebp - 0x8a0]
call fcn.00433f90
add esp, 4
test eax, eax
jne 0x45f6c7
test ebx, ebx
jne 0x45f6c7
lea ecx, [ebp - 0x89c]
call fcn.00431620
push dword [ebp - 0x8a0]
mov edi, eax
push str.File_NOT_exists_in_xml:__s
call fcn.00456fb0
add esp, 8
lea ecx, [ebp - 0x8a0]
call fcn.0040d150
lea ecx, [ebp - 0x8b8]
mov byte [ebp - 4], 3
call fcn.0040d150
or ebx, 0xffffffff
jmp 0x45f80d
cmp dword [ebp - 0x43c], 0
je 0x45f6f1
mov eax, dword [ebp - 0x89c]
shr eax, 4
and eax, 1
je 0x45f6f1
lea ebx, [edi + 4]
push ebx
lea eax, [edi + 0xc]
push eax
push esi
call fcn.00436730
add esp, 0xc
jmp 0x45f714
lea ebx, [edi + 4]
push ebx
lea eax, [edi + 0xc]
push eax
push esi
call fcn.00436190
add esp, 0xc
test eax, eax
je 0x45f714
push esi
push str.Delete_File:__s
call fcn.00456fb0
add esp, 8
mov eax, dword [ebp - 0x440]
test eax, eax
jne 0x45f722
xor edi, edi
jmp 0x45f745
cmp dword [ebp - 0x43c], 0
jne 0x45f72f
xor edi, edi
jmp 0x45f745
lea ecx, [ebp - 0x89c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x43c], edi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x8c8]
cmp eax, ecx
jge 0x45f7ce
movd xmm1, eax
movd xmm0, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [ebp - 0x8a4]
mov dword [ebp - method.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x8b0], 0x45e2b0
mov dword [ebp - 0x8ac], ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x55a69c]
addss xmm1, dword [0x55a698]
cvttss2si eax, xmm1
mov dword [ebp - 0x8a8], eax
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 6
push eax
call fcn.0044f390
add esp, 4
mov dword [ebp - method.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x8ac], 0
mov edx, dword [ebp - 0x8a0]
or ebx, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f7f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45f80d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x8a4]
jne 0x45f546
mov esi, dword [ebp - 0x8bc]
mov dword [ebp - method.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x8b0], 0x45e2b0
mov dword [ebp - 0x8ac], edi
mov dword [ebp - 0x8a8], 0x5f
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 7
push eax
call fcn.0044f390
mov eax, dword [ebp - 0x440]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 3
mov dword [ebp - method.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.virtual_0], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x8ac], 0
mov dword [ebp - 0x43c], 0
test eax, eax
je 0x45f8a6
cmp eax, 0xffffffff
je 0x45f8a6
push eax
call edi
mov dword [ebp - 0x440], 0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov edx, str.failed.
mov ecx, str.suceess
cmove ecx, edx
push ecx
push esi
push str.remove_directory__s__s
call fcn.00456fb0
mov eax, dword [ebp - 0x440]
add esp, 0xc
mov dword [ebp - 0x43c], 0
test eax, eax
je 0x45f8f1
cmp eax, 0xffffffff
je 0x45f8f1
push eax
call edi
mov dword [ebp - 0x440], 0
mov edx, dword [ebp - 0x8c0]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45f913
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496d46
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040af60
int3