Function at 0x446f2b
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
mov eax, 0x482fe0
call fcn.0045c5c4
sub esp, 0x128
mov eax, dword [0x4a94a4]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 5
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
call fcn.0046c5c5
cmp byte [edi + 0x2ee], 0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x446fb8
push ecx
lea eax, [edi + 0x2f0]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0046c1fd
lea eax, [ebp - 0x18]
push eax
call fcn.0044f275
pop ecx
pop ecx
push dword [eax]
call esi
lea ecx, [ebp - 0x18]
call fcn.0046c488
lea ebx, [edi + 0x5c]
push dword [ebx]
call esi
push dword [edi + 0x60]
call esi
lea ecx, [edi + 0x64]
push 0x4a0c5c
call fcn.00469fb5
push 0x4a0c5c
lea ecx, [edi + 0x64]
call fcn.00469ed4
push dword [edi + 0x64]
call esi
push dword [edi + 0x68]
call esi
lea eax, [ebp - 0x30]
push str.irsetup.exe
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046c6d1
push dword [eax]
call esi
lea ecx, [ebp - 0x18]
call fcn.0046c488
mov eax, dword [ebx]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x447036
cmp byte [eax + 1], cl
jne 0x447036
push 2
push 0x5c
mov ecx, ebx
call fcn.0046c911
cmp eax, 0xffffffff
je 0x44705c
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00469aa1
mov byte [ebp - 4], 6
jmp 0x447047
lea eax, [ebp - 0x18]
push 2
push eax
mov ecx, ebx
call fcn.00469aa1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
push eax
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046c488
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00469a25
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046c488
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00469b19
cmp eax, 0xffffffff
je 0x4470c1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00469aa1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0046c488
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046c66b
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x44711b
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00469b19
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00469aa1
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c488
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046c66b
push dword [eax]
call ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
call fcn.0046c488
cmp dword [ebp - 0x18], 0
jne 0x4470da
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x24]
call fcn.0046c5c5
push ecx
lea eax, [edi + 0x258]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0046c1fd
lea eax, [ebp - 0x10]
push eax
call fcn.0044f275
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0046c854
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c488
push dword [ebp - 0x24]
push 3
call fcn.0041ec88
pop ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str._SCFOLDERPATH_
call fcn.0046c4f6
lea eax, [ebp - 0x10]
push eax
call fcn.0044f275
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c488
push ecx
add edi, 0x260
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0046c1fd
lea eax, [ebp - 0x10]
push eax
call fcn.0044f275
push dword [eax]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push dword [ebp - 0x1c]
push str._s_s.lnk
push eax
call fcn.00469ec1
add esp, 0x18
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c488
push dword [ebp - 0x2c]
call esi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str._SCFOLDERPATH_
call fcn.0046c4f6
lea eax, [ebp - 0x10]
push eax
call fcn.0044f275
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
jmp 0x447233
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00469b19
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00469aa1
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
push eax
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046c488
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x447218
xor esi, esi
push esi
push dword [ebp - 0x1c]
call fcn.0045de34
pop ecx
pop ecx
push esi
push dword [ebp - 0x1c]
test eax, eax
push 1
jne 0x44726f
push 0x1000
jmp 0x447271
push 0x10
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0046c488
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0046c488
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0046c488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0046c488
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0046c488
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0046c488
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret