Function at 0x18000d084
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rcx
xor r15d, r15d
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x18000d3eb
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x18000d0d5
mov rdx, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x50]
call fcn.1800086c8
nop
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
or r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x10]
call fcn.18000fc58
mov dword [rsp + 0x28], eax
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.18000be74
mov ebx, dword [rsp + 0x20]
mov edx, dword [rsp + 0x28]
test edx, edx
je 0x18000d149
lea eax, [rbx - 1]
test eax, 0xfffffff7
jne 0x18000d428
lea rcx, [rsp + 0x50]
call fcn.18000261c
cmp ebx, 3
jne 0x18000d3eb
lea r14d, [rbx - 2]
mov qword [rbp - 0x40], r15
lea r13, [0x180039c40]
mov qword [rbp - 0x38], r13
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18000d17c
mov rdx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1800086c8
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.18000dd84
test eax, eax
jne 0x18000d43a
lea rcx, [rsp + 0x30]
call fcn.18000261c
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x18000d1de
lock add dword [rbx + 8], r14d
mov rbx, qword [rbp - 0x48]
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
test rbx, rbx
je 0x18000d1f5
lock add dword [rbx + 8], r14d
mov rbx, qword [rbp - 0x48]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
or r12, 0xffffffffffffffff
test rbx, rbx
je 0x18000d23f
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x18000d23b
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x18000d23b
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x18000d23f
mov rbx, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x30]
test rsi, rsi
je 0x18000d2db
add rsi, 0x20
mov dword [rbp - 0x40], r15d
mov qword [rbp - 0x38], r13
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18000d265
mov rcx, qword [rsi]
call fcn.18000ffe0
movzx ecx, al
mov qword [rbp - 0x58], rcx
shr rax, 0x20
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x78], r13
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x40], xmm0
cmp eax, 0x91
jne 0x18000d29f
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.18000c12c
cmp dword [rbp - 0x40], r15d
je 0x18000d2c5
mov qword [rbp - 0x58], r12
cmp qword [rsi + 0x18], 8
jb 0x18000d2b3
mov rsi, qword [rsi]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r14b, r15b
lea rcx, [rbp - 0x30]
call fcn.18000bef4
test eax, eax
jne 0x18000d420
jmp 0x18000d23f
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18000d318
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x18000d314
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x18000d314
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x18000d34d
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x18000d34d
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x18000d34d
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [rdi + 0x18], 8
jb 0x18000d357
mov rdi, qword [rdi]
cmp qword [0x18003b0b0], r15
je 0x18000d3e6
mov edx, 0x1d5
lea rcx, [rsp + 0x30]
call fcn.1800087ec
cmp qword [rax + 0x18], 0x10
jb 0x18000d37d
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [0x18003b0b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18000d3c9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d3c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d41a
call fcn.180010240
movdqa xmm0, xmmword [0x180030f00]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], r15b
test rbx, rbx
je 0x18000d3e6
mov rcx, rdi
call rbx
mov al, r14b
jmp 0x18000d3ed
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.180010220
lea r11, [rsp + 0x120]
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
call fcn.180016b64
nop
mov edx, eax
call fcn.18000bd30
nop
lea r8, [rsp + 0x50]
lea rcx, str.status
call fcn.18000be14
nop
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18000be14
int3