Function at 0x14001d0bc
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x180
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea rsi, str.base_stor_vssmoduleswriters_asrwriter.cxx
mov qword [rsp + 0x40], rsi
lea r14, str.CVssAsrWriterBackup::CreateWriter
mov qword [rsp + 0x48], r14
lea r15, str.WRTASRWC
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2b3
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
xor edi, edi
mov dword [rax - 0xb8], 0x1000000
lea ebx, [rdi + 0x78]
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140010990
nop
mov dword [rsp + 0x1a0], edi
cmp qword [0x14015afc0], rdi
jne 0x140059706
lea rdx, [0x14015a53c]
lea ecx, [rdi + 0x20]
call fcn.1400307f4
mov qword [rsp + 0x1a8], rax
test rax, rax
je 0x14005971a
mov qword [rax + 8], rdi
lea rcx, fcn.140017fc0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov dword [rax + 0x18], edi
mov qword [0x14015afc0], rax
test rax, rax
je 0x140059722
lea rdx, [rax + 0x10]
call fcn.14001cf1c
mov dword [rsp + 0xf8], eax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2c9
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r8, str.CVssAsrAPIBackup::CreateObject
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140010880
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140003aa0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140059782
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x14015ab94]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], edi
jl 0x1400597f5
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.140010ab0
mov eax, ebx
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [rsp + 0xf0]
call fcn.140010ab0
xor eax, eax
jmp 0x14001d287
mov rax, rdi
jmp 0x14001d194
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2c5
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r9, str.Allocation_of_CVssAsrWriterBackup_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400ce7c0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x2cf
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov dword [rsp + 0xe0], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.CreateThread_failed_with_error__d
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400ce7c0
nop
xor edi, edi
jmp 0x14001d264
mov rsi, qword [0x14015afc0]
test rsi, rsi
je 0x14001d271
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140031010]
mov edx, 1
mov rcx, rsi
call rbx
mov qword [0x14015afc0], rdi
jmp 0x14001d271