Function at 0x140003438
Capabilities:
Copy file
Delete file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x220
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140098550]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov eax, 0x49
mov word [rsp + 0x178], ax
mov eax, 0x71
mov word [rsp + 0x17a], ax
mov word [rsp + 0x17c], ax
lea r13d, [rax + 7]
mov word [r11 - 0xca], r13w
lea eax, [r13 - 0x14]
mov word [rsp + 0x180], ax
lea ecx, [rax + 0xa]
mov word [rsp + 0x182], cx
lea eax, [rcx + 6]
mov word [rsp + 0x184], ax
lea eax, [rcx - 0x1f]
mov word [rsp + 0x186], ax
lea eax, [rcx + 8]
mov word [rsp + 0x188], ax
mov word [r11 - 0xbe], r13w
lea eax, [rcx - 7]
mov word [rsp + 0x18c], ax
lea eax, [rcx - 1]
mov word [rsp + 0x18e], ax
lea eax, [rcx - 0xc]
mov word [rsp + 0x190], ax
mov word [r11 - 0xb6], r13w
xor r12d, r12d
mov word [r11 - 0xb4], r12w
mov word [rsp + 0x140], cx
lea eax, [rcx - 5]
mov word [rsp + 0x142], ax
lea eax, [rcx + 0xc]
mov word [rsp + 0x144], ax
lea eax, [rcx - 0x29]
mov word [rsp + 0x146], ax
lea eax, [rcx - 4]
mov word [rsp + 0x148], ax
mov word [r11 - 0xfe], r12w
lea rax, [r11 - 0x1a8]
mov qword [rsp + 0x30], rax
lea rdx, [r11 - 0x108]
lea rcx, [r11 - 0x1a8]
call fcn.140004938
mov rdi, rax
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xf0]
call fcn.140004938
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.140001338
nop
mov qword [rsp + 0x58], SafeArrayGetDim
mov qword [rsp + 0x50], r12
mov byte [rsp + 0x40], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x38]
call fcn.140004ca8
mov rsi, qword [rbx + 0x20]
sub rsi, qword [rbx + 0x18]
jne 0x1400035d8
call fcn.140055214
mov rdi, qword [rbx + 0x18]
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.140001804
lea r9, [rsp + 0x60]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call rax
mov r11d, 0x50
mov word [rsp + 0x198], r11w
lea edi, [r11 - 0x16]
mov word [rsp + 0x19a], di
lea r10d, [r11 + 0xc]
mov word [rsp + 0x19c], r10w
lea ecx, [rdi + 7]
mov word [rsp + 0x19e], cx
lea ebp, [rdi + 0x36]
mov word [rsp + 0x1a0], bp
lea eax, [rdi + 0x39]
mov word [rsp + 0x1a2], ax
lea eax, [rdi + 0x3b]
mov word [rsp + reloc.OLEAUT32.dll_OleTranslateColor], ax
lea r9d, [r11 + 0x11]
mov word [rsp + 0x1a6], r9w
lea edx, [rdi + 0x3d]
mov word [rsp + 0x1a8], dx
lea r8d, [r11 + 0x14]
mov word [rsp + 0x1aa], r8w
mov word [rsp + 0x1ac], r10w
mov word [rsp + 0x1ae], ax
lea eax, [rdi + 0x32]
mov word [rsp + 0x1b0], ax
lea esi, [rdi - 0xc]
mov word [rsp + 0x1b2], si
mov word [rsp + 0x1b4], ax
lea eax, [rdi + 0x29]
mov word [rsp + 0x1b6], ax
lea eax, [rdi + 0x3c]
mov word [rsp + 0x1b8], ax
mov word [rsp + 0x1ba], r12w
lea eax, [rdi + 0x34]
mov word [rsp + 0x160], ax
lea eax, [rdi + 0xb]
mov word [rsp + 0x162], ax
lea eax, [rdi + 0xe]
mov word [rsp + 0x164], ax
lea eax, [rdi + 0xc]
mov word [rsp + 0x166], ax
lea eax, [rdi + 0x18]
mov word [rsp + 0x168], ax
lea eax, [rdi + 0x33]
mov word [rsp + 0x16a], ax
mov word [rsp + 0x16c], cx
lea eax, [rdi + 0x12]
mov word [rsp + 0x16e], ax
mov word [rsp + 0x170], r12w
mov word [rsp + 0x1c0], r11w
mov word [rsp + 0x1c2], di
mov word [rsp + 0x1c4], r10w
lea ecx, [rdi + 0x10]
mov word [rsp + 0x1c6], cx
lea r8d, [r11 + 0x29]
mov word [rsp + 0x1c8], r8w
lea eax, [rdi + 0x3c]
mov word [rsp + 0x1ca], ax
lea edi, [rbp + 2]
mov word [rsp + 0x1cc], di
mov word [rsp + 0x1ce], dx
lea eax, [rbp - 6]
mov word [rsp + 0x1d0], ax
lea eax, [rbp - 0xa]
mov word [rsp + 0x1d2], ax
mov word [rsp + 0x1d4], r10w
mov word [rsp + 0x1d6], cx
lea r11d, [r10 + 0x11]
mov word [rsp + 0x1d8], r11w
mov word [rsp + 0x1da], r9w
mov word [rsp + 0x1dc], r13w
mov word [rsp + 0x1de], r10w
lea eax, [rbp - 0x3c]
mov word [rsp + 0x1e0], ax
lea eax, [rbp - 0x37]
mov word [rsp + 0x1e2], ax
lea edx, [rbp - 1]
mov word [rsp + 0x1e4], dx
lea ecx, [rbp - 2]
mov word [rsp + 0x1e6], cx
lea ecx, [rbp - 0x3b]
mov word [rsp + 0x1e8], cx
mov word [rsp + 0x1ea], ax
lea eax, [rbp + 1]
mov word [rsp + 0x1ec], ax
lea eax, [rbp - 6]
mov word [rsp + 0x1ee], ax
mov word [rsp + 0x1f0], bp
mov word [rsp + 0x1f2], r11w
mov word [rsp + 0x1f4], cx
lea eax, [rbp - 0x3a]
mov word [rsp + 0x1f6], ax
mov word [rsp + 0x1f8], di
lea eax, [rbp - 0x40]
mov word [rsp + 0x1fa], ax
mov word [rsp + 0x1fc], cx
lea eax, [rbp - 0x39]
mov word [rsp + 0x1fe], ax
mov word [rsp + 0x200], si
mov word [rsp + 0x202], r8w
lea eax, [rbp - 0xb]
mov word [rsp + 0x204], ax
mov word [rsp + 0x206], dx
mov word [rsp + 0x208], r12w
lea eax, [rbp - 0x22]
mov word [rsp + 0x150], ax
mov word [rsp + 0x152], ax
lea eax, [rbp - 0x1f]
mov word [rsp + 0x154], ax
lea eax, [rbp - 7]
mov word [rsp + 0x156], ax
lea eax, [rbp - 0x21]
mov word [rsp + 0x158], ax
lea eax, [rbp - 0x27]
mov word [rsp + 0x15a], ax
mov word [rsp + 0x15c], r12w
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x78]
call fcn.140004938
mov rdi, rax
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xc8]
call fcn.140004938
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001338
nop
cmp qword [rax + 0x20], 0x10
jb 0x140003927
mov rdx, qword [rax + 8]
jmp 0x14000392b
lea rdx, [rax + 8]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x118]
call fcn.1400050c8
nop
cmp qword [rsp + 0x58], 0x10
jb 0x14000395d
mov rcx, qword [rsp + 0x40]
call fcn.140006330
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x78]
call fcn.140004938
mov rdi, rax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0xc8]
call fcn.140004938
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001338
mov rdi, rax
mov rcx, qword [rbx + 0x20]
cmp rcx, qword [rbx + 0x18]
jne 0x1400039d4
call fcn.140055214
lea rdx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rdx, qword [rsp + 0x120]
cmp qword [rdi + 0x20], 0x10
jb 0x1400039fb
mov rcx, qword [rdi + 8]
jmp 0x1400039ff
lea rcx, [rdi + 8]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp qword [rsp + 0x58], 0x10
jb 0x140003a2c
mov rcx, qword [rsp + 0x40]
call fcn.140006330
nop
cmp qword [rsp + 0x138], 0x10
jb 0x140003a44
mov rcx, qword [rsp + 0x120]
call fcn.140006330
mov qword [rsp + 0x138], SafeArrayGetDim
mov qword [rsp + 0x130], r12
mov byte [rsp + 0x120], r12b
mov rcx, qword [rbx + 0x18]
cmp rcx, r12
je 0x140003a6e
call fcn.140006330
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x28], r12
mov rcx, qword [rbx]
call fcn.140006330
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140054d70
mov rbx, qword [rsp + 0x260]
add rsp, 0x220
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret