Function at 0x1400235a0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp - 0x10], rax
test byte [0x1400d3b41], 8
mov rbx, r9
mov r15, r8
mov esi, edx
mov r14d, ecx
je 0x1400235e8
mov r8d, ecx
lea rdx, [0x1400ac800]
lea rcx, [0x1400d0680]
call fcn.14005ceec
mov eax, r14d
sub eax, 1
je 0x1400238a8
sub eax, 3
je 0x14002389e
sub eax, 1
je 0x1400238a8
sub eax, 6
je 0x140023868
sub eax, 2
je 0x140023850
sub eax, 1
je 0x14002363c
sub eax, 1
je 0x1400238a8
cmp eax, 0x12
je 0x14002363c
mov rcx, qword [0x1400d0a30]
call fcn.140034aac
jmp 0x14002393d
call fcn.14002c018
xor ebx, ebx
test al, al
je 0x140023666
cmp esi, 5
jne 0x140023656
cmp r14d, 0x21
jne 0x14002393d
cmp esi, 6
jne 0x140023666
cmp r14d, 0xe
je 0x140023672
jmp 0x14002393d
lea eax, [rsi - 5]
cmp eax, 1
ja 0x14002393d
lea rdx, [0x1400aa300]
mov ecx, SafeArrayPutElement
call fcn.140037578
mov rdi, rax
test rax, rax
je 0x14002393d
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
cmp r14d, 0xe
jne 0x1400237c7
lea rcx, [0x1400d2a88]
mov qword [rbp - 0x20], rbx
call fcn.140039da4
test al, al
je 0x140023705
call fcn.14002c018
test al, al
je 0x1400237df
mov rcx, qword [0x1400d0a30]
mov rax, qword [rcx]
movabs r10, 0x8e851fd97451f170
mov edx, dword [r15 + 4]
mov rax, qword [rax + 0xb0]
call qword [case.0x14001f589.0]
mov ecx, dword [r15 + 4]
mov dword [rbp - 0x20], ecx
jmp 0x1400237d2
mov r15d, dword [r15 + 4]
cmp esi, 5
jne 0x14002379d
xor edx, edx
mov qword [rbp - 0x28], rbx
lea rcx, [rbp - 0x28]
call fcn.14000fd7c
lea rdx, [rbp - 0x28]
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 0x140023779
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x20]
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 0x14002378e
cmp eax, 0x80070520
je 0x14002378e
mov rcx, qword [rbp + 0x30]
lea r8, str.onecoreuap_base_appmodel_searchcommondcomsvcdcomsvc.cxx
mov r9d, eax
mov edx, 0x37f
call fcn.140028aec
jmp 0x14002378e
mov rcx, qword [rbp + 0x30]
lea r8, str.onecoreuap_base_appmodel_searchcommondcomsvcdcomsvc.cxx
mov edx, 0x383
call fcn.14006123c
lea rcx, [rbp - 0x28]
call fcn.14001d64c
mov rax, qword [rbp - 0x20]
jmp 0x1400237c1
mov rcx, qword [0x1400d0a30]
mov rax, qword [rcx]
movabs r10, 0x8e851fd97451f170
mov rax, qword [rax + 0xb0]
mov edx, r15d
call qword [case.0x14001f589.0]
mov dword [rbp - 0x20], r15d
jmp 0x1400237d2
mov eax, dword [r15 + 4]
mov dword [rbp - 0x20], eax
mov rax, qword [r15 + 8]
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rbp - 0x20]
movdqu xmmword [rdi + 8], xmm0
cmp qword [rdi + 0x10], rbx
je 0x14002393d
call fcn.14002c018
test al, al
je 0x140023804
cmp esi, 6
jne 0x140023804
mov rcx, rdi
call fcn.1400272a0
jmp 0x14002393d
mov qword [rsp + 0x28], rbx
lea r8, [fcn.1400272a0]
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
jne 0x14002383c
lea edx, [rax + 0x18]
mov rcx, rdi
call fcn.140037528
jmp 0x14002393d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x14002393d
cmp esi, 4
je 0x14002385e
cmp esi, 7
jne 0x14002393d
call fcn.1400278b8
jmp 0x14002393d
mov rcx, qword [0x1400d0a30]
mov rax, qword [rcx]
movabs r10, 0xf4048ea352da1a70
mov rax, qword [rax + 0xa0]
mov r9, r15
mov r8d, esi
mov qword [rsp + 0x20], rbx
mov edx, 0xb
call qword [case.0x14001f589.0]
jmp 0x14002393d
call fcn.14006dc2c
jmp 0x14002393d
lea r8, str._UtilCommon__Service_Stopping_n
mov edx, 0x31d
lea rcx, [0x1400ab680]
call fcn.140031e6c
test byte [0x1400d3b42], 8
je 0x1400238eb
lea rax, [rbp - 0x20]
mov r9d, 1
lea rdx, [0x1400ac810]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400d0680]
call fcn.14005ce8c
xor ebx, ebx
lea rcx, [rbp - 0x28]
cmp r14d, 1
setne bl
inc ebx
mov dword [rbp - 0x28], ebx
call fcn.14005d1e8
mov rcx, qword [0x1400d0a30]
cmp r14d, 5
je 0x140023915
cmp r14d, 0xf
jne 0x14002391c
mov byte [rcx + 0x128], 1
mov edx, 3
call fcn.1400349a0
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]
test byte [0x1400d3b41], 8
je 0x14002395c
mov r8d, r14d
lea rdx, [0x1400ac7f0]
lea rcx, [0x1400d0680]
call fcn.14005ceec
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140036e80
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret