Function at 0x140025cb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x64], 0
mov rbp, rdx
mov rdi, rcx
jne 0x140025f4d
lea rdx, str.CSecureChannelMELSPCON::Initialize
mov qword [rsp + 0x40], rsi
lea rcx, str.ENTER_______s_n
call fcn.140021bd0
call fcn.14001e650
mov qword [rdi], rax
test rax, rax
jne 0x140025d17
mov r8d, 0x19b
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str._s:_d:_ERROR:_Create_Escape_Call_failed_n
call fcn.140021bd0
mov ebx, 0x80004005
jmp 0x140025edd
mov rcx, rdi
call fcn.140026e50
mov ebx, eax
test eax, eax
jns 0x140025d37
mov r8d, 0x1a3
lea rcx, str._s:_d:_ERROR:_QueryForLSPCON_failed_n
jmp 0x140025eaa
cmp dword [rdi + 0x18], 0
lea rdx, str.CSecureChannelMELSPCON::Initialize
jne 0x140025d53
mov r8d, 0x1a8
lea rcx, str._s:_d:_ERROR:_LSPCON_not_detected_n
jmp 0x140025d67
mov dword [rdi + 0x70], 1
lea rcx, str._s:_d:_LSPCON_detected_n
mov r8d, 0x1af
call fcn.140021bd0
xor esi, esi
lea rbx, [rdi + 0x28]
nop dword [rax]
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
test rax, rax
je 0x140025ebc
inc esi
add rbx, 8
cmp esi, 5
jl 0x140025d80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x140025de3
mov r8d, 0x1c4
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str._s:_d:_m_hTaskDone_CreateEvent_failed__n
call fcn.140021bd0
mov ebx, 0x80004005
jmp 0x140025edd
mov rcx, rdi
call fcn.1400261b0
mov ebx, eax
test eax, eax
jns 0x140025e1a
mov r9d, eax
lea rdx, str.CSecureChannelMELSPCON::Initialize
mov r8d, 0x1cc
lea rcx, str._s:_d:_InitOPMPath_Failed_hr_:__d_n
call fcn.140021bd0
mov rcx, rdi
call fcn.1400252b0
jmp 0x140025eb6
mov qword [rsp + 0x28], 0
lea r8, [0x140026d00]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x140025e68
mov r8d, 0x1dc
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str._s:_d:_Create_listening_thread_failed__n
call fcn.140021bd0
mov ebx, 0x80004005
jmp 0x140025edd
call fcn.140003740
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x140025e99
mov r8d, 0x1e5
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str._s:_d:_ERROR:_m_pEventHandler_is_NULL_n
call fcn.140021bd0
mov rcx, rdi
call fcn.1400252b0
jmp 0x140025eb6
mov byte [rdi + 0x64], 1
lea rcx, str._s:_d:_Init_Successful__n
mov r8d, 0x1ea
lea rdx, str.CSecureChannelMELSPCON::Initialize
call fcn.140021bd0
test ebx, ebx
je 0x140025f03
jmp 0x140025edd
mov r9d, esi
lea rdx, str.CSecureChannelMELSPCON::Initialize
mov r8d, 0x1b8
lea rcx, str._s:_d:_m_hEvents_creation_failed___number_:_d__n
mov ebx, 0x80004005
call fcn.140021bd0
mov r8d, 0x1ef
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str._s:_d:_Init_Failed__n
call fcn.140021bd0
mov rcx, qword [rdi]
test rcx, rcx
je 0x140025f03
call fcn.14001e950
mov r8d, ebx
lea rdx, str.CSecureChannelMELSPCON::Initialize
lea rcx, str.EXIT________s:_ret__0x_x_n
call fcn.140021bd0
mov rsi, qword [rsp + 0x40]
test ebx, ebx
jns 0x140025f4d
mov r8d, 0x569
lea rdx, str.CSecureChannelMELSPCON::GetMEStatus
lea rcx, str._s:_d:_ERROR:_Initialize___failed_hr_n
call fcn.140021bd0
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140025f84
mov r8d, 0x570
lea rdx, str.CSecureChannelMELSPCON::GetMEStatus
lea rcx, str._s:_d:_ERROR:_m_pLspconHeciChannel__is_NULL_n
call fcn.140021bd0
mov eax, 0x80070057
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rdx, rbp
call fcn.1400208f0
mov ebx, eax
test eax, eax
jns 0x140025fae
mov r9d, eax
lea rdx, str.CSecureChannelMELSPCON::GetMEStatus
mov r8d, 0x57b
lea rcx, str._s:_d:_ERROR:_GetLspconStatus_hr_:__d_n
call fcn.140021bd0
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret