Function at 0x1400042cc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rsi, rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rsi + 0x2a8], rax
xor r15d, r15d
test rax, rax
jne 0x14000435a
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004350
test byte [rcx + 0x1c], 1
je 0x140004350
cmp byte [rcx + 0x19], 2
jb 0x140004350
lea edx, [rax + 0xa]
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e70
mov eax, 0x8007000e
jmp 0x140004725
mov rax, qword [0x14004d0a0]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x30], xmm0
cmp qword [0x14004d0b8], r15
je 0x14000437b
mov ecx, 5
int 0x29
xorps xmm0, xmm0
movdqu xmmword [0x14004d0c0], xmm0
lea r9, [0x14004d0b8]
lea r8, [0x14004d098]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x1400043d1
mov r8, qword [0x14004d0a0]
movzx r9d, word [r8]
lea edx, [rax + 2]
mov rcx, qword [0x14004d0b8]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
nop dword [rax + rax]
call fcn.140004dfc
mov qword [rsi + 0x2b0], r15
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004414
test byte [rcx + 0x1c], 1
je 0x140004414
cmp byte [rcx + 0x19], 4
jb 0x140004414
mov edx, 0xb
mov r9d, eax
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e9c
mov ecx, 0x1a8
call fcn.140001a48
test rax, rax
je 0x1400046e5
mov rcx, rax
call fcn.1400054f8
mov qword [0x14004d968], rax
test rax, rax
je 0x1400046ec
mov edi, 0x64
mov r9d, edi
lea r8, [rsp + 0x40]
lea edx, [rdi + 2]
mov rcx, qword [0x14004d978]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x1400044f2
lea rcx, [rsp + 0x40]
lea rdx, [0x140045a00]
lea rax, [rsp + 0x40]
sub rdx, rax
lea rax, [rdi + 0x7fffff9a]
test rax, rax
je 0x1400044a0
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400044a0
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14000447e
lea rax, [rcx - 2]
test rdi, rdi
cmovne rax, rcx
mov word [rax], r15w
neg rdi
sbb eax, eax
not eax
and eax, 0x8007007a
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x1400044f2
test byte [rcx + 0x1c], 1
je 0x1400044f2
cmp byte [rcx + 0x19], 3
jb 0x1400044f2
mov edx, 0xd
mov dword [rsp + 0x20], eax
mov r9d, 0xc8
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004ee0
lea r9, str.MicrosoftWindowsStorage_Tiers_Management
lea r8, str.Storage_Tiers_Optimization
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14004d968]
call fcn.140006e34
mov edi, eax
test eax, eax
jns 0x14000454e
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004547
test byte [rcx + 0x1c], 1
je 0x140004547
cmp byte [rcx + 0x19], 2
jb 0x140004547
mov edx, 0xe
mov r9d, eax
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e9c
mov eax, edi
jmp 0x140004725
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, [0x140004760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rsi + 0x2b0], rax
test rax, rax
jne 0x1400045d9
mov rax, qword [0x14004d128]
cmp rax, rbx
je 0x1400045c1
test byte [rax + 0x1c], 1
je 0x1400045c1
cmp byte [rax + 0x19], 2
jb 0x1400045c1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14004d128]
mov edx, 0xf
mov r9d, eax
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e9c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f1c
jmp 0x140004725
mov rcx, rsi
call fcn.1400041c0
mov r14d, eax
mov rdi, qword [0x14004d968]
test rdi, rdi
je 0x14000463c
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x14000461d
test byte [rcx + 0x1c], 1
je 0x14000461d
cmp byte [rcx + 0x19], 4
jb 0x14000461d
mov edx, 0x10
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e70
mov rcx, qword [rsi + 0x2a8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
call fcn.140009548
mov rdi, qword [0x14004d968]
mov rax, qword [rsi + 0x2b0]
test rax, rax
je 0x140004697
mov rcx, rax
mov r9, qword [0x14004d128]
cmp r9, rbx
je 0x140004681
test byte [r9 + 0x1c], 1
je 0x140004681
cmp byte [r9 + 0x19], 4
jb 0x140004681
mov edx, 0x11
lea r8, [0x140045b08]
mov rcx, qword [r9 + 0x10]
call fcn.140004e70
mov rcx, qword [rsi + 0x2b0]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rdi, qword [0x14004d968]
test rdi, rdi
je 0x1400046b3
mov rcx, rdi
call fcn.140005aa4
mov rcx, rdi
call fcn.140001a30
mov qword [0x14004d968], r15
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x1400046e0
test byte [rcx + 0x1c], 1
je 0x1400046e0
cmp byte [rcx + 0x19], 4
jb 0x1400046e0
mov edx, 0x12
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e70
mov eax, r14d
jmp 0x140004725
mov qword [0x14004d968], r15
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004719
test byte [rcx + 0x1c], 1
je 0x140004719
cmp byte [rcx + 0x19], 2
jb 0x140004719
mov edx, 0xc
lea r8, [0x140045b08]
mov rcx, qword [rcx + 0x10]
call fcn.140004e70
mov eax, 0x8007000e
jmp 0x140004725
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140001e70
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret