Function at 0x14002c0e0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x140
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x14009a238]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r14, r9
mov qword [rbp - 0x60], r9
mov r12, r8
mov r13, rdx
mov qword [rbp - 0x58], rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov r15, qword [rbp + 0xa8]
mov qword [rbp - 0x48], r15
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp - 0x50], rax
mov rdi, qword [rbp + 0xd8]
mov qword [rbp - 0x68], rdi
xor eax, eax
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], al
mov qword [rsp + 0x68], rax
mov ebx, eax
mov qword [rbp - 0x70], rax
lea r8, str.CVdsVolume::FormatInternal__
lea edx, [rax + 0x5e]
lea rcx, [rbp - 0x28]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
test r14, r14
je 0x14002ca2a
test r15, r15
je 0x14002ca2a
test rdi, rdi
je 0x14002ca2a
xor r14d, r14d
mov qword [rdi], r14
test rsi, rsi
je 0x14002c21a
mov rcx, qword [rsi + 0x80]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov rax, qword [rax + 0x18]
call qword [0x140051cb8]
mov edi, eax
test eax, eax
jns 0x14002c200
mov r9d, eax
lea r8, str.CVdsVolume::FormatInternal__2__hr_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
mov rsi, r14
jmp 0x14002ca5f
test dword [rbp + 0x10], 0x2000
je 0x14002c21a
mov edi, 0x80042917
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__3__hr_lX
jmp 0x14002c1ed
mov edi, 0x8000
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14002c2f5
lea rdx, [0x14005a798]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002c258
test dword [rbp + 0x10], 0x4000
je 0x14002c258
mov edi, 0x80042914
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__4__hr_lX
jmp 0x14002c1ed
lea rdx, str.FAT32
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002c287
test dword [rbp + 0x10], edi
je 0x14002c287
mov edi, 0x80042915
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__5__hr_lX
jmp 0x14002c1ed
lea rdx, [0x14005a758]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002c2ba
test dword [rbp + 0x10], 0x10000
je 0x14002c2ba
mov edi, 0x80042916
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__6__hr_lX
jmp 0x14002c1ed
lea rdx, [0x140066be0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002c4ea
test dword [rbp + 0x10], 0x800000
je 0x14002c4ea
mov edi, 0x80042a06
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__7__hr_lX
jmp 0x14002c1ed
mov edi, r14d
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
mov qword [rbp - 0x80], r14
lea r8, str.CVdsVolume::GetFSType__
mov edx, 0x5e
lea rcx, [rbp - 0x38]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002c331
cmp r14w, word [rax]
jne 0x14002c4a4
lea r8, [rsp + 0x58]
mov edx, 0xc0000000
mov rcx, r15
call qword [sym.imp.vdsutil.dll_OpenDevice]
mov esi, eax
test eax, eax
je 0x14002c375
mov r9d, eax
lea r8, str.CVdsVolume::GetFSType__2__error_ld
mov edx, 1
lea ecx, [rdx + 0x5d]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x14002c49f
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x58]
call fcn.140025600
mov edi, eax
mov r14, qword [rbp - 0x80]
xor eax, eax
test edi, edi
jns 0x14002c3a0
lea rdx, str.CVdsVolume::GetFSType__3__hr_lX
jmp 0x14002c483
mov esi, eax
mov ecx, dword [rsp + 0x60]
test ecx, ecx
jle 0x14002c466
mov rax, r14
test byte [rax], 1
jne 0x14002c3c7
inc esi
add rax, 0xcc
cmp esi, ecx
jl 0x14002c3b1
jmp 0x14002c466
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
lea r8d, [rdx + 0x38]
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov rcx, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x14002c402
mov eax, 0x8007000e
mov edi, eax
mov r8d, eax
lea rdx, str.CVdsVolume::GetFSType__4__hr_lX
jmp 0x14002c486
mov byte [rsp + 0x40], 1
movsxd rax, esi
imul rsi, rax, 0xcc
lea r8, [r14 + 0x8c]
add r8, rsi
mov edx, reloc.ATL.DLL_AtlInternalQueryInterface
call fcn.14000a00c
mov edi, eax
xor eax, eax
test edi, edi
jns 0x14002c453
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
xor edx, edx
mov qword [rsp + 0x48], rdx
lea rdx, str.CVdsVolume::GetFSType__5__hr_lX
jmp 0x14002c483
cmp dword [rbp + 0xc0], eax
jne 0x14002c466
mov eax, dword [rsi + r14 + 8]
mov dword [rbp + 0xc0], eax
mov rax, qword [rsp + 0x48]
xor edx, edx
test rax, rax
je 0x14002c477
cmp dx, word [rax]
jne 0x14002c48e
mov edi, 0x80042593
lea rdx, str.CVdsVolume::GetFSType__6__hr_lX
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
test r14, r14
je 0x14002c49c
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor r14d, r14d
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002c4be
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rsp + 0x58], r14
lea rcx, [rbp - 0x38]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
test edi, edi
jns 0x14002c4ea
mov dword [rsp + 0x20], edi
mov r9, r15
lea r8, str.CVdsVolume::FormatInternal__8__path_s__error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
jmp 0x14002ca5a
mov eax, dword [rbp + 0xd0]
and eax, 4
mov dword [rsp + 0x60], eax
je 0x14002c52e
lea rdx, [0x14005a798]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x14002c52e
mov edi, 0x80042918
lea rdx, str.CVdsVolume::FormatInternal__9__path_s__hr_lX
mov r9d, edi
mov r8, r15
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14002ca5a
test r13, r13
je 0x14002c582
lea rdi, [r13 + 2]
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
cmp word [rdi], r14w
je 0x14002c566
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov edi, 0x80042404
lea rdx, str.CVdsVolume::FormatInternal__10__path_s__hr_lX
jmp 0x14002c51b
mov eax, 0x8000
mov word [rdi], ax
mov rbx, rdi
mov qword [rbp - 0x70], rbx
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
lea r9, [rsp + 0x68]
mov r8b, 1
mov dl, r8b
mov ecx, 0x65
call fcn.14002cb28
mov edi, eax
test eax, eax
jns 0x14002c5ac
mov r9d, eax
lea rdx, str.CVdsVolume::FormatInternal__11__path_s__hr_lX
jmp 0x14002c51e
mov byte [rsp + 0x41], 1
movaps xmm6, xmmword [r12]
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x70], eax
mov r13, qword [rsp + 0x48]
mov rdi, r14
mov r12, r14
lea r8, str.CVdsVolume::SetupFormatThreadParam__
mov edx, 0x5e
lea rcx, [rbp - 0x80]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::constructor_unsigned_long_int__char_const____ptr64____ptr64]
nop
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x4a0
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov r14, rax
test rax, rax
jne 0x14002c622
lea rdx, str.CVdsVolume::SetupFormatThreadParam__2__hr_lX
mov eax, 0x8007000e
mov r8d, eax
mov esi, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14002c8d6
mov qword [r14], rsi
mov rax, qword [rsp + 0x68]
mov qword [r14 + 8], rax
movdqu xmmword [r14 + 0x10], xmm6
lea rcx, [r14 + 0x20]
mov r8, qword [rbp - 0x60]
mov edx, 0x104
call fcn.14000a00c
mov esi, eax
xor r9d, r9d
test eax, eax
jns 0x14002c671
mov r8d, eax
lea rdx, str.CVdsVolume::SetupFormatThreadParam__3__hr_lX
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
jmp 0x14002c925
lea rcx, [r14 + 0x228]
cmp dword [rbp + 0xa0], r9d
je 0x14002c6e3
mov edx, 0x112
mov r8, r15
sub r8, rcx
test rdx, rdx
je 0x14002c6a8
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002c6a8
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002c68c
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r9w
mov rax, rdx
neg rax
sbb esi, esi
not esi
and esi, 0x8007007a
test rdx, rdx
jne 0x14002c6e7
lea rdx, str.CVdsVolume::SetupFormatThreadParam__4__hr_lX
mov r8d, esi
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14002c8d2
mov word [rcx], r9w
or r15, 0xffffffffffffffff
mov rdi, r15
inc rdi
cmp word [r13 + rdi*2], r9w
jne 0x14002c6ee
lea rdi, [rdi*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
mov edx, 8
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov rdi, rax
mov qword [rsp + 0x58], rax
xor eax, eax
test rdi, rdi
jne 0x14002c733
lea rdx, str.CVdsVolume::SetupFormatThreadParam__5__hr_lX
jmp 0x14002c60b
mov rdx, r15
inc rdx
cmp word [r13 + rdx*2], ax
jne 0x14002c736
inc rdx
mov r8, r13
mov rcx, rdi
call fcn.14000a00c
mov esi, eax
test eax, eax
jns 0x14002c761
lea rdx, str.CVdsVolume::SetupFormatThreadParam__6__hr_lX
jmp 0x14002c6d3
mov qword [r14 + 0x450], rdi
mov r8d, 4
lea rdx, [0x14005a798]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
xor edi, edi
test eax, eax
jne 0x14002c78f
mov eax, dword [rsp + 0x60]
mov dword [r14 + 0x480], eax
mov rax, qword [rbp - 0x58]
mov qword [r14 + 0x490], rax
mov dword [r14 + 0x498], edi
mov r13, qword [rbp - 0x50]
test r13, r13
je 0x14002c841
mov rdi, r15
xor eax, eax
inc rdi
cmp word [r13 + rdi*2], ax
jne 0x14002c7b3
lea rdi, [rdi*2 + 2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
mov edx, 8
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov r12, rax
xor edi, edi
test rax, rax
jne 0x14002c80a
lea rdx, str.CVdsVolume::SetupFormatThreadParam__7__hr_lX
mov eax, 0x8007000e
mov r8d, eax
mov esi, eax
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov rdi, qword [rsp + 0x58]
jmp 0x14002c8d6
inc r15
cmp word [r13 + r15*2], di
jne 0x14002c80a
lea rdx, [r15 + 1]
mov r8, r13
mov rcx, rax
call fcn.14000a00c
mov esi, eax
test eax, eax
jns 0x14002c86a
mov r8d, eax
lea rdx, str.CVdsVolume::SetupFormatThreadParam__8__hr_lX
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14002c8cd
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
lea r8d, [rdx - 6]
call qword [sym.imp.vdsutil.dll_VdsHeapAlloc]
mov r12, rax
test rax, rax
jne 0x14002c86a
lea rdx, str.CVdsVolume::SetupFormatThreadParam__9__hr_lX
jmp 0x14002c7ee
mov word [r14 + 0x458], 2
mov eax, dword [rbp + 0xd0]
test al, 1
je 0x14002c886
or dword [r14 + 0x45c], 4
test al, 2
je 0x14002c892
or dword [r14 + 0x45c], 1
test al, 8
je 0x14002c89e
or dword [r14 + 0x45c], 8
mov qword [r14 + 0x460], r12
mov eax, dword [rsp + 0x70]
mov dword [r14 + 0x468], eax
movzx eax, word [rbp + 0xb8]
mov word [r14 + 0x46c], ax
mov qword [r14 + 0x470], rdi
mov dword [r14 + 0x478], edi
mov rdi, qword [rsp + 0x58]
test esi, esi
jns 0x14002c917
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, r12
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
xor eax, eax
mov r14d, eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
mov r15, qword [rbp - 0x48]
mov edi, esi
xor r12d, r12d
test esi, esi
jns 0x14002c94e
mov r9d, esi
mov r8, r15
lea rdx, str.CVdsVolume::FormatInternal__12__path_s__hr_lX
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
mov esi, r12d
xor r14d, r14d
jmp 0x14002ca5f
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140051cb8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, r14
lea r8, [0x140024270]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002c9ea
xor r14d, r14d
mov ebx, r14d
mov qword [rbp - 0x70], rbx
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
mov rax, qword [rdx]
mov r8, qword [rbp - 0x68]
lea rdx, [0x1400545c8]
call qword [0x140051cb8]
mov edi, eax
test eax, eax
jns 0x14002c9c8
mov r9d, eax
lea rdx, str.CVdsVolume::FormatInternal__14__path_s__hr_lx
jmp 0x14002ca1d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002ca5f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140051cb8]
mov qword [rsp + 0x68], r14
jmp 0x14002ca5f
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140051cb8]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
xor r14d, r14d
test eax, eax
cmovle edi, eax
mov r9d, edi
lea rdx, str.CVdsVolume::FormatInternal__13__path_s__hr_lX
mov r8, r15
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_VdsTraceW]
jmp 0x14002ca5f
mov edi, 0x80070057
mov rdx, qword [rbp - 0x68]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r9d, edi
lea r8, str.CVdsVolume::FormatInternal__1__hr_lX__Volume_p__Device_p__Async_p
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_VdsTraceEx]
xor r14d, r14d
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14002ca72
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x18], r14
cmp byte [rsp + 0x40], r14b
je 0x14002ca94
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
call qword [sym.imp.vdsutil.dll_VdsHeapFree]
mov qword [rsp + 0x48], r14
test edi, edi
jns 0x14002cac5
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002caab
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp byte [rsp + 0x41], r14b
je 0x14002cac5
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140051cb8]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop
test rbx, rbx
je 0x14002caf8
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
mov eax, 0x7fff
and word [rbx], ax
lea rcx, [0x14009ad40]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14004a710
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret