Function at 0x140001bd4
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x130
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004d298]
xor rax, rsp
mov qword [rsp + 0x120], 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
test rax, rax
jne 0x140001c65
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001c5b
test byte [rcx + 0x1c], 1
je 0x140001c5b
cmp byte [rcx + 0x19], 2
jb 0x140001c5b
lea edx, [rax + 0xa]
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.140001ab0
mov eax, 0x8007000e
jmp 0x140001fc7
mov rax, qword [0x14004d0a0]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x14004d0c0], xmm1
lea r9, [0x14004d0b8]
lea r8, [0x14004d098]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x140001ccc
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.140001a3c
and qword [rsi + 0x2b0], 0
lea rbx, [0x14004d128]
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001d10
test byte [rcx + 0x1c], 1
je 0x140001d10
cmp byte [rcx + 0x19], 4
jb 0x140001d10
mov edx, 0xb
mov r9d, eax
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.1400018b0
mov ecx, 0x1a8
call fcn.140040c2c
test rax, rax
je 0x140001d27
mov rcx, rax
call fcn.140004a34
mov qword [0x14004d960], rax
test rax, rax
jne 0x140001d68
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001d5e
test byte [rcx + 0x1c], 1
je 0x140001d5e
cmp byte [rcx + 0x19], 2
jb 0x140001d5e
lea edx, [rax + 0xc]
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.140001ab0
mov eax, 0x8007000e
jmp 0x140001fc7
mov r9d, 0x64
lea r8, [rsp + 0x50]
lea edx, [r9 + 2]
mov rcx, qword [0x14004d970]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x140001dda
lea r8, [0x140044940]
mov edi, 0xc8
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140004134
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001dda
test byte [rcx + 0x1c], 1
je 0x140001dda
cmp byte [rcx + 0x19], 3
jb 0x140001dda
mov edx, 0xd
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.140001adc
lea r9, str.MicrosoftWindowsStorage_Tiers_Management
lea r8, str.Storage_Tiers_Optimization
lea rdx, [rsp + 0x50]
mov rcx, qword [0x14004d960]
call fcn.140004bc0
mov edi, eax
test eax, eax
jns 0x140001e36
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001e2f
test byte [rcx + 0x1c], 1
je 0x140001e2f
cmp byte [rcx + 0x19], 2
jb 0x140001e2f
mov edx, 0xe
mov r9d, eax
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.1400018b0
mov eax, edi
jmp 0x140001fc7
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov r9, rsi
lea r8, [0x140002360]
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 0x140001ec2
mov rax, qword [0x14004d128]
cmp rax, rbx
je 0x140001eaa
test byte [rax + 0x1c], 1
je 0x140001eaa
cmp byte [rax + 0x19], 2
jb 0x140001eaa
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov edx, 0xf
lea r8, [0x140044a48]
mov rcx, qword [0x14004d128]
mov rcx, qword [rcx + 0x10]
call fcn.1400018b0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
call fcn.14000433c
jmp 0x140001fc7
mov rcx, rsi
call fcn.140002954
mov edi, eax
mov rcx, qword [0x14004d960]
test rcx, rcx
je 0x140001f24
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001f05
test byte [rcx + 0x1c], 1
je 0x140001f05
cmp byte [rcx + 0x19], 4
jb 0x140001f05
mov edx, 0x10
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.140001ab0
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.14000541c
mov rcx, qword [0x14004d960]
mov rax, qword [rsi + 0x2b0]
test rax, rax
je 0x140001f7f
mov rcx, rax
mov r9, qword [0x14004d128]
cmp r9, rbx
je 0x140001f69
test byte [r9 + 0x1c], 1
je 0x140001f69
cmp byte [r9 + 0x19], 4
jb 0x140001f69
mov edx, 0x11
lea r8, [0x140044a48]
mov rcx, qword [r9 + 0x10]
call fcn.140001ab0
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 rcx, qword [0x14004d960]
test rcx, rcx
je 0x140001f91
call fcn.14000220c
and qword [0x14004d960], 0
mov rcx, qword [0x14004d128]
cmp rcx, rbx
je 0x140001fbe
test byte [rcx + 0x1c], 1
je 0x140001fbe
cmp byte [rcx + 0x19], 4
jb 0x140001fbe
mov edx, 0x12
lea r8, [0x140044a48]
mov rcx, qword [rcx + 0x10]
call fcn.140001ab0
mov eax, edi
jmp 0x140001fc7
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140041040
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret