Function at 0x140027160
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 - 0x38]
sub rsp, 0x110
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp], rax
xor r15d, r15d
mov qword [rsp + 0x58], rcx
mov ebx, r15d
mov r14, rcx
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400271d3
test byte [rcx + 0x1c], 1
je 0x1400271d3
cmp byte [rcx + 0x19], 4
jb 0x1400271d3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x147
call fcn.14000c328
mov ecx, dword [r14 + 0x150]
or r12, 0xffffffffffffffff
mov qword [rsp + 0x78], r12
mov rsi, r15
mov qword [rsp + 0x70], r15
mov r13, r15
mov qword [rsp + 0x48], r15
mov rdi, r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
call fcn.14009c21c
test al, 8
jne 0x14002725f
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140027336
test byte [rcx + 0x1c], 1
je 0x140027336
cmp byte [rcx + 0x19], 4
jb 0x140027336
mov r9d, dword [r14 + 0x150]
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x148
call fcn.1400155dc
jmp 0x140027336
cmp qword [r14 + 0x1d8], r15
jne 0x1400272b2
mov ebx, 0x80070057
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140027336
test byte [rcx + 0x1c], 1
je 0x140027336
cmp byte [rcx + 0x19], 2
jb 0x140027336
mov edx, 0x149
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
call fcn.14000c328
jmp 0x140027336
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140028f7c
mov ebx, eax
test eax, eax
jns 0x140027366
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140027300
test byte [rcx + 0x1c], 1
je 0x140027300
cmp byte [rcx + 0x19], 2
jb 0x140027300
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov edx, 0x14a
mov r9d, ebx
call fcn.14000c354
mov r15, qword [rsp + 0x40]
test r15, r15
je 0x140027321
mov rcx, r15
call fcn.1400a30ac
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
cmp r12, 0xffffffffffffffff
je 0x140027336
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140007410
lea r11, [rsp + 0x110]
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
mov r15, qword [rsp + 0x40]
test r15, r15
jne 0x140027399
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140027336
test byte [rcx + 0x1c], 1
je 0x140027336
cmp byte [rcx + 0x19], 4
jb 0x140027336
mov edx, 0x14b
jmp 0x14002729d
mov rcx, qword [r14 + 0x1d8]
lea rax, [rsp + 0x70]
lea r9, str..vhdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor edx, edx
call fcn.1401132c0
mov ebx, eax
test eax, eax
js 0x140027938
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x78]
xor r9d, r9d
lea rdx, [rsp + 0x48]
call fcn.140102a3c
mov ebx, eax
test eax, eax
jns 0x14002742e
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14002741f
test byte [rcx + 0x1c], 1
je 0x14002741f
cmp byte [rcx + 0x19], 2
jb 0x14002741f
mov r9, qword [rsp + 0x70]
lea r8, [0x1401529e0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x14c
mov dword [rsp + 0x20], ebx
call fcn.1400151b8
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x48]
jmp 0x140027938
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x140027907
movups xmm0, xmmword [0x14014fdf0]
xor ebx, ebx
movdqu xmmword [rsp + 0x78], xmm0
test r13, r13
je 0x140027469
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x68], rbx
test rdi, rdi
je 0x140027482
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x60], rbx
lea r8, [rsp + 0x68]
mov rcx, rsi
lea rdx, [rsp + 0x60]
call fcn.140097cd4
mov r13, qword [rsp + 0x68]
mov ebx, eax
test eax, eax
js 0x140027900
mov r8d, 3
lea rdx, [0x140151678]
mov rcx, r13
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
jne 0x14002750d
mov rcx, qword [0x140173048]
lea r15, [0x140173048]
cmp rcx, r15
je 0x1400276cd
test byte [rcx + 0x1c], 1
je 0x1400276cd
cmp byte [rcx + 0x19], 4
jb 0x1400276cd
mov edx, 0x14d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401529e0]
mov r9, rsi
call fcn.140015150
jmp 0x1400276cd
or rax, 0xffffffffffffffff
inc rax
cmp word [r13 + rax*2], bx
jne 0x140027511
cmp rax, 0x24
jae 0x140027554
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400276cd
test byte [rcx + 0x1c], 1
je 0x1400276cd
cmp byte [rcx + 0x19], 4
jb 0x1400276cd
mov edx, 0x14e
jmp 0x1400274f5
lea rdx, [rsp + 0x78]
mov word [r13 + 0x48], bx
mov rcx, r13
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
nop dword [rax + rax]
test eax, eax
je 0x1400275a6
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400276cd
test byte [rcx + 0x1c], 1
je 0x1400276cd
cmp byte [rcx + 0x19], 4
jb 0x1400276cd
mov edx, 0x14f
jmp 0x1400274f5
mov rax, qword [rsp + 0x78]
sub rax, qword [0x14014fdf0]
jne 0x1400275bf
mov rax, qword [rbp - 0x80]
sub rax, qword [0x14014fdf8]
test rax, rax
je 0x1400276cd
mov r10, qword [rsp + 0x40]
mov ecx, ebx
mov edx, dword [r10 + 0x40]
test edx, edx
je 0x1400278cb
mov r8, qword [r10 + 0x48]
mov eax, ecx
imul r9, rax, 0x78
mov rax, qword [r8 + r9]
sub rax, qword [rsp + 0x78]
jne 0x1400275f9
mov rax, qword [r8 + r9 + 8]
sub rax, qword [rbp - 0x80]
test rax, rax
je 0x140027604
inc ecx
cmp ecx, edx
jb 0x1400275df
cmp ecx, edx
jae 0x1400278cb
mov r14d, dword [r14 + 0x170]
mov edi, ebx
mov eax, ecx
imul r15, rax, 0x78
test r14d, r14d
je 0x140027671
mov rbx, qword [rsp + 0x58]
mov r13, qword [r15 + r8 + 0x48]
movzx esi, word [r15 + r8 + 0x44]
mov rbx, qword [rbx + 0xd8]
add rbx, 0x6a
mov r9, qword [rbx + 6]
mov rdx, r13
movzx r8d, word [rbx]
movzx ecx, si
call fcn.14001f09c
cmp al, 1
je 0x140027660
inc edi
add rbx, 0x170
cmp edi, r14d
jb 0x14002763b
mov rsi, qword [rsp + 0x48]
xor ebx, ebx
mov r13, qword [rsp + 0x68]
mov r10, qword [rsp + 0x40]
cmp edi, r14d
jne 0x140027711
mov rax, qword [0x140173048]
lea rcx, [0x140173048]
cmp rax, rcx
je 0x1400276c8
test byte [rax + 0x1c], 1
je 0x1400276c8
cmp byte [rax + 0x19], 4
jb 0x1400276c8
mov rdx, qword [r10 + 0x48]
lea rcx, [rbp - 0x70]
add rdx, r15
call fcn.140091318
mov rcx, qword [0x140173048]
lea r8, [0x1401529e0]
mov edx, 0x151
mov r9, rax
mov rcx, qword [rcx + 0x10]
call fcn.140015150
mov r14, qword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x48]
xor esi, esi
xor r9d, r9d
mov rdx, r12
mov qword [rsp + 0x48], rsi
call fcn.140102db8
mov rdi, qword [rsp + 0x60]
mov ebx, eax
test eax, eax
jns 0x140027433
mov rsi, qword [rsp + 0x48]
jmp 0x14002791a
mov r14, qword [rsp + 0x58]
mov rdx, qword [r10 + 0x48]
mov eax, edi
imul rdi, rax, 0x170
mov rcx, qword [r14 + 0xd8]
mov rax, qword [r15 + rdx]
sub rax, qword [rcx + rdi + 0x44]
jne 0x14002773f
mov rax, qword [r15 + rdx + 8]
sub rax, qword [rcx + rdi + 0x4c]
test rax, rax
jne 0x140027779
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400276cd
test byte [rcx + 0x1c], 1
je 0x1400276cd
cmp byte [rcx + 0x19], 4
jb 0x1400276cd
mov edx, 0x152
jmp 0x1400274f5
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140027797
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + 0x50], rbx
mov rax, qword [r14 + 0xd8]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, str..vhdx
mov rcx, qword [r14 + 0x1d8]
mov r8d, dword [rax + rdi + 0x54]
lea rdx, [rax + 0x44]
add rdx, rdi
call fcn.1401132c0
mov ebx, eax
test eax, eax
js 0x140027900
mov rax, qword [0x140173048]
lea r15, [0x140173048]
cmp rax, r15
je 0x14002784f
test byte [rax + 0x1c], 1
je 0x14002784f
cmp byte [rax + 0x19], 4
jb 0x14002784f
mov rcx, qword [r14 + 0xd8]
lea rbx, [0x1401529d8]
mov rax, qword [rcx + rdi + 0x58]
lea rdx, [rcx + 0x44]
test rax, rax
lea rcx, [rbp - 0x70]
cmovne rbx, rax
add rdx, rdi
call fcn.140091318
mov rcx, qword [0x140173048]
lea r8, [0x1401529e0]
mov qword [rsp + 0x30], rbx
mov edx, 0x153
mov rbx, qword [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbx
call fcn.140040154
jmp 0x140027854
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400276cd
mov rax, qword [0x140173048]
cmp rax, r15
je 0x1400276cd
test byte [rax + 0x1c], 1
je 0x1400276cd
cmp byte [rax + 0x19], 3
jb 0x1400276cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea r8, [0x1401529e0]
mov dword [rsp + 0x28], eax
mov edx, 0x154
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx + 0x10]
call fcn.1400402a0
jmp 0x1400276cd
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400276cd
test byte [rcx + 0x1c], 1
je 0x1400276cd
cmp byte [rcx + 0x19], 3
jb 0x1400276cd
mov edx, 0x150
jmp 0x1400274f5
mov rdi, qword [rsp + 0x60]
jmp 0x14002791a
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
or r12, 0xffffffffffffffff
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140027933
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x140027951
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x140027965
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r13, r13
je 0x140027979
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rdi, rdi
je 0x140027305
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x140027305