Function at 0x180009408
Capabilities:
Move file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov ecx, 0x31
lea r15d, [rcx - 0x30]
call fcn.18000f450
test eax, eax
je 0x180009854
mov rax, qword [0x18002b7a0]
test rax, rax
jne 0x18000945e
mov rcx, qword [0x18002a250]
add rcx, 0xb0
call fcn.1800168f0
mov qword [0x18002b7a0], rax
mov rcx, qword [0x18002a250]
lea rdx, [0x180024244]
add rcx, 0x458
xor r9d, r9d
mov r8, rax
call fcn.18000d5c0
mov qword [rbp - 0x80], rax
mov r14, rax
test rax, rax
je 0x180009854
mov rcx, qword [0x18002a250]
mov edx, 0x1388
add rcx, 0x18a0
call fcn.18001470c
mov rsi, rax
test rax, rax
je 0x180009844
mov rdx, qword [0x18002a1e8]
mov rcx, r14
call qword [rdx + 0x110]
cmp eax, 0xffffffff
jne 0x18000961f
xor r15d, r15d
lea rcx, [rbp + 0x1e0]
and dword [rbp + 0x1e0], r15d
and dword [rbp + 0x1e8], r15d
call fcn.180016ba0
mov qword [rbp + 0x1f8], rax
test rax, rax
je 0x18000961f
mov edx, dword [rbp + 0x1e0]
lea r8, [rbp + 0x1e8]
mov rcx, rax
call fcn.18001558c
mov qword [rbp + 0x1f0], rax
mov r12, rax
test rax, rax
je 0x18000960d
mov rcx, qword [0x18002a250]
lea r8, [rsp + 0x50]
lea rax, [rcx + 0x102c]
movsd xmm0, qword [rax]
mov rdx, rax
mov eax, dword [rax + 8]
sub rdx, rcx
lea rcx, [rsp + 0x40]
movsd qword [rbp + rdx - 0x10ec], xmm0
mov dword [rbp + rdx - 0x10e4], eax
mov word [rsp + 0x4c], 0x712e
mov byte [rsp + 0x4e], r15b
call fcn.180017330
lea r8, [rbp - 0x70]
lea edx, [r15 + 0x14]
lea rcx, [rsp + 0x50]
call fcn.180016ec8
mov edi, dword [rbp + 0x1e8]
lea r8, [rbp - 0x70]
mov edx, edi
mov rcx, r12
call fcn.180016f58
lea edx, [r15 + 2]
mov rcx, r14
call fcn.18001444c
mov r15, rax
test rax, rax
je 0x1800095f8
xor ebx, ebx
test edi, edi
je 0x1800095e3
mov rax, qword [0x18002a1e8]
lea r9, [rbp + 0x1e8]
and dword [rbp + 0x1e8], 0
mov r8d, edi
and qword [rsp + 0x20], 0
sub r8d, ebx
mov edx, ebx
mov rcx, r15
add rdx, r12
call qword [rax + 0x120]
test eax, eax
je 0x1800095e3
add ebx, dword [rbp + 0x1e8]
cmp ebx, edi
jb 0x1800095a6
mov rax, qword [0x18002a1e8]
mov rcx, r15
call qword [rax + 0x68]
mov r15d, 1
jmp 0x1800095fe
mov r15d, 0xfffffffc
mov rdx, rdi
lea rcx, [rbp + 0x1f0]
call fcn.18000c798
mov edx, dword [rbp + 0x1e0]
lea rcx, [rbp + 0x1f8]
call fcn.18000c798
mov rax, qword [0x18002a1e8]
mov rcx, rsi
call qword [rax + 0x138]
mov rax, qword [0x18002a1e8]
mov rcx, rsi
call qword [rax + 0x68]
test r15d, r15d
jle 0x180009844
lea rcx, [rbp + 0x1e0]
call fcn.180010eb0
mov ecx, 0x33
call fcn.18000f450
test eax, eax
jne 0x1800096c5
lea ecx, [rax + 0x12]
call fcn.18000f450
test eax, eax
jne 0x180009674
call fcn.1800168b0
test eax, eax
je 0x1800096c5
mov ecx, 0x83
call fcn.180002944
xor ecx, ecx
mov qword [rbp + 0x1e0], rax
mov rbx, rax
call fcn.180010eb0
mov r9, r14
mov dword [rsp + 0x20], eax
mov r8, rbx
lea rcx, [rbp - 0x70]
mov edx, 0x104
call fcn.180010c4c
lea rcx, [rbp + 0x1e0]
call fcn.18000dd5c
lea rdx, [rbp - 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x18000948e
mov rax, qword [0x18002a1e8]
xor edx, edx
mov rcx, qword [0x18002ad00]
call qword [rax + 0x60]
test eax, 0xffffff7f
je 0x18000972f
lea rcx, [rsp + 0x78]
call fcn.180010eb0
mov rax, qword [0x18002acf8]
add rax, 0xe10
cmp rax, qword [rsp + 0x78]
jge 0x180009844
mov rax, qword [0x18002a1e8]
xor edx, edx
mov rcx, qword [0x18002ace8]
call qword [rax + 0x1b0]
test eax, eax
je 0x18000972f
mov rax, qword [0x18002a1e8]
mov ecx, 0x3e8
call qword [rax + 0x188]
jmp 0x1800096c5
xor eax, eax
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
mov qword [rsp + 0x70], rax
mov rax, qword [0x18002ad08]
mov rcx, r14
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x60], xmm0
call fcn.180014578
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x18000976e
or ebx, 0xffffffff
jmp 0x1800097fa
mov rsi, qword [0x18002a1e8]
call qword [rsi + 0x260]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, qword [0x18002a1e8]
mov rbx, rax
call qword [rcx + 0x260]
mov dword [rsp + 0x30], 2
lea r9, [0x18002ace8]
and dword [rsp + 0x28], 0
mov rcx, rax
and dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbx
call qword [rsi + 0x280]
lea rcx, [0x18002acf8]
call fcn.180010eb0
call fcn.180003408
lea rdx, [0x18000590c]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x50]
call fcn.180006744
mov ebx, eax
test eax, eax
js 0x1800097fa
call fcn.18000a348
mov edx, eax
mov ecx, 0x27
call fcn.18000f49c
mov rdx, qword [0x18002a1e8]
mov rcx, qword [0x18002ace8]
call qword [rdx + 0x68]
mov rax, qword [0x18002a1e8]
mov rcx, qword [0x18002ad00]
and qword [0x18002ace8], 0
call qword [rax + 0x138]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.18000c798
test ebx, ebx
js 0x180009844
mov rcx, r14
call fcn.18000e274
jmp 0x18000948e
mov rdx, 0xfffffffffffffffe
lea rcx, [rbp - 0x80]
call fcn.18000c798
add rsp, 0x2a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret