Function at 0x1400616d8
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov rax, qword [0x1400ebe98]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xb8], r9
mov qword [rsp + 0x38], r8
mov r12, rdx
mov r15, rcx
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + reloc.MFC42u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov qword [rsp + 0xd0], rax
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [r11 - 0xb0], rbx
mov qword [r11 - 0xb8], rbx
mov qword [r11 - 0xc0], rbx
mov r14d, ebx
mov qword [rsp + 0x40], rbx
lea rcx, [0x1400ede50]
call fcn.14003d654
nop
lea r13d, [rbx + 0x18]
mov ecx, r13d
call qword [0x1400f5020]
nop dword [rax + rax]
mov rdi, rax
lea rsi, vtable.Gdiplus::Image.0
test rax, rax
je 0x1400617d0
mov qword [rax], rsi
lea rdx, [rax + 8]
mov qword [rdx], rbx
mov rcx, r15
call qword [0x1400f5018]
nop dword [rax + rax]
mov dword [rdi + 0x10], eax
jmp 0x1400617d3
mov rdi, rbx
mov qword [rsp + 0x80], rdi
test rdi, rdi
je 0x140061b64
mov eax, dword [rdi + 0x10]
mov dword [rdi + 0x10], ebx
test eax, eax
je 0x14006187f
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [str._N_b_]
mov qword [rsp + 0x80], rbx
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14006154c
test eax, eax
js 0x140061b7d
mov rcx, r13
call qword [0x1400f5020]
nop dword [rax + rax]
mov rdi, rax
mov r14, qword [rsp + 0x40]
test rax, rax
je 0x14006185d
mov qword [rax], rsi
lea rdx, [rax + 8]
mov qword [rdx], rbx
mov rcx, r14
call qword [0x1400f50c8]
nop dword [rax + rax]
mov dword [rdi + 0x10], eax
jmp 0x140061860
mov rdi, rbx
mov qword [rsp + 0x80], rdi
test rdi, rdi
je 0x140061b92
mov eax, dword [rdi + 0x10]
mov dword [rdi + 0x10], ebx
test eax, eax
jne 0x140061bab
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov r12, rax
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], rbx
jne 0x1400618c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x140061bc4
mov esi, ebx
mov dword [rsp + 0x30], ebx
test r12, r12
jne 0x1400618d8
mov r15d, ebx
jmp 0x140061906
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x30]
mov rdx, r12
mov rcx, rdi
call fcn.14003d86c
mov r15d, eax
test eax, eax
js 0x140061bd9
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov esi, dword [rsp + 0x30]
mov rdx, r13
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x140061bee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x140061a67
mov dword [rax], 8
mov rdx, qword [rsp + 0x70]
mov ecx, esi
call qword [sym.imp.GDI32.dll_SetMetaFileBitsEx]
nop dword [rax + rax]
mov qword [r13 + 0x10], rax
test rax, rax
je 0x140061c07
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006198c
mov eax, dword [rcx]
mov dword [r13 + 4], eax
mov eax, dword [rcx + 4]
jmp 0x140061a4a
test r12, r12
je 0x1400619b0
mov edx, 0x58
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
mov esi, 0x60
jmp 0x1400619b9
mov esi, 0x60
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [0x1400f5088]
nop dword [rax + rax]
test eax, eax
je 0x1400619d9
mov dword [rdi + 0x10], eax
mov r8d, dword [rsp + 0x30]
mov edx, reloc.MFC42u.dll_COleClientItem::DoVerb
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
nop dword [rax + rax]
mov dword [r13 + 4], eax
test r12, r12
je 0x140061a12
mov edx, 0x5a
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov esi, eax
mov dword [rsp + 0x38], ebx
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [0x1400f5090]
nop dword [rax + rax]
test eax, eax
je 0x140061a32
mov dword [rdi + 0x10], eax
mov r8d, esi
mov edx, reloc.MFC42u.dll_COleClientItem::DoVerb
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
nop dword [rax + rax]
mov dword [r13 + 8], eax
mov r13, qword [rsp + 0x88]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
nop dword [rax + rax]
jmp 0x140061a6f
mov r13, qword [rsp + 0x88]
mov ecx, 0x20
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x140061c20
mov eax, 3
mov word [rsi], ax
mov qword [rsi + 8], rbx
or dword [rsi + 0x14], 0xffffffff
mov dword [rsi + 0x18], 0x20
lea ecx, [rax + 0x15]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140061c39
mov dword [rax], 0x20
mov qword [rax + 8], r13
mov qword [rax + 0x10], rbx
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rdi
mov rcx, qword [rsp + 0x90]
mov qword [rcx], r12
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0xc0]
mov qword [rdx], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rsi
mov rcx, qword [rsp + 0xd0]
mov qword [rcx], rax
jmp 0x140061b21
test r14, r14
je 0x140061b3d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, r14
call sub.msvcrt.dll_free
mov eax, r15d
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140083280
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x48], 0x80070057
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x4c], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x4c]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x50], 0x80070057
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x54], 0x80070057
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x58], ecx
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x5c], eax
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x5c]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x60], 0x80004005
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x64], 0x80004005
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x64]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x68], 0x8007000e
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x6c], 0x8007000e
lea rdx, [0x1400e1e50]
lea rcx, [rsp + 0x6c]
call sub.msvcrt.dll__CxxThrowException
int3