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

Disassembly:
jmp 0x140022560
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6a8]
sub rsp, 0x780
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x670], rax
mov rsi, rcx
lea rax, [fcn.140022ea0]
mov qword [0x140041aa8], rax
add rcx, 0x670
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x748]
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x160]
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x4c0]
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0xaa8]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x9d0]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor edx, edx
lea rcx, [rsi + 0xd30]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor edx, edx
lea rcx, [rsi + 0xc58]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x3e8]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x598]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x8f8]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0x820]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0xe08]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsi + 0xb80]
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 0x3fc
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_5144]
mov rcx, rax
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 0x3fb
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_5144]
mov rcx, rax
xor edx, edx
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0x12c
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdx, rax
mov r8d, 0x12a
lea rcx, [rsi + 0xd30]
call qword [sym.imp.mfc120u.dll_Ordinal_7433]
or edx, 0xffffffff
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1031]
cmp byte [rsp + 0x50], 0
jne 0x14002278f
mov rdi, qword [rsi + 0x40]
mov edx, 0xfffffffa
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov r9d, 0x12c
lea r8, [rbp + 0x2e0]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x12c
lea r8, [rbp + 0x80]
mov edx, 0xe726
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rbp + 0x2e0]
lea rdx, [rbp + 0x80]
jmp 0x140022854
mov edx, 0x12c
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov rdx, rax
mov r8d, 0x12a
lea rcx, [rsi + 0xc58]
call qword [sym.imp.mfc120u.dll_Ordinal_7433]
or edx, 0xffffffff
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_306]
mov rdx, qword [rax]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1031]
cmp byte [rbp + 0x1b0], 0
jne 0x14002288a
mov rdi, qword [rsi + 0x40]
mov edx, 0xfffffffa
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov r9d, 0x12c
lea r8, [rbp + 0x80]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
mov r9d, 0x12c
lea r8, [rbp + 0x2e0]
mov edx, 0xe729
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x2e0]
mov r9d, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [0x140041bf4], 0
je 0x1400229e4
cmp dword [0x140041bf0], 0
jne 0x1400229e4
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x1400229e4
mov ecx, 0x10
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
mov r14, rax
mov qword [rsp + 0x38], rax
xor ebx, ebx
test rax, rax
je 0x1400228d9
mov word [rax], bx
mov qword [rax + 8], rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x1400228dc
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
mov qword [r14 + 8], rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1400228dc
mov r14, rbx
mov edx, 1
mov rcx, r14
call fcn.14002ab70
mov r13, rax
test rax, rax
jne 0x1400228fd
lea rdx, str.Unable_to_open_source_file.
jmp 0x1400229ce
mov ecx, 0x10
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002294e
mov word [rax], bx
mov qword [rax + 8], rbx
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x140022951
inc eax
movsxd rcx, eax
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
mov qword [rdi + 8], rax
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x140022951
mov rdi, rbx
mov edx, 3
mov rcx, rdi
call fcn.14002ab70
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x140022971
lea rdx, str.Unable_to_open_destination_file.
jmp 0x1400229ce
lea rdx, [rbp + 0x410]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rbp + 0x540]
xor r8d, r8d
lea rdx, [0x140032948]
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea rcx, [rbp + 0x540]
call fcn.14002ae90
mov qword [rsp + 0x38], rax
mov edx, 0xb
mov rcx, rax
call fcn.14002ab70
mov r15, rax
test rax, rax
jne 0x1400229f5
lea rdx, str.Unable_to_merge_file.
mov r9d, 0x40
lea r8, str.Spell_Utility
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_8331]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x310]
jmp 0x140022c78
mov dword [rsi + 0xee4], 1
mov dword [rsi + 0x158], ebx
inc dword [0x140041bf0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, qword [rsi + 0xe48]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140022a6b
dec eax
je 0x140022a59
dec eax
je 0x140022a47
dec eax
jne 0x140022c78
lea edx, [rax + 4]
mov r8, r15
mov rcx, r13
call fcn.140025180
jmp 0x140022a78
mov edx, 2
mov r8, r15
mov rcx, r13
call fcn.140025180
jmp 0x140022a78
mov edx, 1
mov r8, r15
mov rcx, r13
call fcn.140025180
jmp 0x140022a78
mov r8, r15
lea rcx, [rsp + 0x50]
call fcn.140024590
movzx r12d, ax
dec dword [0x140041bf0]
test ax, ax
jne 0x140022ab7
mov edx, 0x3fc
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_7764]
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rcx, r15
cmp eax, 1
jne 0x140022aae
call fcn.140017d00
jmp 0x140022ab3
call fcn.1400155a0
movzx r12d, ax
mov ecx, 0x64
mov r8d, ecx
lea rdx, [0x140032980]
call fcn.140022ea0
mov rcx, r15
call fcn.14002a9e0
mov rcx, qword [rsp + 0x20]
call fcn.14002a9e0
mov rcx, r13
call fcn.14002a9e0
mov r15, qword [rsp + 0x38]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, r15
call fcn.14002af10
mov rcx, r14
call fcn.14002af10
mov rcx, rdi
call fcn.14002af10
movzx edx, r12w
mov rcx, qword [rsi + 0x40]
call fcn.140021b80
mov dword [rsi + 0xee4], ebx
xor edx, edx
lea rcx, [rsi + 0x670]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor edx, edx
lea rcx, [rsi + 0x748]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor edx, edx
lea rcx, [rsi + 0x160]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor edx, edx
lea rcx, [rsi + 0x4c0]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0xaa8]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0x9d0]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0xd30]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0xc58]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0x3e8]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0x598]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0x8f8]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0x820]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0xe08]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 1
lea rcx, [rsi + 0xb80]
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 0x3fc
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_5144]
mov rcx, rax
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
mov edx, 0x3fb
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_5144]
mov rcx, rax
mov edx, 1
call qword [sym.imp.mfc120u.dll_Ordinal_4291]
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_1030
mov rcx, qword [rsi + 0x350]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_1030
mov rcx, qword [rsi + 0x278]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rcx, qword [rbp + 0x670]
xor rcx, rsp
call fcn.14002c960
lea r11, [rsp + 0x780]
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