Function at 0x14003e790
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 [0x14027bbd0]
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.140017fc0
nop
call fcn.140054cb8
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 0x14003e841
nop
mov edx, edi
lea rcx, [r15 + 0x118]
call fcn.14005e010
test rax, rax
je 0x14003e83b
mov rcx, rax
call fcn.140050e78
inc edi
cmp edi, ebx
jl 0x14003e820
cmp dword [0x14027dad0], 1
jne 0x14003e854
xor edx, edx
lea ecx, [rdx + 1]
call fcn.14000ca10
cmp dword [rsi + 0xa90], 1
jne 0x14003e862
call fcn.140016060
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x5c0]
call fcn.140192cb0
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call fcn.140192cb0
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.140051e58
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003e903
mov ecx, 0x80004005
call fcn.140001010
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 0x14003e956
movzx edi, cx
mov ecx, edi
call fcn.140051c2c
test rax, rax
je 0x14003ea51
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001b00
mov rbx, qword [rsp + 0x50]
jmp 0x14003ea51
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 0x14003e9ce
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14003ea51
cmp dword [rdx + 0x10], eax
jge 0x14003e9a1
cmp dword [rbx - 0xc], eax
jge 0x14003e994
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14003ea51
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003e9b7
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 0x14003ea51
mov r13d, dword [rbx - 0x10]
lea r12, [rbp - 0x70]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14003e9eb
mov ecx, 0x80070057
call fcn.140001010
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14003ea0d
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400018f0
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 0x14003ea31
lea r8, [rbx + r12*2]
call fcn.140192c44
jmp 0x14003ea3a
lea r8, [rbp - 0x70]
call fcn.140192bbc
cmp edi, dword [rbx - 0xc]
jg 0x14003ed5f
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
xor r13d, r13d
mov edx, 0x5c
mov rcx, rbx
call fcn.140193dc0
test rax, rax
jne 0x14003ea67
mov eax, esi
jmp 0x14003ea6d
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140017f20
nop
mov r14, qword [rax]
lea rcx, [r14 - 0x18]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x14003ebd5
cmp dword [rdi + 0x10], 0
jl 0x14003eacc
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003eacc
call fcn.140001950
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003eac3
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
jmp 0x14003ebd0
movsxd r12, dword [r14 - 0x10]
test r12d, r12d
jne 0x14003eb32
mov r12, qword [rdi]
cmp dword [rdi + 8], 0
je 0x14003ebd5
cmp dword [rdi + 0x10], 0
jge 0x14003eb06
cmp dword [rbx - 0xc], 0
jge 0x14003eaf9
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14003ebd5
mov eax, esi
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003eb1f
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 0x14003ebd0
test r14, r14
jne 0x14003eb42
mov ecx, 0x80070057
call fcn.140001010
int3
mov r15d, dword [rbx - 0x10]
mov r13, r14
sub r13, rbx
sar r13, 1
test r12d, r12d
jns 0x14003eb5f
mov ecx, 0x80070057
call fcn.140001010
int3
mov ecx, 1
sub ecx, dword [rdi + 0x10]
mov eax, dword [rdi + 0xc]
sub eax, r12d
or eax, ecx
jge 0x14003eb83
mov edx, r12d
lea rcx, [rsp + 0x50]
call fcn.1400018f0
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 0x14003eba4
lea r8, [rbx + r13*2]
call fcn.140192c44
jmp 0x14003ebac
mov r8, r14
call fcn.140192bbc
cmp r12d, dword [rbx - 0xc]
jg 0x14003ebc5
mov dword [rbx - 0x10], r12d
xor r13d, r13d
mov word [rdi + rbx], r13w
mov r15, qword [rsp + 0x60]
jmp 0x14003ebd5
mov ecx, 0x80070057
call fcn.140001010
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 0x14003ebf4
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 0x14003ec18
lea rcx, [r15 + 0x270]
call fcn.14005eb88
call fcn.14000e280
mov r11, qword [rsp + 0x58]
cmp dword [r11 + 0x780], 0
je 0x14003ed19
mov word [rbp + 0x1a0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1a2]
call fcn.140192cb0
mov word [rbp + 0x7d0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x7d2]
call fcn.140192cb0
mov word [rbp + 0x3b0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3b2]
call fcn.140192cb0
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.1401967f4
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.14019669c
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.140017c80
nop
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14003ed4e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x70]
call fcn.140018150
mov eax, 1
jmp 0x14003ed6a
mov ecx, 0x80070057
call fcn.140001010
nop
mov rcx, qword [rbp + 0x9e0]
xor rcx, rsp
call fcn.1401945b0
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