Function at 0x14001c928
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x220
mov qword [rax - 0xd8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
lea rdi, str.base_stor_vssmoduleswriters_regwriter.cxx
mov qword [rsp + 0x40], rdi
lea rsi, str.CRegistryWriter::CreateWriter
mov qword [rsp + 0x48], rsi
lea r14, str.WRTREGRC
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1e4
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
xor ebx, ebx
mov dword [rax - 0x158], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.140003840
nop
cmp qword [0x140154cc8], rbx
jne 0x14003ccda
lea rdx, [0x14015452c]
lea ecx, [rbx + 0x28]
call fcn.140020134
mov qword [rsp + 0x248], rax
test rax, rax
je 0x14003ccee
mov qword [rax + 8], rbx
lea rcx, fcn.1400012c0
mov qword [rax], rcx
mov qword [rax + 0x18], rbx
lea rcx, [0x1400e53d8]
mov qword [rax + 0x10], rcx
mov qword [0x140154cc8], rax
test rax, rax
je 0x14003ccf6
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x14001d0d0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateThread]
mov r15, rax
test rax, rax
je 0x14003cd57
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [0x140154fb8]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], ebx
jl 0x14003cdd8
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.140003960
mov eax, ebx
lea r11, [rsp + 0x220]
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.140003960
xor eax, eax
jmp 0x14001ca8b
mov rax, rbx
jmp 0x14001ca02
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1f0
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
lea r9, str.Allocation_of_CRegistryWriter_object_failed.
mov r8d, 0x8007000e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400b8238
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x201
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 r9d, eax
lea r8, str.CreateThread_failed_with_error__d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1400b9c70
nop
xor ebx, ebx
lea r14, str.WRTREGRC
lea rsi, str.CRegistryWriter::CreateWriter
lea rdi, str.base_stor_vssmoduleswriters_regwriter.cxx
jmp 0x14001ca68
mov rcx, qword [0x140154cc8]
test rcx, rcx
je 0x14003cdfc
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x140007ddd.0]
mov qword [0x140154cc8], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x214
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
mov r8d, dword [rsp + 0xf8]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x40]
call fcn.1400b67e0
mov r9d, 1
mov r8, rax
mov edx, 0x3036
lea rcx, [rsp + 0xf0]
call fcn.140003a80
lea rcx, [rsp + 0x40]
call fcn.14000d0f4
nop
jmp 0x14001ca75