Function at 0x14002ea78
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rax, qword [0x1400a0008]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r12, r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x30], r8
mov rdi, rdx
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov qword [rbp - 0x38], rcx
mov r14, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xd0]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0xe8]
mov qword [rbp - 0x20], rax
mov r13, qword [rbp + 0xf8]
xor eax, eax
mov dword [rbp - 0x60], eax
mov r15d, eax
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x80], al
mov byte [rbp - 0x7f], al
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x70], rax
mov ebx, eax
mov qword [rbp - 0x48], rax
lea r8, str.CVdsVolume::FormatInternal__
lea edx, [rax + 0x5e]
lea rcx, [rbp - 0x10]
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]
call sub.msvcrt.dll_memset
test r12, r12
je 0x14002ef26
test r14, r14
je 0x14002ef26
test r13, r13
je 0x14002ef26
xor r12d, r12d
mov qword [r13], r12
test rsi, rsi
je 0x14002ebad
mov rsi, qword [rsi + 0x80]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
lea rdx, [rbp]
mov rcx, rsi
call rdi
mov esi, eax
test eax, eax
jns 0x14002eb8f
mov r9d, eax
lea r8, str.CVdsVolume::FormatInternal__2__hr_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
jmp 0x14002ef52
test dword [rbp + 0x28], 0x2000
je 0x14002eba9
mov esi, 0x80042917
mov r9d, esi
lea r8, str.CVdsVolume::FormatInternal__3__hr_lX
jmp 0x14002eb7f
mov rdi, qword [rbp - 0x50]
mov esi, 0x8000
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002ec7c
lea rdx, [0x14005f2c8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002ebea
test dword [rbp + 0x28], 0x4000
je 0x14002ebea
mov esi, 0x80042914
mov r9d, esi
lea r8, str.CVdsVolume::FormatInternal__4__hr_lX
jmp 0x14002eb7f
lea rdx, str.FAT32
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002ec18
test dword [rbp + 0x28], esi
je 0x14002ec18
mov esi, 0x80042915
mov r9d, esi
lea r8, str.CVdsVolume::FormatInternal__5__hr_lX
jmp 0x14002eb7f
lea rdx, [0x14005f288]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002ec4a
test dword [rbp + 0x28], 0x10000
je 0x14002ec4a
mov esi, 0x80042916
mov r9d, esi
lea r8, str.CVdsVolume::FormatInternal__6__hr_lX
jmp 0x14002eb7f
lea rdx, [0x14006b960]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14002ecb7
test dword [rbp + 0x28], 0x800000
je 0x14002ecb7
mov esi, 0x80042a06
mov r9d, esi
lea r8, str.CVdsVolume::FormatInternal__7__hr_lX
jmp 0x14002eb7f
lea r9, [rbp - 0x80]
lea r8, [rbp + 0xe0]
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.14002f468
mov esi, eax
test eax, eax
jns 0x14002ecb7
mov dword [rsp + 0x20], eax
mov r9, r14
lea r8, str.CVdsVolume::FormatInternal__8__path_s__error_lX
xor edx, edx
lea ecx, [rdx + 0x5e]
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
jmp 0x14002ef52
mov r12d, dword [rbp + 0xf0]
mov r15d, r12d
and r15d, 4
je 0x14002ed01
lea rdx, [0x14005f2c8]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor esi, esi
test eax, eax
je 0x14002ed03
mov esi, 0x80042918
lea rdx, str.CVdsVolume::FormatInternal__9__path_s__hr_lX
mov r9d, esi
mov r8, r14
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
mov r15, qword [rbp - 0x68]
jmp 0x14002ef4f
xor esi, esi
test rdi, rdi
je 0x14002ed59
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
nop
cmp word [rdi + 2], si
je 0x14002ed37
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov esi, 0x80042404
lea rdx, str.CVdsVolume::FormatInternal__10__path_s__hr_lX
jmp 0x14002ecea
mov eax, 0x8000
mov word [rdi + 2], ax
lea rbx, [rdi + 2]
mov qword [rbp - 0x48], rbx
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov rdi, qword [rbp - 0x50]
lea r9, [rbp - 0x70]
mov r8b, 1
mov dl, r8b
mov ecx, 0x65
call fcn.14002f6bc
mov esi, eax
test eax, eax
jns 0x14002ed82
mov r9d, eax
lea rdx, str.CVdsVolume::FormatInternal__11__path_s__hr_lX
jmp 0x14002eced
mov byte [rbp - 0x7f], 1
mov rax, qword [rbp - 0x30]
movaps xmm0, xmmword [rax]
movdqa xmmword [rbp - 0x30], xmm0
mov eax, r12d
and eax, 8
mov edx, r12d
and edx, 2
and r12d, 1
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x78], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r12d
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0xe0]
mov dword [rsp + 0x38], eax
movzx eax, word [rbp + 0xd8]
mov word [rsp + 0x30], ax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, dword [rbp + 0xc0]
mov r8, qword [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
call fcn.14002f018
mov esi, eax
xor r12d, r12d
test eax, eax
jns 0x14002ee36
mov r9d, eax
mov r8, r14
lea rdx, str.CVdsVolume::FormatInternal__12__path_s__hr_lX
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
mov r15d, r12d
jmp 0x14002ef52
mov rsi, qword [rbp - 0x70]
mov rax, qword [rsi]
mov rdi, qword [rax + 8]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rsi
call rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, qword [rbp - 0x58]
lea r8, [0x140026740]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov r15, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14002eee2
mov rbx, r12
mov qword [rbp - 0x48], rbx
mov rsi, qword [rbp - 0x70]
mov rdx, qword [rsi]
mov rdi, qword [rdx]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov r8, r13
lea rdx, [0x1400587e8]
mov rcx, rsi
call rdi
mov esi, eax
test eax, eax
jns 0x14002eeba
mov r9d, eax
lea rdx, str.CVdsVolume::FormatInternal__14__path_s__hr_lx
jmp 0x14002ef19
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x14002ef52
mov rax, qword [r14]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, r14
call rdi
mov qword [rbp - 0x70], r12
jmp 0x14002ef52
mov rsi, qword [rbp - 0x70]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, rsi
call rdi
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov r9d, esi
lea rdx, str.CVdsVolume::FormatInternal__13__path_s__hr_lX
mov r8, r14
xor ecx, ecx
call qword [sym.imp.vdsutil.dll_void___cdecl_VdsTraceW_unsigned_long_int__unsigned_short_int____ptr64_]
jmp 0x14002ef52
mov esi, 0x80070057
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov r9d, esi
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_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char____ptr64_]
xor r12d, r12d
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14002ef65
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov qword [rbp + 0x30], r12
cmp byte [rbp - 0x80], r12b
je 0x14002ef84
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rbp - 0x78]
xor edx, edx
call qword [sym.imp.vdsutil.dll_int___cdecl_VdsHeapFree_void____ptr64__unsigned_long_int__void____ptr64_]
mov qword [rbp - 0x78], r12
test esi, esi
jns 0x14002efbb
lea rax, [r15 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002ef9b
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp byte [rbp - 0x7f], r12b
je 0x14002efbb
mov r14, qword [rbp - 0x70]
mov rax, qword [r14]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [sym.vds.exe_public:_void___cdecl_CVdsPtr_char_::destructor_void____ptr64]
mov rcx, r14
call rdi
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.vdsutil.dll_public:_void___cdecl_CVdsCallTracer::destructor_void____ptr64]
nop
test rbx, rbx
je 0x14002efee
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_EnterCriticalSection]
nop
mov eax, 0x7fff
and word [rbx], ax
lea rcx, [0x1400a0d50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14004eb20
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret