Function at 0x102f91e
Capabilities:
Delete directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1046190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, 0x208
push esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0x46c], ebx
mov edi, 0x104
je 0x102f9a8
push esi
push ebx
call fcn.01043562
test eax, eax
jl 0x102f99a
push edi
lea eax, [ebp - 0x464]
push eax
push 2
push dword [0x1047500]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
call fcn.01032458
lea eax, [ebp - 0x464]
push eax
push edi
push ebx
call fcn.01028adc
push ebx
call fcn.01033ed9
test eax, eax
jne 0x102f9a8
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
and dword [ebp - 0x46c], 0
pop ecx
push esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ebx, eax
test ebx, ebx
pop ecx
mov dword [ebp - 0x474], ebx
je 0x102f9f6
and word [ebx], 0
lea eax, [ebp - 0x478]
push eax
push ebx
push 1
mov dword [ebp - 0x478], edi
call fcn.01031656
test eax, eax
je 0x102f9e2
push ebx
call fcn.01033ed9
test eax, eax
jne 0x102f9f6
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
and dword [ebp - 0x474], 0
mov ebx, dword [ebp - 0x474]
pop ecx
push esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
test eax, eax
pop ecx
mov dword [ebp - 0x468], eax
je 0x102fa42
lea ecx, [ebp - 0x478]
push ecx
push eax
push 1
mov dword [ebp - 0x478], edi
call fcn.01030fc1
test eax, eax
je 0x102fa2f
push dword [ebp - 0x468]
call fcn.01033ed9
test eax, eax
jne 0x102fa42
push dword [ebp - 0x468]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
and dword [ebp - 0x468], 0
pop ecx
push esi
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 0x470], esi
je 0x102fa8c
push 4
lea eax, [ebp - 0x478]
push eax
push esi
mov dword [ebp - 0x478], edi
call fcn.0103103f
test eax, eax
je 0x102fa78
push esi
call fcn.01033ed9
test eax, eax
jne 0x102fa8c
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
and dword [ebp - 0x470], 0
mov esi, dword [ebp - 0x470]
pop ecx
cmp dword [ebp - 0x46c], 0
jne 0x102faa9
test ebx, ebx
jne 0x102faa9
cmp dword [ebp - 0x468], ebx
jne 0x102faa9
test esi, esi
je 0x102fd2d
push dword [ebp - 0x46c]
call fcn.01032458
push ebx
call fcn.01032458
push dword [ebp - 0x468]
call fcn.01032458
push esi
call fcn.01032458
and dword [ebp - 0x47c], 0
mov ebx, 0x10062d8
mov esi, 0x12b
mov eax, dword [ebp - 0x47c]
sub eax, 0
push edi
je 0x102fb3a
dec eax
je 0x102fb2f
dec eax
je 0x102fb24
dec eax
je 0x102fb19
dec eax
je 0x102fb0e
dec eax
je 0x102fb03
dec eax
lea eax, [ebp - 0x20c]
push eax
push 0x10
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 0x11
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 0xe
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 0xf
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 0xb
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 3
jmp 0x102fb43
lea eax, [ebp - 0x20c]
push eax
push 0x6e
push dword [0x1047500]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp dword [ebp - 0x46c], 0
je 0x102fb87
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x46c]
lea eax, [ebp - 0x464]
push ebx
push esi
push eax
call fcn.01028b64
add esp, 0x14
test eax, eax
jl 0x102fb87
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x474], 0
je 0x102fbbf
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x474]
lea eax, [ebp - 0x464]
push ebx
push esi
push eax
call fcn.01028b64
add esp, 0x14
test eax, eax
jl 0x102fbbf
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x468], 0
je 0x102fbf7
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x468]
lea eax, [ebp - 0x464]
push ebx
push esi
push eax
call fcn.01028b64
add esp, 0x14
test eax, eax
jl 0x102fbf7
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x470], 0
je 0x102fc2f
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x470]
lea eax, [ebp - 0x464]
push ebx
push esi
push eax
call fcn.01028b64
add esp, 0x14
test eax, eax
jl 0x102fc2f
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 0x47c]
cmp dword [ebp - 0x47c], 7
jl 0x102fadc
cmp dword [ebp - 0x46c], 0
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 5
pop ebx
je 0x102fc7f
push dword [ebp - 0x46c]
call edi
push 0
push dword [ebp - 0x46c]
push ebx
push 0x10
call esi
push 0
push dword [ebp - 0x46c]
push ebx
push 0x1000
call esi
cmp dword [ebp - 0x474], 0
je 0x102fc9d
push dword [ebp - 0x474]
call edi
push 0
push dword [ebp - 0x474]
push ebx
push 0x10
call esi
cmp dword [ebp - 0x468], 0
je 0x102fcbb
push dword [ebp - 0x468]
call edi
push 0
push dword [ebp - 0x468]
push ebx
push 0x10
call esi
cmp dword [ebp - 0x470], 0
je 0x102fcd9
push dword [ebp - 0x470]
call edi
push 0
push dword [ebp - 0x470]
push ebx
push 0x10
call esi
cmp dword [ebp - 0x46c], 0
je 0x102fcee
push dword [ebp - 0x46c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x474], 0
je 0x102fd03
push dword [ebp - 0x474]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x468], 0
je 0x102fd18
push dword [ebp - 0x468]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x470], 0
je 0x102fd2d
push dword [ebp - 0x470]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01031a01
leave
ret