Function at 0x1400042ec
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 0x14000437a
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004370
test byte [rcx + 0x1c], 1
je 0x140004370
cmp byte [rcx + 0x19], 2
jb 0x140004370
lea edx, [rax + 0xa]
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004e90
mov eax, 0x8007000e
jmp 0x14000473d
mov rax, qword [0x14004d0a0]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x30], xmm0
cmp qword [0x14004d0b8], r15
je 0x14000439b
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 0x1400043f1
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.140004e1c
mov qword [rsi + 0x2b0], r15
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004434
test byte [rcx + 0x1c], 1
je 0x140004434
cmp byte [rcx + 0x19], 4
jb 0x140004434
mov edx, 0xb
mov r9d, eax
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004ebc
mov ecx, 0x1a8
call fcn.140001a48
test rax, rax
je 0x1400046fd
mov rcx, rax
call fcn.140005524
mov qword [0x14004d968], rax
test rax, rax
je 0x140004704
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 0x140004512
lea rcx, [rsp + 0x40]
lea rdx, [0x140045a10]
lea rax, [rsp + 0x40]
sub rdx, rax
lea rax, [rdi + 0x7fffff9a]
test rax, rax
je 0x1400044c0
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400044c0
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14000449e
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 0x140004512
test byte [rcx + 0x1c], 1
je 0x140004512
cmp byte [rcx + 0x19], 3
jb 0x140004512
mov edx, 0xd
mov dword [rsp + 0x20], eax
mov r9d, 0xc8
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004f00
lea r9, str.MicrosoftWindowsStorage_Tiers_Management
lea r8, str.Storage_Tiers_Optimization
lea rdx, [rsp + 0x40]
mov rcx, qword [0x14004d968]
call fcn.140006e48
mov edi, eax
test eax, eax
jns 0x14000456e
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004567
test byte [rcx + 0x1c], 1
je 0x140004567
cmp byte [rcx + 0x19], 2
jb 0x140004567
mov edx, 0xe
mov r9d, eax
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004ebc
mov eax, edi
jmp 0x14000473d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, [0x140004770]
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 0x1400045f9
mov rax, qword [0x14004d128]
cmp rax, rbx
je 0x1400045e1
test byte [rax + 0x1c], 1
je 0x1400045e1
cmp byte [rax + 0x19], 2
jb 0x1400045e1
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, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004ebc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.140002f2c
jmp 0x14000473d
mov rcx, rsi
call fcn.1400041e0
mov r14d, eax
mov rdi, qword [0x14004d968]
test rdi, rdi
je 0x14000465c
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x14000463d
test byte [rcx + 0x1c], 1
je 0x14000463d
cmp byte [rcx + 0x19], 4
jb 0x14000463d
mov edx, 0x10
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004e90
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.140009568
mov rdi, qword [0x14004d968]
cmp qword [rsi + 0x2b0], r15
je 0x1400046af
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004692
test byte [rcx + 0x1c], 1
je 0x140004692
cmp byte [rcx + 0x19], 4
jb 0x140004692
mov edx, 0x11
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004e90
or edx, 0xffffffff
mov rcx, qword [rsi + 0x2b0]
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 0x1400046cb
mov rcx, rdi
call fcn.140005ac8
mov rcx, rdi
call fcn.140001a30
mov qword [0x14004d968], r15
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x1400046f8
test byte [rcx + 0x1c], 1
je 0x1400046f8
cmp byte [rcx + 0x19], 4
jb 0x1400046f8
mov edx, 0x12
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004e90
mov eax, r14d
jmp 0x14000473d
mov qword [0x14004d968], r15
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140004731
test byte [rcx + 0x1c], 1
je 0x140004731
cmp byte [rcx + 0x19], 2
jb 0x140004731
mov edx, 0xc
lea r8, [0x140045b18]
mov rcx, qword [rcx + 0x10]
call fcn.140004e90
mov eax, 0x8007000e
jmp 0x14000473d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140001e80
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret