Function at 0x1400323c8
Capabilities:
Copy file
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6e0
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov r14, rcx
mov rcx, qword [0x14009b028]
lea r13, [0x14009b028]
cmp rcx, r13
je 0x140032432
test byte [rcx + 0x1c], 4
je 0x140032432
cmp byte [rcx + 0x19], 5
jb 0x140032432
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x8f
call fcn.140001024
lea rcx, [0x14009f240]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r8, qword [0x14009f428]
lea rcx, [rbp + 0x3c0]
mov edx, 0x104
mov r8, qword [r8 + 0x30]
call fcn.140002b44
lea rcx, [0x14009f240]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor esi, esi
lea r15d, [rsi + 0xc]
test ebx, ebx
jns 0x1400324d0
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400324b0
test byte [rcx + 0x1c], 4
je 0x1400324b0
cmp byte [rcx + 0x19], 2
jb 0x1400324b0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x90
mov r9d, ebx
call fcn.140001050
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
mov word [rbp + 0x3c0], si
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x1400326a3
mov r8, qword [r14 + 0x248]
lea rax, [rbp + 0x3c0]
mov rdx, qword [r14 + 0x10]
mov r9d, 1
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r8, qword [r8 + 0x198]
call fcn.140009290
mov ebx, eax
test eax, eax
je 0x140032588
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003253b
test byte [rcx + 0x1c], 4
je 0x14003253b
cmp byte [rcx + 0x19], 2
jb 0x14003253b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, SysAllocStringByteLen
mov r9d, eax
call fcn.140001050
mov r9d, ebx
mov dword [rsp + 0x40], ebx
lea r8, [0x140087e20]
mov word [rsp + 0x44], si
mov rdx, r15
lea rcx, [rsp + 0x44]
call fcn.140002ac0
test eax, eax
lea rcx, [rsp + 0x44]
mov eax, 1
mov r9d, 0xc0007d2f
cmovs rcx, rsi
mov r8d, eax
mov qword [rsp + 0x20], rcx
mov edx, eax
lea ecx, [rax + 1]
call fcn.1400672f0
jmp 0x1400326a3
mov rcx, qword [r14 + 0x48]
lea rdx, [rbp + 0x1b0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140032704
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400325f9
test byte [rcx + 0x1c], 4
je 0x1400325f9
cmp byte [rcx + 0x19], 2
jb 0x1400325f9
mov r9, qword [r14 + 0x48]
lea r8, [0x140088c70]
mov rcx, qword [rcx + 0x10]
mov edx, DllRegisterServer
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
call fcn.14002d0cc
mov r9d, ebx
mov dword [rsp + 0x40], ebx
lea r8, [0x140087e20]
mov word [rsp + 0x44], si
mov rdx, r15
lea rcx, [rsp + 0x44]
call fcn.140002ac0
test eax, eax
lea rcx, [rsp + 0x44]
mov eax, 1
mov r9d, 0xc0007d2f
cmovs rcx, rsi
mov r8d, eax
mov qword [rsp + 0x20], rcx
mov edx, eax
lea ecx, [rax + 1]
call fcn.1400672f0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400326a3
mov rax, qword [0x14009b028]
cmp rax, r13
je 0x1400326a3
test byte [rax + 0x1c], 4
je 0x1400326a3
cmp byte [rax + 0x19], 2
jb 0x1400326a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r9, [rbp + 0x1b0]
mov edx, DllRegisterServer
mov dword [rsp + 0x20], eax
lea r8, [0x140088c70]
mov rcx, qword [rcx + 0x10]
call fcn.140001328
mov r9d, ebx
mov dword [rsp + 0x40], ebx
lea r8, str.0x_08X
mov word [rsp + 0x44], si
mov rdx, r15
lea rcx, [rsp + 0x44]
call fcn.140002ac0
test eax, eax
lea r8, [rsp + 0x44]
mov edx, 1
lea rax, [rbp + 0x3c0]
cmovs r8, rsi
mov r9d, 0xc0007d14
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov rax, qword [r14 + 0x48]
lea ecx, [rdx + 1]
lea r8d, [rdx + 2]
mov qword [rsp + 0x20], rax
call fcn.1400672f0
jmp 0x140032952
mov rdx, r14
lea rcx, [rbp + 0x1b0]
call fcn.140031c84
test eax, eax
jne 0x1400327b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r15d, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x140032762
test byte [rcx + 0x1c], 4
je 0x140032762
cmp byte [rcx + 0x19], 2
jb 0x140032762
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x1b0]
mov edx, DllRegisterServer
mov dword [rsp + 0x20], eax
lea r8, [0x140088c70]
call fcn.140001328
mov r9d, r15d
mov dword [rsp + 0x40], r15d
lea r8, str.0x_08X
mov word [rsp + 0x44], si
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [rsp + 0x44]
call fcn.140002ac0
test eax, eax
lea rcx, [rsp + 0x44]
mov edx, 1
lea rax, [rbp + 0x1b0]
cmovs rcx, rsi
mov r9d, 0xc0007d4a
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 1]
mov r8d, ecx
call fcn.1400672f0
mov r9, qword [r14 + 0x248]
xor r8d, r8d
mov rcx, qword [r14 + 0x10]
mov r9, qword [r9 + 0x198]
lea edx, [r8 + 0x40]
call fcn.140057f2c
test eax, eax
je 0x14003280a
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003280a
test byte [rcx + 0x1c], 4
je 0x14003280a
cmp byte [rcx + 0x19], 2
jb 0x14003280a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, reloc.OLEAUT32.dll_SysAllocStringByteLen
movzx r9d, ax
call fcn.140002c70
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14003288b
mov rax, qword [0x14009b028]
cmp rax, r13
je 0x140032927
test byte [rax + 0x1c], 4
je 0x140032927
cmp byte [rax + 0x19], 2
jb 0x140032927
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, eax
mov edx, reloc.OLEAUT32.dll_DllRegisterServer
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14000ec38
jmp 0x140032927
lea rcx, [0x14009f240]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r8, qword [0x14009f428]
cmp qword [r8 + 0x38], 0xffffffffffffffff
je 0x1400328be
mov edx, dword [rsp + 0x7c]
mov eax, dword [rbp - 0x80]
shl rdx, 0x20
or rdx, rax
add qword [r8 + 0x38], rdx
lea rcx, [0x14009f240]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x140032927
mov rax, qword [0x14009b028]
cmp rax, r13
je 0x140032927
test byte [rax + 0x1c], 4
je 0x140032927
cmp byte [rax + 0x19], 2
jb 0x140032927
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, eax
mov edx, 0x97
mov rcx, qword [rcx + 0x10]
call fcn.140002c70
mov edx, 3
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
mov r9d, 0x40007d13
mov rax, qword [r14 + 0x48]
mov qword [rsp + 0x20], rax
lea ecx, [rdx - 1]
mov r8d, ecx
call fcn.1400672f0
test ebx, ebx
je 0x140032966
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test ebx, ebx
sete sil
mov eax, esi
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.14007e3c0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret