Function at 0x1400544a0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor ebx, ebx
mov qword [rax - 0x28], rcx
mov dword [rax + 0x10], ebx
mov edi, edx
mov dword [rax - 0x2c], ebx
mov rsi, rcx
mov qword [rax - 0x20], rbx
mov dword [rax - 0x30], edx
call fcn.1400549b0
lea r14, [0x140158190]
mov rbp, rax
test rax, rax
je 0x1400545af
mov r9, rax
lea rcx, str.WARNING:_Found_stale__s___d__image_mounted_on__s___Attempting_to_unmount_it...
mov r8d, edi
mov rdx, rsi
call fcn.140041aa0
lea r9d, [rbx - 1]
mov dword [rsp + 0x28], 0x104
mov r8, rbp
mov qword [rsp + 0x20], r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rbx
lea r8, [0x140054700]
mov word [0x140157c40], bx
xor edx, edx
mov dword [rsp + 0x90], ebx
xor ecx, ecx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140142ab0], rax
test rax, rax
jne 0x140054572
lea rcx, str.Unable_to_start_unmount_image_thread
call fcn.140041aa0
jmp 0x1400545af
mov edx, dword [0x14010719c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x140142ab0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140142ab0]
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov qword [0x140142ab0], rbx
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x58]
lea r8, [0x1400540a0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140142ab0], rax
test rax, rax
jne 0x1400545ed
lea rcx, str.Unable_to_start_mount_image_thread
call fcn.140041aa0
xor eax, eax
jmp 0x1400546e5
mov edx, dword [0x14010719c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [0x140142ab0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140142ab0]
lea rdx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov ecx, dword [rsp + 0x98]
test eax, eax
mov qword [0x140142ab0], rbx
cmove ecx, ebx
mov dword [rsp + 0x98], ecx
test ecx, ecx
je 0x1400546e2
cmp word [0x140158190], bx
jne 0x140054662
mov edx, 1
mov ecx, edx
call fcn.1400966e0
mov rbx, rax
jmp 0x1400546e2
mov qword [rsp + 0x38], rbx
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rbx
mov r8, r14
mov dword [rsp + 0x28], ebx
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rsi, eax
cmp esi, 1
jle 0x1400546e2
mov rcx, rsi
mov edx, 1
call fcn.1400966e0
mov rdi, rax
test rax, rax
je 0x1400546e2
mov qword [rsp + 0x38], rbx
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rbx
mov r8, r14
mov dword [rsp + 0x28], esi
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
je 0x1400546df
mov rcx, rdi
call fcn.14009b5a0
jmp 0x1400546e2
mov rbx, rdi
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret