Function at 0x1400011f0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x230
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
lea r14, str.base_stor_vssmoduleswriters_asrwriter.cxx
mov qword [rsp + 0x48], r14
lea r15, str.CVssAsrWriterBackup::CreateWriter
mov qword [rsp + 0x50], r15
lea r12, str.WRTASRWC
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x2ae
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
xor esi, esi
mov dword [rsp + 0xe8], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x100]
call fcn.14001cce0
nop
mov dword [rsp + 0x260], esi
cmp qword [0x14016c068], rsi
jne 0x14003ce38
lea rdx, [0x140102ed8]
lea ecx, [rsi + 0x20]
call fcn.14003264c
mov qword [rsp + 0x268], rax
test rax, rax
je 0x14003ce4c
mov qword [rax + 8], rsi
lea rcx, section..rdata
mov qword [rax], rcx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], esi
mov qword [0x14016c068], rax
test rax, rax
je 0x14003ce54
lea rdx, [rax + 0x10]
call fcn.1400039d4
mov ebx, eax
mov dword [rsp + 0x108], eax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x2c4
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rsp + 0xe8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x48]
mov qword [rsp + 0x268], rax
test ebx, ebx
js 0x14003ceb6
cmp byte [rsp + 0xeb], 0
je 0x140001376
lea rbx, [rsp + 0x70]
mov edi, 0xf
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14003cf00
add rbx, 8
sub rdi, 1
jne 0x140001360
lea rax, [rsp + 0x260]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140030b60]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14003cf0e
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x14016c070]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jl 0x14003cf81
mov ebx, dword [rsp + 0x108]
lea rcx, [rsp + 0x100]
call fcn.14001ce00
mov eax, ebx
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x100]
call fcn.14001ce00
xor eax, eax
jmp 0x1400013f0
mov rax, rsi
jmp 0x1400012cc
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x2c0
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rsp + 0xe8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea r9, str.Allocation_of_CVssAsrWriterBackup_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x100]
call fcn.1400dc25c
nop
cmp ebx, 0x8000ffff
jne 0x14003ced3
mov dword [rsp + 0x40], ebx
lea rdx, [0x140167770]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll__CxxThrowException
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x188]
call fcn.14000aeb0
lea r9, str.CVssAsrAPIBackup::CreateObject
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1400dc9fc
nop
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x14000136c
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 0x2ca
mov dword [rsp + 0x64], 4
mov dword [rsp + 0x68], 0xff
mov dword [rsp + 0xe8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.CreateThread_failed_with_error__d
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x100]
call fcn.1400dc25c
nop
xor esi, esi
jmp 0x1400013cc
mov rcx, qword [0x14016c068]
test rcx, rcx
je 0x1400013da
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [0x1400f9ec0]
mov qword [0x14016c068], rsi
jmp 0x1400013da