Function at 0x18010a340
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18032a080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x18010a380
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x18010a38a
mov rcx, qword [rcx]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18010a3a1
mov al, 1
jmp 0x18010a5fb
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x2f], xmm1
xor r14d, r14d
mov word [rbp + 0x1f], r14w
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.18010b470
movzx esi, sil
mov ecx, 1
test al, al
cmovne esi, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x180291a20]
movdqu xmmword [rbp + 0xf], xmm1
mov word [rbp - 1], r14w
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.18010b470
test al, al
jne 0x18010a40a
test sil, sil
je 0x18010a43d
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rcx, qword [rbp + 0x1f]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18010a43d
mov bl, 1
jmp 0x18010a54e
mov rcx, rbx
call fcn.180109fd0
cmp eax, 0xffffffff
je 0x18010a54c
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.180007b10
nop
lea rcx, [rbp - 0x21]
call fcn.18010af80
test al, al
je 0x18010a4f7
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.18010a0e0
test al, al
je 0x18010a4f7
mov rdx, rbx
mov rcx, rdi
call fcn.18010a0e0
lea rcx, [rbp - 0x21]
test al, al
je 0x18010a4ee
call fcn.18010a9d0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18010a4d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010a4d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18010a4d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r14w
mov bl, 1
jmp 0x18010a54e
mov rdx, rbx
call fcn.18010a0e0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x18010a53a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010a535
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18010a535
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r14w
xor bl, bl
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x18010a591
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010a58c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18010a58c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r14w
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x18010a5e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010a5e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18010a5e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18022acec
movdqa xmm0, xmmword [0x180291a20]
movdqu xmmword [rbp + 0x2f], xmm0
mov word [rbp + 0x1f], r14w
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18022a7d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret