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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x820]
sub rsp, 0x920
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov rax, qword [rbp + 0x890]
mov r13, rcx
xor ecx, ecx
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov r12d, ecx
mov dword [rsp + 0x58], ecx
mov esi, ecx
mov qword [rsp + 0x50], rcx
mov r15d, ecx
mov qword [rsp + 0x48], rcx
mov rbx, r8
mov r14, rdx
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
mov dword [rbp - 0x40], eax
lea rcx, [rbp + reloc.MFC42u.dll_Ordinal_1536]
xor edx, edx
mov r8d, 0x208
movups xmmword [rbp - 0x58], xmm0
call sub.msvcrt.dll_memset
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov rax, qword [rax + 0x28]
call qword [case.0x14000c28f.0]
mov edi, eax
test eax, eax
js 0x14006c645
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14000c28f.0]
mov edi, eax
test eax, eax
js 0x14006c645
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
lea edx, [rsi + 1]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14000c28f.0]
mov edi, eax
test eax, eax
js 0x14006c645
mov rdx, qword [rsp + 0x38]
lea r8, [0x14008ae98]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ATL.DLL_AtlComQIPtrAssign]
nop dword [rax + rax]
cmp qword [rsp + 0x50], rsi
jne 0x14006c24d
mov edi, 0x80004002
jmp 0x14006c645
mov rdx, qword [rsp + 0x38]
lea r8, [0x14008ae88]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ATL.DLL_AtlComQIPtrAssign]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006c243
mov edx, 0x100c
mov r8d, 0x80
call fcn.14006d438
mov edi, eax
test eax, eax
js 0x14006c645
movups xmm0, xmmword [0x14008ae00]
mov edx, 1
mov dword [rsp + 0x70], 0x100a
mov dword [rsp + 0x68], edx
movdqu xmmword [rbp - 0x80], xmm0
lea eax, [rdx + 0x47]
mov word [rbp - 0x70], ax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x68], rax
mov rcx, qword [rsp + 0x48]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x68]
mov dword [rsp + 0x20], 0x1002
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14000c28f.0]
mov edi, eax
test eax, eax
js 0x14006c645
mov r12d, dword [rbp + 0x888]
mov rcx, rbx
mov rdx, qword [rsp + 0x38]
mov r8d, r12d
call fcn.14006d1f4
xor edi, edi
mov ebx, 0x103
test eax, eax
jns 0x14006c3bc
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov rcx, qword [r13 + 8]
lea r8, [rbp - 0x30]
mov r9d, ebx
mov edx, 0x1b58
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
je 0x14006c3bc
mov rcx, qword [r13 + 8]
lea r8, [rbp + 0x3f0]
mov r9d, ebx
mov edx, 0x1b5c
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
je 0x14006c3bc
mov rbx, qword [r13 + 0x10]
call fcn.14000f310
test eax, eax
lea r8, [rbp - 0x30]
mov r9d, edi
lea rdx, [rbp + 0x3f0]
mov ecx, 0x180000
cmovne r9d, ecx
mov rcx, rbx
or r9d, 1
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14006c3bc
mov edi, 0x80004004
mov r12, rsi
jmp 0x14006c645
lea rcx, [0x14008ad60]
call fcn.1400123a8
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x14006c3df
mov edi, 0x8007000e
mov r12, rax
jmp 0x14006c645
lea r9, [rbp + 0x1e0]
xor r8d, r8d
lea rdx, [0x14008ad70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test ebx, ebx
je 0x14006c640
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov edx, 0x2e
lea rcx, [rbp + 0x1e0]
call sub.msvcrt.dll_wcsrchr
xor ecx, ecx
mov word [rax], cx
lea ebx, [rcx + 1]
test r14, r14
je 0x14006c499
mov rax, qword [r14]
mov edx, ebx
mov rcx, r14
mov rax, qword [rax + 0x40]
call qword [case.0x14000c28f.0]
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
mov rax, qword [rax + 0x50]
call qword [case.0x14000c28f.0]
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
mov rax, qword [rax + 0x48]
call qword [case.0x14000c28f.0]
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [case.0x14000c28f.0]
mov rcx, qword [r13 + 8]
lea r8, [rbp + reloc.MFC42u.dll_Ordinal_1536]
mov r9d, 0x103
mov edx, 0x1b5d
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
jne 0x14006c4d1
mov edi, 0x80004005
mov r12, qword [rsp + 0x30]
jmp 0x14006c648
mov ecx, _CIP<IBindCtx
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14006c521
lea rax, [0x14007f970]
mov dword [rsi + 8], ebx
lea rcx, [rsi + 0x28]
mov qword [rsi], rax
xor edx, edx
mov qword [rsi + 0x230], r14
mov r8d, 0x208
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], 0x2000
call sub.msvcrt.dll_memset
jmp 0x14006c524
mov rsi, r13
test rsi, rsi
jne 0x14006c530
mov edi, 0x8007000e
jmp 0x14006c4c7
mov dword [rbp - 0x58], AtlComQIPtrAssign
mov dword [rbp - 0x50], 0x4000
mov r8d, 0x208
lea rcx, [rbp - 0x30]
xor edx, edx
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x1e0]
mov dword [rsp + 0x20], ebx
lea r8, str._s._d.bmp
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140006aa0
mov edi, eax
test eax, eax
js 0x14006c4c7
mov rax, qword [rsi]
lea rdx, [rbp - 0x30]
mov rcx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x14000c28f.0]
mov edi, eax
test eax, eax
js 0x14006c4c7
mov r9d, ebx
lea r8, [rbp + reloc.MFC42u.dll_Ordinal_1536]
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.140006aa0
mov edi, eax
test eax, eax
js 0x14006c4c7
test r14, r14
je 0x14006c5d2
mov rax, qword [r14]
lea rdx, [rbp - 0x30]
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x14000c28f.0]
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x58]
mov r8, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x14000c28f.0]
mov edi, eax
test r14, r14
je 0x14006c606
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x58]
call qword [case.0x14000c28f.0]
test eax, eax
jne 0x14006c62e
cmp edi, 0x80210003
jne 0x14006c613
test r12d, r12d
jne 0x14006c638
test edi, edi
js 0x14006c4c7
inc r15d
inc ebx
test r12d, r12d
je 0x14006c4c7
jmp 0x14006c53e
mov edi, 0x80004004
jmp 0x14006c4c7
mov edi, r13d
jmp 0x14006c4c7
mov r12, qword [rsp + 0x30]
xor r13d, r13d
test r14, r14
je 0x14006c65d
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x14000c28f.0]
test edi, edi
js 0x14006c68d
mov rbx, qword [rsp + 0x60]
lea rdx, [rbp + 0x1e0]
mov r9, rbx
mov r8d, r15d
call fcn.14006c8b8
mov edi, eax
test eax, eax
jns 0x14006c68d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov ebx, 1
cmp r15d, ebx
jb 0x14006c6ec
xor edx, edx
lea rcx, [rbp + 0x3f0]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x1e0]
mov dword [rsp + 0x20], ebx
lea r8, str._s._d.bmp
mov edx, 0x104
lea rcx, [rbp + 0x3f0]
call fcn.140006aa0
test eax, eax
js 0x14006c6e5
lea rcx, [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
inc ebx
cmp ebx, r15d
jbe 0x14006c697
test rsi, rsi
je 0x14006c701
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x14000c28f.0]
mov rcx, r12
call fcn.140010a58
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006c725
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000c28f.0]
mov qword [rsp + 0x38], r13
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006c741
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000c28f.0]
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14006c758
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000c28f.0]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006c76f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14000c28f.0]
mov eax, edi
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.14006e550
mov rbx, qword [rsp + 0x978]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret