Function at 0x100029b10
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
and qword [rsp + 0x50], 0
mov rbx, rcx
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
lea r15, [0x100003cc8]
cmp rcx, r14
je 0x100029b63
test byte [rcx + 0x1c], 1
je 0x100029b63
cmp byte [rcx + 0x19], 4
jb 0x100029b63
mov rcx, qword [rcx + 0x10]
mov edx, VarBstrCmp
mov r8, r15
call fcn.10001c854
test byte [rbx + 0x150], 4
jne 0x100029b84
lea r8, [0x100004ac8]
lea rcx, [0x100004680]
mov edx, 0x1821
call fcn.10009a050
mov rcx, qword [rbx + 0x238]
lea rdx, [rbx + 0x188]
lea r8, [rsp + 0x50]
call fcn.1001238c8
mov edi, eax
test eax, eax
js 0x100029d11
mov rax, qword [rbx + 0x1e0]
test rax, rax
je 0x100029c5f
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029be9
test byte [rcx + 0x1c], 1
je 0x100029be9
cmp byte [rcx + 0x19], 4
jb 0x100029be9
mov r9, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x10]
mov edx, VarBstrCmp
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001df74
mov rdx, qword [rbx + 0x1e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100029c5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029c4c
test byte [rcx + 0x1c], 1
je 0x100029c4c
cmp byte [rcx + 0x19], 2
jb 0x100029c4c
mov r9, qword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x1e0]
mov edx, VarBstrCmp
mov rcx, qword [rcx + 0x10]
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001e39c
mov rcx, qword [0x1001653b8]
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x100029d18
cmp dword [rbx + 0x14c], 4
je 0x100029d11
mov rax, qword [rbx + 0x240]
test rax, rax
je 0x100029d11
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029cb1
test byte [rcx + 0x1c], 1
je 0x100029cb1
cmp byte [rcx + 0x19], 4
jb 0x100029cb1
mov r9, qword [rbx + 0x238]
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_VarBstrCmp
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001df74
mov rdx, qword [rbx + 0x240]
mov rcx, qword [rbx + 0x238]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100029d11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029c4c
test byte [rcx + 0x1c], 1
je 0x100029c4c
cmp byte [rcx + 0x19], 2
jb 0x100029c4c
mov r9, qword [rbx + 0x238]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x240]
mov edx, reloc.OLEAUT32.dll_VarR8Pow
jmp 0x100029c34
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x50], 0
je 0x100029d32
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
test edi, edi
jns 0x100029d62
cmp rcx, r14
je 0x100029d84
test byte [rcx + 0x1c], 1
je 0x100029d62
cmp byte [rcx + 0x19], 2
jb 0x100029d62
mov rcx, qword [rcx + 0x10]
mov edx, 0x13b
mov r9d, edi
mov r8, r15
call fcn.10001c878
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x100029d84
test byte [rcx + 0x1c], 1
je 0x100029d84
cmp byte [rcx + 0x19], 4
jb 0x100029d84
mov rcx, qword [rcx + 0x10]
mov edx, 0x13c
mov r8, r15
call fcn.10001c854
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop rdi
ret