Function at 0x1400235a0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp - 8], rax
test byte [0x1400d3b01], 8
mov rbx, r9
mov r13, r8
mov esi, edx
mov r14d, ecx
jne 0x14003f74a
mov eax, r14d
sub eax, 1
je 0x14003f899
sub eax, 3
je 0x14003f88e
sub eax, 1
je 0x14003f899
sub eax, 6
jne 0x140023657
mov rcx, qword [0x1400d0a30]
mov rax, qword [rcx]
movabs r10, 0xf4048ea352da1a70
mov rax, qword [rax + 0xa0]
mov r9, r13
mov r8d, esi
mov qword [rsp + 0x20], rbx
mov edx, 0xb
call qword [case.0x14001f589.0]
test byte [0x1400d3b01], 8
jne 0x14003f934
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140036b80
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub eax, 2
jne 0x14002366d
cmp esi, 4
je 0x140023666
cmp esi, 7
jne 0x14002362c
call fcn.140027668
jmp 0x14002362c
sub eax, 1
je 0x140023684
sub eax, 1
je 0x14003f899
cmp eax, 0x12
jne 0x14003f766
call fcn.14002a008
xor ebx, ebx
test al, al
jne 0x14003f778
lea eax, [rsi - 5]
cmp eax, 1
ja 0x14002362c
lea rdx, [0x1400aa420]
mov ecx, SafeArrayPutElement
call fcn.140037278
mov rdi, rax
test rax, rax
je 0x14002362c
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
or dword [rdi + 8], 0xffffffff
mov qword [rdi + 0x10], rbx
mov dword [rdi], r14d
mov dword [rdi + 4], esi
mov r15d, dword [r13 + 4]
cmp r14d, 0xe
je 0x14003f79f
mov rax, qword [r13 + 8]
mov dword [rbp - 0x18], r15d
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [rdi + 8], xmm0
cmp qword [rdi + 0x10], rbx
je 0x14002362c
call fcn.14002a008
test al, al
jne 0x14003f864
mov qword [rsp + 0x28], rbx
lea r8, [fcn.140027050]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
test rax, rax
je 0x14003f87b
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14002362c
mov r8d, r14d
lea rdx, [0x1400b12c8]
lea rcx, [0x1400d0680]
call fcn.14005cbdc
nop
jmp 0x1400235d8
mov rcx, qword [0x1400d0a30]
call fcn.1400346bc
nop
jmp 0x14002362c
cmp esi, 5
jne 0x14003f787
cmp r14d, 0x21
jne 0x14002362c
cmp esi, 6
jne 0x140023693
cmp r14d, 0xe
je 0x14002369b
jmp 0x14002362c
mov qword [rbp - 0x18], rbx
cmp esi, 5
jne 0x14003f83a
xor edx, edx
mov qword [rbp - 0x20], rbx
lea rcx, [rbp - 0x20]
call fcn.14000fd7c
lea rdx, [rbp - 0x20]
mov ecx, r15d
call qword [sym.imp.ext_ms_win_session_wtsapi32_l1_1_0.dll_WTSQueryUserToken]
nop dword [rax + rax]
test eax, eax
je 0x14003f813
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp - 0x18]
call qword [sym.imp.ext_ms_win_session_usermgr_l1_1_0.dll_UMgrQueryUserContext]
nop dword [rax + rax]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x14003f828
cmp eax, 0x80070520
je 0x14003f828
mov rcx, qword [rbp + 0x38]
lea r8, str.onecoreuap_base_appmodel_searchcommondcomsvcdcomsvc.cxx
mov r9d, eax
mov edx, 0x35e
call fcn.14002889c
jmp 0x14003f828
mov rcx, qword [rbp + 0x38]
lea r8, str.onecoreuap_base_appmodel_searchcommondcomsvcdcomsvc.cxx
mov edx, 0x362
call fcn.140060f2c
lea rcx, [rbp - 0x20]
call fcn.14001d64c
mov rax, qword [rbp - 0x18]
jmp 0x1400236e4
mov rcx, qword [0x1400d0a30]
mov rax, qword [rcx]
movabs r10, 0x8e851fd97451f170
mov rax, qword [rax + 0xb0]
mov edx, r15d
call qword [case.0x14001f589.0]
nop
jmp 0x1400236e4
cmp esi, 6
jne 0x14002370c
mov rcx, rdi
call fcn.140027050
nop
jmp 0x14002362c
mov edx, SafeArrayPutElement
mov rcx, rdi
call fcn.140037228
nop
jmp 0x14002362c
call fcn.14006d91c
nop
jmp 0x14002362c
lea r8, str._UtilCommon__Service_Stopping_n
mov edx, 0x30c
lea rcx, [0x1400ab760]
call fcn.1400318ac
test byte [0x1400d3b02], 8
je 0x14003f8dc
lea rax, [rbp - 0x18]
mov r9d, 1
lea rdx, [0x1400b12e8]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400d0680]
call fcn.14005cb7c
xor ebx, ebx
lea rcx, [rbp - 0x20]
cmp r14d, 1
setne bl
inc ebx
mov dword [rbp - 0x20], ebx
call fcn.14005ced8
mov rcx, qword [0x1400d0a30]
cmp r14d, 5
je 0x14003f906
cmp r14d, 0xf
jne 0x14003f90d
mov byte [rcx + 0x128], 1
mov edx, 3
call fcn.1400345b0
mov rcx, qword [0x1400d0a30]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
nop
jmp 0x14002362c
mov r8d, r14d
lea rdx, [0x1400b12b8]
lea rcx, [0x1400d0680]
call fcn.14005cbdc
nop
jmp 0x140023639