Function at 0x140012ef0
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x248]
sub rsp, 0x320
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402526c8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, rcx
call fcn.14003f3fc
mov r13, qword [rax + 8]
call fcn.14002dca4
mov rcx, rax
xor r15d, r15d
mov edx, r15d
test rax, rax
setne dl
test edx, edx
jne 0x140012f5e
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.__xml_version_1.0__encoding_UTF_8____n
test rdx, 0xffffffffffff0000
jne 0x140012f9e
movzx edi, dx
mov ecx, edi
call fcn.1400402fc
test rax, rax
je 0x140012faf
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400054e0
jmp 0x140012faf
mov r8d, 0x27
lea rcx, [rsp + 0x40]
call fcn.1400016b0
nop
lea r8, [r13 + 0x370]
lea rdx, str._CERInfo_ClientVersion_
lea rcx, [rbp - 0x48]
call fcn.1400050b0
nop
lea r8, [0x140207520]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140013010
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001302e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r13
lea rcx, [rbp - 0x50]
call fcn.140010f60
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001306b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r14 + 8]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x10]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x38]
mov r8d, dword [rdx - 0x10]
test r8d, r8d
je 0x1400130a6
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
call fcn.14002dca4
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400130d7
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [r13 + 0x290]
lea rcx, [rsp + 0x40]
cmp dword [rax - 0x10], 0
jne 0x140013108
mov rdx, qword [r13 + 0x1d0]
mov r8d, dword [rdx - 0x10]
jmp 0x14001310f
mov rdx, rax
mov r8d, dword [rax - 0x10]
call fcn.140005330
lea rdx, [r13 + 0x1d8]
lea rcx, [rbp - 0x40]
call fcn.1400243e0
nop
mov r8, rax
lea rdx, str._AppCDATA____CDATA_
lea rcx, [rbp - 0x58]
call fcn.1400050b0
nop
lea r8, str._____AppCDATA__n
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140005260
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001317e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001319d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400131bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r14 + 0x20]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x18]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x28]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x70]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x78]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov rdx, qword [r14 + 0x80]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140005330
mov r8d, 0xa
lea rdx, str.__CERInfo_
lea rcx, [rsp + 0x40]
call fcn.140005330
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r12d, eax
mov dword [rsp + 0x48], eax
call fcn.14002dca4
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140013277
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp]
lea rax, [rbp]
test rax, 0xffffffffffff0000
jne 0x1400132c6
movzx edi, cx
mov ecx, edi
call fcn.1400402fc
test rax, rax
je 0x1400133c2
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400054e0
mov rbx, qword [rsp + 0x50]
jmp 0x1400133c2
xor eax, eax
mov rcx, rsi
lea rdi, [rbp]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14001333e
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400133c2
cmp dword [rdx + 0x10], eax
jge 0x140013311
cmp dword [rbx - 0xc], eax
jge 0x140013304
mov ecx, 0x80070057
call fcn.140001900
int3
mov dword [rbx - 0x10], r15d
mov word [rbx], r15w
jmp 0x1400133c2
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140013327
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 0x1400133c2
mov r15d, dword [rbx - 0x10]
lea r12, [rbp]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14001335b
mov ecx, 0x80070057
call fcn.140001900
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001337d
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001650
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x1400133a1
lea r8, [rbx + r12*2]
call fcn.14017e198
jmp 0x1400133aa
lea r8, [rbp]
call fcn.14017e110
cmp edi, dword [rbx - 0xc]
jg 0x140013752
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
mov r12d, dword [rsp + 0x48]
test r12d, r12d
je 0x1400136f3
cmp r12d, 0x104
ja 0x1400136f3
lea r8, str.dmpuserinfo.xml
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140005260
nop
mov rdx, rax
lea rcx, [r14 + 0x58]
call fcn.1400017a0
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140013419
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x68]
call fcn.14002ef34
lea rax, vtable.CFileException.0
mov qword [rsp + 0x68], rax
call fcn.14002dca4
mov rdx, rax
xor ebx, ebx
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x140013450
mov ecx, 0x80004005
call fcn.140001900
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0x7c], esi
lea rcx, [rbp - 0x80]
call fcn.1400014d0
nop
mov rdi, qword [rsp + 0x40]
mov r12d, dword [rdi - 0x10]
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r12d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
cmp eax, r12d
cmovl ebx, r12d
movsxd rcx, ebx
call fcn.14002b25c
mov r12, rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov ebx, dword [rsp + 0x48]
mov r9d, ebx
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rcx, [rbp - 0x38]
call fcn.14003df64
nop
lea r9, [rsp + 0x68]
mov r8d, 0x1011
mov rdx, qword [r14 + 0x58]
lea rcx, [rbp - 0x38]
call fcn.14003e5d0
test eax, eax
je 0x140013651
lea rcx, [rbp - 0x38]
cmp dword [rsp + 0x48], 0
jne 0x140013534
mov r8d, dword [rsp + 0x60]
mov rdx, r12
jmp 0x14001353a
mov r8d, ebx
mov rdx, rdi
call fcn.14003dbe4
lea rcx, [rbp - 0x38]
call fcn.14003dedc
mov rcx, r12
call fcn.14002b264
lea r8, str.dumpdata.zip
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140005260
nop
mov rdx, rax
lea rcx, [r14 + 0x50]
call fcn.1400017a0
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140013591
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, [r13 + 0x390]
lea r8, [r13 + 0x1a0]
lea rdx, [r14 + 0x58]
lea rcx, [r14 + 0x50]
call fcn.140012690
mov edi, eax
lea rcx, [rbp - 0x38]
call fcn.14003e1c4
nop
lea rax, vtable.CFileException.0
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400135ed
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001360d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001362d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14001364a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
jmp 0x14001375d
mov rcx, r12
call fcn.14002b264
nop
lea rcx, [rbp - 0x38]
call fcn.14003e1c4
nop
lea rax, vtable.CFileException.0
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001368f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400136af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400136cf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x1400136ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, VarBstrFromDisp
jmp 0x14001375d
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001370e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001372e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14001374b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, reloc.OLEAUT32.dll_LoadRegTypeLib
jmp 0x14001375d
mov ecx, 0x80070057
call fcn.140001900
nop
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14017e0f0
lea r11, [rsp + 0x320]
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