Function at 0x14003eb80
Capabilities:
Delete directory
Delete file
Set current directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa18]
sub rsp, 0xaf0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x9e0], rax
mov r15, rcx
mov qword [rsp + 0x60], rcx
xor r8d, r8d
lea rdx, str.CUNINSTALLERDlg::FinishUninstall
lea rcx, [rsp + 0x70]
call fcn.14000b870
nop
call fcn.140050920
mov rsi, qword [rax + 8]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
xor r13d, r13d
mov edi, r13d
test eax, eax
jle 0x14003ec31
nop
mov edx, edi
lea rcx, [r15 + 0x118]
call fcn.14005a46c
test rax, rax
je 0x14003ec2b
mov rcx, rax
call fcn.14004cabc
inc edi
cmp edi, ebx
jl 0x14003ec10
cmp dword [0x140280b44], 1
jne 0x14003ec44
mov ecx, 1
call fcn.14000f520
cmp dword [rsi + 0xa90], 1
jne 0x14003ec52
call fcn.1400102a0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x5c0]
call fcn.140193010
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call fcn.140193010
mov rdx, qword [rsi + 0x2a0]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, qword [rsi + 0x2a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.uninst.ini
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.14004cde4
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003ecf3
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
or rsi, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x14003ed46
movzx edi, cx
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x14003ee41
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400012a0
mov rbx, qword [rsp + 0x50]
jmp 0x14003ee41
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x70]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14003edbe
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14003ee41
cmp dword [rdx + 0x10], eax
jge 0x14003ed91
cmp dword [rbx - 0xc], eax
jge 0x14003ed84
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14003ee41
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003eda7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
jmp 0x14003ee41
mov r13d, dword [rbx - 0x10]
lea r12, [rbp - 0x70]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14003eddb
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14003edfd
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400015c0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x14003ee21
lea r8, [rbx + r12*2]
call fcn.14018e5f0
jmp 0x14003ee2a
lea r8, [rbp - 0x70]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x14003f14f
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
xor r13d, r13d
mov edx, 0x5c
mov rcx, rbx
call fcn.14018f7cc
test rax, rax
jne 0x14003ee57
mov eax, esi
jmp 0x14003ee5d
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140016750
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x14003efc5
cmp dword [rdi + 0x10], 0
jl 0x14003eebc
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003eebc
call fcn.140001620
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003eeb3
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
jmp 0x14003efc0
movsxd r12, dword [r14 - 0x10]
test r12d, r12d
jne 0x14003ef22
mov r12, qword [rdi]
cmp dword [rdi + 8], 0
je 0x14003efc5
cmp dword [rdi + 0x10], 0
jge 0x14003eef6
cmp dword [rbx - 0xc], 0
jge 0x14003eee9
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14003efc5
mov eax, esi
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003ef0f
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x18]
add rax, 0x18
jmp 0x14003efc0
test r14, r14
jne 0x14003ef32
mov ecx, 0x80070057
call fcn.140001000
int3
mov r15d, dword [rbx - 0x10]
mov r13, r14
sub r13, rbx
sar r13, 1
test r12d, r12d
jns 0x14003ef4f
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, r12d
or eax, ecx
jge 0x14003ef73
mov edx, r12d
lea rcx, [rsp + 0x50]
call fcn.1400015c0
mov rbx, qword [rsp + 0x50]
lea rdi, [r12 + r12]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
mov r9, rdi
add rdx, rdx
cmp r13, r15
ja 0x14003ef94
lea r8, [rbx + r13*2]
call fcn.14018e5f0
jmp 0x14003ef9c
mov r8, r14
call fcn.14018e7d0
cmp r12d, dword [rbx - 0xc]
jg 0x14003efb5
mov dword [rbx - 0x10], r12d
xor r13d, r13d
mov word [rdi + rbx], r13w
mov r15, qword [rsp + 0x60]
jmp 0x14003efc5
mov ecx, 0x80070057
call fcn.140001000
int3
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003efe4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [r15 + 0x280], 1
jne 0x14003f008
lea rcx, [r15 + 0x270]
call fcn.14005afe4
call fcn.140015910
mov r11, qword [rsp + 0x58]
cmp dword [r11 + 0x780], 0
je 0x14003f109
mov word [rbp + 0x1a0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1a2]
call fcn.140193010
mov word [rbp + 0x7d0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x7d2]
call fcn.140193010
mov word [rbp + 0x3b0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3b2]
call fcn.140193010
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x3b0]
mov r8d, 0x104
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp + 0x1a0]
call fcn.1401912a0
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x3b0]
lea r8, [rbp + 0x7d0]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.140191794
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x70]
call fcn.14000ba50
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14003f13e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x70]
call fcn.14000ba00
mov eax, 1
jmp 0x14003f15a
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0xaf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret