Function at 0x140061d30
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1638
call fcn.1401fe1f0
sub rsp, rax
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov rax, qword [0x140322b20]
xor rax, rsp
mov qword [rsp + 0x1620], rax
mov dword [rsp + 0x964], 1
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x6e0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x1650]
add rax, 0x288
mov rdx, rax
mov rcx, qword [rsp + 0xe8]
call fcn.14001f3a0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x1650]
add rax, 0x208
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14001f3a0
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x964]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0x980]
lea rcx, [0x14032afd8]
call fcn.1400305e0
nop
lea rdx, [0x14025f5dc]
lea rcx, [rsp + 0x980]
call fcn.140040d10
lea rcx, [rsp + 0x980]
call fcn.140021b20
mov rcx, qword [rsp + 0x1650]
add rcx, 0x310
mov rdx, rax
call fcn.140025d80
test eax, eax
jne 0x140061f41
lea r8, [0x14025fb88]
lea rdx, [rsp + 0xd00]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0xd00]
mov rcx, qword [rsp + 0x160]
call fcn.14001f3a0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rdx, [0x14025fba0]
mov rcx, qword [rsp + 0x130]
call fcn.14001f4b0
mov qword [rsp + 0x170], rax
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0x170]
mov edx, 2
mov rcx, qword [rsp + 0x1650]
call fcn.1400618f0
mov rax, qword [rsp + 0x1650]
add rax, 0x508
lea rdx, [rsp + 0xd00]
mov rcx, rax
call fcn.1400211f0
nop
lea rcx, [rsp + 0xd00]
call fcn.140020590
nop
lea rcx, [rsp + 0x980]
call fcn.140020590
jmp 0x14006283b
mov rcx, qword [rsp + 0x1650]
call fcn.14005a820
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x1650]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xa00]
call fcn.14001f3a0
nop
lea rdx, [0x14025f99c]
lea rcx, [rsp + 0xa00]
call fcn.1400247d0
lea rdx, [0x14025fbb0]
lea rcx, [rsp + 0xa00]
call fcn.140022f20
mov dword [rsp + 0x968], 0
lea rcx, [rsp + 0xb00]
call fcn.14001f530
nop
lea r9, [rsp + 0xb00]
lea r8, [rsp + 0x968]
lea rdx, [rsp + 0xa00]
mov rcx, qword [rsp + 0x1650]
call fcn.14005c180
test eax, eax
jne 0x140062100
lea rcx, [rsp + 0xb00]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025fbe8]
lea rdx, [rsp + 0xc00]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rax, [rsp + 0x5e0]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xc00]
mov rcx, qword [rsp + 0xb0]
call fcn.14001f3a0
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x148], rax
lea rdx, [0x14025fc10]
mov rcx, qword [rsp + 0xc0]
call fcn.14001f4b0
mov qword [rsp + 0xd0], rax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0xd0]
mov edx, 2
mov rcx, qword [rsp + 0x1650]
call fcn.1400618f0
mov rax, qword [rsp + 0x1650]
add rax, 0x508
lea rdx, [rsp + 0xc00]
mov rcx, rax
call fcn.1400211f0
nop
lea rcx, [rsp + 0xc00]
call fcn.140020590
nop
lea rcx, [rsp + 0xb00]
call fcn.140020590
nop
lea rcx, [rsp + 0xa00]
call fcn.140020590
nop
lea rcx, [rsp + 0x980]
call fcn.140020590
jmp 0x14006283b
lea rax, [rsp + 0x360]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x460]
mov qword [rsp + 0x138], rax
lea rdx, [0x14025fc28]
mov rcx, qword [rsp + 0x168]
call fcn.14001f4b0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xf0], rax
lea rdx, [0x14025fc40]
mov rcx, qword [rsp + 0x138]
call fcn.14001f4b0
mov qword [rsp + 0x140], rax
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x140]
mov edx, 1
mov rcx, qword [rsp + 0x1650]
call fcn.1400618f0
mov edx, 0x450
lea rcx, [rsp + 0xd80]
call fcn.1400475d0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd80]
call fcn.14001e7b0
nop
lea rax, [rsp + 0x560]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x1650]
add rax, 0x610
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.14001f3a0
mov qword [rsp + 0x150], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x150]
lea rcx, [rsp + 0xd80]
call fcn.1400416e0
test eax, eax
jne 0x140062312
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x30]
lea r8, [0x14025fc78]
lea rdx, [rsp + 0xc80]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rax, [rsp + 0x660]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x760]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xc80]
mov rcx, qword [rsp + 0x110]
call fcn.14001f3a0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea rdx, [0x14025fcb0]
mov rcx, qword [rsp + 0x68]
call fcn.14001f4b0
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x88]
mov edx, 2
mov rcx, qword [rsp + 0x1650]
call fcn.1400618f0
mov rax, qword [rsp + 0x1650]
add rax, 0x508
lea rdx, [rsp + 0xc80]
mov rcx, rax
call fcn.1400211f0
nop
lea rcx, [rsp + 0xc80]
call fcn.140020590
nop
lea rcx, [rsp + 0xd80]
call fcn.140020110
nop
lea rcx, [rsp + 0xb00]
call fcn.140020590
nop
lea rcx, [rsp + 0xa00]
call fcn.140020590
nop
lea rcx, [rsp + 0x980]
call fcn.140020590
jmp 0x14006283b
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0xb8], rax
lea rdx, [0x14025fcc0]
mov rcx, qword [rsp + 0x98]
call fcn.14001c4e0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1650]
add rax, 0x310
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.14001c4e0
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd8]
lea rcx, [0x14032af98]
call fcn.14002a310
mov rax, qword [rsp + 0x1650]
add rax, 0x310
mov rcx, rax
call fcn.140021b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x1650]
call fcn.140059330
test eax, eax
jne 0x1400624ee
lea r8, [0x14025fd20]
lea rdx, [rsp + 0xb80]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rax, [rsp + 0x8e0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x860]
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0xb80]
mov rcx, qword [rsp + 0x50]
call fcn.14001f3a0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x38], rax
lea rdx, [0x14025fd48]
mov rcx, qword [rsp + 0x108]
call fcn.14001f4b0
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov edx, 2
mov rcx, qword [rsp + 0x1650]
call fcn.1400618f0
mov rax, qword [rsp + 0x1650]
add rax, 0x508
lea rdx, [rsp + 0xb80]
mov rcx, rax
call fcn.1400211f0
nop
lea rcx, [rsp + 0xb80]
call fcn.140020590
nop
lea rcx, [rsp + 0xd80]
call fcn.140020110
nop
lea rcx, [rsp + 0xb00]
call fcn.140020590
nop
lea rcx, [rsp + 0xa00]
call fcn.140020590
nop
lea rcx, [rsp + 0x980]
call fcn.140020590
jmp 0x14006283b
mov rax, qword [rsp + 0x1650]
mov dword [rax + 0x608], 1
lea rcx, [rsp + 0x970]
call fcn.140063960
nop
lea rcx, [rsp + 0x970]
call fcn.1400639e0
lea rdx, str.TermService
lea rcx, [rsp + 0xa80]
call fcn.14001f4b0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x118], eax
mov edx, 0x450
lea rcx, [rsp + 0x11d0]
call fcn.1400475d0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x11d0]
call fcn.14001e7b0
nop
lea rax, [rsp + 0x260]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xa80]
mov rcx, qword [rsp + 0x48]
call fcn.14001f3a0
mov qword [rsp + 0x128], rax
lea r8, [rsp + 0x960]
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x11d0]
call fcn.140030e20
test eax, eax
je 0x1400626ce
mov edx, dword [rsp + 0x960]
lea rcx, [0x14032b000]
call fcn.140036640
test eax, eax
je 0x140062652
lea r9, str.InstallDlg.cpp:CInstallDlg::UnInstallThreadFun__:Line_1584
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x240]
call fcn.140038d20
lea rcx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xa80]
call fcn.14002f250
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x1c0]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r9d, dword [rsp + 0x960]
mov r8, rax
lea rdx, str._tRDP_Service__s_kill_success_pid_lu._n
lea rcx, [rsp + 0x180]
call fcn.14003b980
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400626ce
lea r9, str.InstallDlg.cpp:CInstallDlg::UnInstallThreadFun__:Line_1589
xor r8d, r8d
mov edx, 3
lea rcx, [rsp + 0x230]
call fcn.140038d20
lea rcx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xa80]
call fcn.14002f250
lea rcx, [rsp + 0x1b0]
lea rdx, [rsp + 0x190]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r9d, dword [rsp + 0x960]
mov r8, rax
lea rdx, str._tRDP_Service__s_kill_failed_pid_lu._n
lea rcx, [rsp + 0x1b0]
call fcn.14003b980
lea rcx, [rsp + 0xa80]
call fcn.140021b20
mov rdx, rax
lea rcx, [rsp + 0x11d0]
call fcn.14003fec0
test eax, eax
je 0x140062765
lea r9, str.InstallDlg.cpp:CInstallDlg::UnInstallThreadFun__:Line_1594
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x250]
call fcn.140038d20
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xa80]
call fcn.14002f250
lea rcx, [rsp + 0x1f0]
lea rdx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r8, rax
lea rdx, str._tRDP_Service__s_start_success._n
lea rcx, [rsp + 0x1f0]
call fcn.14003b980
jmp 0x1400627da
lea r9, str.InstallDlg.cpp:CInstallDlg::UnInstallThreadFun__:Line_1598
xor r8d, r8d
mov edx, 3
lea rcx, [rsp + 0x220]
call fcn.140038d20
lea rcx, [rsp + 0x210]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xa80]
call fcn.14002f250
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x210]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r8, rax
lea rdx, str._tRDP_Service__s_start_failed._n
lea rcx, [rsp + 0x200]
call fcn.14003b980
nop
lea rcx, [rsp + 0x11d0]
call fcn.140020110
nop
lea rcx, [rsp + 0xa80]
call fcn.140020590
nop
lea rcx, [rsp + 0x970]
call fcn.140063980
nop
lea rcx, [rsp + 0xd80]
call fcn.140020110
nop
lea rcx, [rsp + 0xb00]
call fcn.140020590
nop
lea rcx, [rsp + 0xa00]
call fcn.140020590
nop
lea rcx, [rsp + 0x980]
call fcn.140020590
mov rcx, qword [rsp + 0x1620]
xor rcx, rsp
call fcn.1401fe250
add rsp, 0x1638
pop rdi
pop rsi
ret