Function at 0x14000a930
Capabilities:
Delete registry key
Set environment variable
Set registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
lea rbp, [rsp + 0x50]
mov qword [rbp + 0x1b8], rbx
mov rax, qword [0x14030cf00]
xor rax, rbp
mov qword [rbp + 0x160], rax
mov r15d, edx
mov rdi, rcx
xor r14d, r14d
mov dword [rbp + 0x20], r15d
lea rdx, str.__DUMMY__
mov dword [rbp + 0x1c], r14d
lea rcx, [0x140271b74]
mov dword [rbp + 0x18], r9d
mov r12, r8
mov qword [rbp + 0x48], r8
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
movsxd rsi, r15d
lea r13d, [r14 + 1]
test r15d, r15d
jle 0x14000a9f1
mov ebx, r14d
mov rcx, qword [r12 + rbx*8]
lea rdx, str._recovery
call fcn.1401f5c80
test eax, eax
jne 0x14000a9be
or dword [rdi + 0x298], 0x40
mov dword [rbp + 0x18], r14d
mov rcx, qword [r12 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401f5c80
test eax, eax
jne 0x14000a9e9
lea rcx, str._Not_using_Certificate_Store__n
mov dword [rbp + 0x18], r14d
call fcn.14000105c
mov dword [rdi + 0xc70], r13d
add rbx, r13
cmp rbx, rsi
jl 0x14000a99f
mov ebx, r14d
test r15d, r15d
jle 0x14000aa8e
mov rsi, r12
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401f5c80
test eax, eax
je 0x14000aa80
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x14000aa00
jmp 0x14000aa8e
xor r8d, r8d
xor ecx, ecx
call fcn.1400aee28
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r14
jne 0x14000aab3
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140271c1c]
call fcn.140003e7c
mov rcx, rax
xor r8d, r8d
call fcn.1400aee28
mov qword [rdi + 0x48], rax
xor ebx, ebx
xor esi, esi
mov dword [rbp], ebx
mov r13d, r14d
test r15d, r15d
jle 0x14000ace7
mov rbx, r12
mov qword [rbp + 0x10], r15
lea r12d, [rsi + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000aade
xor r15d, r15d
jmp 0x14000aaeb
mov edx, 0x1000
call fcn.1401e9dbc
mov r15, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401f5c80
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove esi, r12d
mov dword [rbp + 0x24], esi
call fcn.1401f5c80
test eax, eax
je 0x14000ab29
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401f5c80
test eax, eax
jne 0x14000ab2c
mov r14d, r12d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401f5c80
test eax, eax
jne 0x14000ab69
and qword [rsp + 0x28], 0
lea r9, [0x140270928]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r12
lea r14d, [rax + 5]
call fcn.1400adf20
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401f5c80
test eax, eax
je 0x14000ab8f
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401f5c80
test eax, eax
jne 0x14000abbb
and qword [rsp + 0x28], 0
lea r9, [0x140270928]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r12
lea r8d, [r14 + 9]
call fcn.1400adf20
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401f5c80
mov rcx, qword [rbx]
lea r8, [0x1402719c4]
test eax, eax
movsxd rdx, r15d
mov eax, 2
mov r9, r12
cmove r14d, eax
call fcn.1400a913c
movsxd rsi, eax
mov ecx, 2
cmp esi, ecx
jle 0x14000accb
mov r8d, ecx
lea rdx, [0x140271c44]
mov rcx, qword [rbx]
call fcn.1401e80f0
test eax, eax
jne 0x14000accb
lea r12d, [rsi - 2]
cmp r12d, 8
jne 0x14000ac80
mov rcx, qword [rbx]
lea rdx, str.readonly
add rcx, 2
mov r8d, r12d
call fcn.1401e80f0
test eax, eax
jne 0x14000ac80
mov rcx, qword [rbx]
lea r8d, [r12 - 7]
inc rcx
lea rdx, [0x140270928]
add rcx, rsi
call fcn.1401e80f0
test eax, eax
jne 0x14000ac80
cmp qword [rdi + 0x48], 0
mov dword [rbp], 1
je 0x14000ac80
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140271c1c]
call fcn.140003e7c
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.1400aeed4
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14000ac98
xor r8d, r8d
call fcn.1400aee28
mov rcx, rax
mov qword [rdi + 0x48], rax
mov rdx, qword [rbx]
lea r9, [rsi + 1]
and qword [rsp + 0x28], 0
add r9, rdx
sub r15d, esi
movsxd r8, r12d
dec r15d
add rdx, 2
movsxd r10, r15d
mov qword [rsp + 0x20], r10
call fcn.1400adf20
mov r12d, 1
add r13d, r12d
mov esi, dword [rbp + 0x24]
add rbx, 8
sub qword [rbp + 0x10], r12
jne 0x14000aad1
mov ebx, dword [rbp]
mov r15d, dword [rbp + 0x20]
mov r12, qword [rbp + 0x48]
mov rax, qword [rdi + 0x48]
sub r15d, r13d
xor r13d, r13d
mov dword [rbp + 0x20], r15d
test rax, rax
jne 0x14000ad08
xor r8d, r8d
xor ecx, ecx
call fcn.1400aee28
mov qword [rdi + 0x48], rax
cmp qword [rax], r13
jne 0x14000ad41
mov edx, 0x400
lea rcx, str.readmsh
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.readmsh
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
je 0x14000adca
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.140003e7c
mov rdx, rax
mov rcx, rdi
call fcn.140009fbc
test eax, eax
jne 0x14000adca
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003e7c
mov rdx, rax
mov rcx, rdi
call fcn.140009fbc
test eax, eax
jne 0x14000adca
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140009fbc
test eax, eax
jne 0x14000adca
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140009fbc
test eax, eax
jne 0x14000adca
xor edx, edx
mov rcx, rdi
call fcn.140009db8
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003e7c
mov rdx, rax
mov rcx, rdi
call fcn.140009fbc
mov edx, 0x400
lea rcx, str.maxLogSize
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.maxLogSize
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
je 0x14000ae5c
mov edx, 0x400
lea rcx, str.maxLogSize
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r9, [0x14031a480]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
lea rdx, str.maxLogSize
call fcn.1400af52c
cmp eax, 0x1000
jae 0x14000ae5c
or r9, 0xffffffffffffffff
mov qword [rbp + 0x10], r13
lea rdx, [0x14031a480]
lea rcx, [rbp + 0x10]
call fcn.14009fbd8
test eax, eax
jne 0x14000ae5c
mov rax, qword [rbp + 0x10]
mov qword [0x14030dc80], rax
cmp dword [rdi + 0xc70], r13d
jne 0x14000ae97
mov edx, 0x400
lea rcx, str.nocertstore
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.nocertstore
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
mov dword [rdi + 0xc70], eax
test esi, esi
je 0x14000aefb
mov rbx, qword [rdi]
call fcn.1400914e8
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x14000a830]
mov qword [rsp + 0x40], rax
mov r9, rbx
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.140092064
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.14001cc34
mov eax, 1
jmp 0x14000cecc
test r14d, r14d
je 0x14000b07f
mov rbx, qword [rdi]
call fcn.1400914e8
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x14000a830]
mov r9, rbx
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov rax, qword [rdi + 0x38]
xor edx, edx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.140092064
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.140003e20
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.14001cc34
or r15, 0xffffffffffffffff
mov rcx, rsi
mov edx, r15d
call fcn.14001e0d4
cmp dword [rax], 4
jne 0x14000cef5
cmp dword [rax + 8], r13d
je 0x14000cef5
sub r14d, 1
je 0x14000afc6
sub r14d, 1
je 0x14000afab
cmp r14d, 3
je 0x14000afc6
mov rcx, rsi
call fcn.140069da8
jmp 0x14000b099
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001cc34
lea r8, str.fullUninstall
jmp 0x14000afdf
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001cc34
lea r8, str.fullInstall
mov edx, r15d
mov rcx, rsi
call fcn.14001d39c
mov r8d, r15d
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001e4c4
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.1400205b0
mov r8, rsi
lea rdx, [0x140098148]
mov rcx, rbx
call fcn.1400ae33c
mov edx, r15d
mov rcx, rsi
call fcn.14001cb88
mov edx, 1
mov rcx, rsi
call fcn.14001c0d4
test eax, eax
je 0x14000b072
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001f384
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401f5c80
test eax, eax
je 0x14000b072
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001f384
mov rdx, rax
lea rcx, [0x140271d6c]
call fcn.14000105c
mov rcx, rsi
call fcn.140020f08
jmp 0x14000aef1
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000ce05
cmp qword [rax], r13
jne 0x14000b099
test ebx, ebx
je 0x14000ce05
mov rdx, qword [rdi]
call fcn.1400b2e0c
mov qword [rdi + 0x40], rax
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000b180
lea rcx, [0x14000a864]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov esi, 0x400
lea rcx, str.enableILibRemoteLogging
mov edx, esi
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031a480]
mov ebx, 0x1000
lea rdx, str.enableILibRemoteLogging
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af52c
test eax, eax
je 0x14000b13d
cdqe
cmp rax, rbx
jae 0x14000cf09
mov byte [rax + r14], r13b
lea rdx, str..wlg
mov rcx, qword [rdi + 0x38]
call fcn.140003e7c
mov rcx, r14
mov rbx, rax
call fcn.14009fc9c
mov rcx, qword [rdi]
movzx edx, ax
mov r8, rbx
call fcn.1400a01b4
mov rdx, rsi
lea rcx, str.semaphoreTrack
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
je 0x14000b180
lea rax, [0x14000a8f0]
mov dword [0x14031537c], r13d
mov qword [0x140315f50], rax
mov rax, qword [rdi]
test rax, rax
je 0x14000b18e
mov rcx, qword [rax + 8]
jmp 0x14000b191
mov rcx, r13
mov rax, qword [r12]
lea r9, str.agentcore:_argv_0____s
mov edx, 0x100
mov qword [rsp + 0x20], rax
mov r8d, 2
call fcn.1400acec4
call fcn.1400914e8
mov r9, qword [rdi]
mov rcx, rax
mov rax, qword [rdi + 0x38]
xor r8d, r8d
mov qword [rsp + 0x48], r13
xor edx, edx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.140092064
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov rbx, rax
call fcn.14001cc34
mov r12d, 0x400
mov qword [rdi + 0xdbc], r13
lea r15, str.meshServiceName
mov dword [rdi + 0xdc4], r13d
mov edx, r12d
mov rcx, r15
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400af52c
movsxd r14, eax
mov edx, 0xffffffe7
mov eax, 0xffffffff
test r14d, r14d
je 0x14000b2ae
lea ecx, [r14 + 1]
movsxd rsi, ecx
cmp rsi, rax
jae 0x14000b26b
cmp rsi, rdx
jae 0x14000b26b
lea rcx, [rsi + 0x18]
call fcn.1401ea40c
jmp 0x14000b26e
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009faa0
mov rdx, r12
mov qword [rdi + 0xdd8], rax
mov rcx, r15
call fcn.1401e9dbc
mov r9, qword [rdi + 0xdd8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.1400af52c
jmp 0x14000b2bc
lea rax, str.Mesh_Agent
mov qword [rdi + 0xdd8], rax
lea r15, str.displayName
mov rdx, r12
mov rcx, r15
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400af52c
movsxd r14, eax
test eax, eax
je 0x14000b355
lea ecx, [r14 + 1]
mov eax, 0xffffffff
movsxd rsi, ecx
cmp rsi, rax
jae 0x14000b312
mov eax, 0xffffffe7
cmp rsi, rax
jae 0x14000b312
lea rcx, [rsi + 0x18]
call fcn.1401ea40c
jmp 0x14000b315
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009faa0
mov rdx, r12
mov qword [rdi + 0xde0], rax
mov rcx, r15
call fcn.1401e9dbc
mov r9, qword [rdi + 0xde0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.1400af52c
jmp 0x14000b363
lea rax, str.MeshCentral
mov qword [rdi + 0xde0], rax
mov r8, qword [rdi + 0xdd8]
lea rdx, str.require_service_manager_.manager.getService__s_.isMe___
mov rcx, rbx
call fcn.1400204f0
or r15, 0xffffffffffffffff
mov rcx, rbx
mov edx, r15d
call fcn.14001e0d4
mov rcx, r13
cmp dword [rax], 8
jne 0x14000b394
mov rcx, qword [rax + 8]
lea rax, [rcx + 0x20]
mov r14d, 0xe88
neg rcx
lea rdx, str._function_foo____var_f__require_service_manager_.manager.getServiceType____switch_f_case_procd:_return_7___case_windows:_return_10___case_launchd:_return_3___case_freebsd:_return_5___case_systemd:_return_1___case_init:_return_2___case_upstart:_return_4___default:_return_0_____
mov r9d, r14d
mov rcx, rbx
sbb rsi, rsi
and rsi, rax
call fcn.14001cc34
test eax, eax
jne 0x14000b3d1
xor r9d, r9d
mov edx, r15d
mov rcx, rbx
call fcn.14001dfbc
mov dword [rdi + 0xdbc], eax
mov r9d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14001cc34
test eax, eax
jne 0x14000b401
mov edx, r15d
mov rcx, rbx
call fcn.14001e0d4
cmp dword [rax], 4
jne 0x14000b3f8
mov eax, dword [rax + 8]
jmp 0x14000b3fb
mov eax, r13d
mov dword [rdi + 0xdc0], eax
mov r9d, r14d
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, rbx
call fcn.14001cc34
test eax, eax
jne 0x14000b435
mov edx, r15d
mov rcx, rbx
call fcn.14001e0d4
cmp dword [rax], 4
jne 0x14000b42c
mov eax, dword [rax + 8]
jmp 0x14000b42f
mov eax, r13d
mov dword [rdi + 0xdc4], eax
mov r12d, 0xfffffffe
cmp dword [rdi + 0xdc0], r13d
jne 0x14000b578
cmp dword [rdi + 0xde8], r13d
je 0x14000b578
mov r9d, r14d
lea rdx, str.require_util_service_check___
mov rcx, rbx
call fcn.14001cc34
test eax, eax
jne 0x14000b578
mov edx, r15d
mov rcx, rbx
call fcn.14001e0d4
mov ecx, dword [rax]
lea rax, [0x140277f40]
test byte [rax + rcx*4], 6
jne 0x14000b578
lea r8, [rbp + 0x10]
mov rcx, rbx
call fcn.14001f384
mov rdx, qword [rdi + 0xdd8]
lea rcx, str.Service_Name_Conflict:_Configured___s__but_is_actually___s_
mov r8, rax
mov r15, rax
call fcn.1400aa3cc
mov rcx, qword [rdi + 0xdd8]
call fcn.14009fb80
mov rsi, qword [rbp + 0x10]
mov ecx, 0xffffffff
lea rax, [rsi + 1]
cmp rax, rcx
jae 0x14000b4ed
cmp r12, rsi
je 0x14000b4ed
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14000b4ed
lea rcx, [rsi + 0x19]
call fcn.1401ea40c
mov rcx, rax
jmp 0x14000b4f0
mov rcx, r13
lea eax, [rsi + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009faa0
mov qword [rdi + 0xdd8], rax
mov r14, qword [rax - 0x18]
test rsi, rsi
je 0x14000b564
test rax, rax
jne 0x14000b523
call fcn.1401e8db4
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x14000b55f
test r15, r15
je 0x14000b53d
cmp r14, rsi
jb 0x14000b53d
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.14020df90
jmp 0x14000b564
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.14020e630
test r15, r15
je 0x14000b516
cmp r14, rsi
jae 0x14000b564
call fcn.1401e8db4
mov dword [rax], 0x22
call fcn.1401e7e2c
mov dword [rdi + 0xdc0], 1
mov r14d, 0xe88
or r15, 0xffffffffffffffff
mov r8, qword [rdi + 0xdd8]
lea rdx, str.require__agentNodeId_.checkResetNodeId__s__
mov rcx, rbx
call fcn.1400204f0
xor edx, edx
mov r9d, 0x889
mov rcx, rbx
call fcn.14001cc34
mov edx, r15d
mov rcx, rbx
test eax, eax
jne 0x14000b5da
call fcn.14001e0d4
cmp dword [rax], 4
jne 0x14000b5f1
mov rcx, rbx
call fcn.14001e0d4
cmp dword [rax], 4
jne 0x14000b5f1
cmp dword [rax + 8], r13d
je 0x14000b5f1
lea rcx, str.NodeID_will_reset__because_ResetNodeId_was_set_in_the_registry
mov dword [rbp + 0x1c], 1
call fcn.1400aa3cc
jmp 0x14000b5f1
xor r8d, r8d
call fcn.14001f384
mov rdx, rax
lea rcx, str.Error_checking_ResetNodeId_in_registry:__s
call fcn.1400aa3cc
mov esi, 0x400
lea rcx, str.skipmaccheck
mov edx, esi
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.skipmaccheck
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000b7ff
mov r9d, r14d
lea rdx, str._function__getMac____var_ret____var_ni__require_os_.networkInterfaces____for__var_f_in_ni___for__var_i_in_ni_f____if_ni_f__i_.type__ethernet__ni_f__i_.type__wireless__ret______ni_f__i_.mac________return_ret_______
mov rcx, rbx
call fcn.14001cc34
test eax, eax
jne 0x14000b7ff
lea r8, [rbp]
mov edx, r15d
mov rcx, rbx
call fcn.14001e85c
mov r14, qword [rbp]
mov r15, rax
mov qword [rbp + 0x10], rax
cmp r14, 0x13
jb 0x14000b7ff
mov edx, esi
lea rsi, str.LocalMacAddresses
mov rcx, rsi
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rsi
call fcn.1400af52c
movsxd r12, eax
test eax, eax
jne 0x14000b6bb
mov rdx, rsi
mov rcx, qword [rdi + 0x48]
mov r8d, reloc.WS2_32.dll_recvfrom
movsxd rax, r14d
mov r9, r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400aefc4
jmp 0x14000b7f9
mov esi, r13d
test r14d, r14d
jle 0x14000b7f9
movsxd rcx, esi
lea rdx, str._00:00:00:00:00:00_
add rcx, r15
mov r8d, reloc.WS2_32.dll_send
call fcn.1401e80f0
test eax, eax
jne 0x14000b6eb
add esi, 0x13
cmp esi, r14d
jl 0x14000b6c7
cmp esi, r14d
jge 0x14000b7f9
lea rdx, [r12 + 1]
mov eax, 0xffffffc7
mov esi, r13d
cmp rdx, rax
jae 0x14000b733
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000b71d
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401da3f0
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x14000b736
mov rcx, r13
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14009faa0
mov edx, 0x400
mov r13, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r13
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af52c
test r12d, r12d
jle 0x14000b7ce
movsxd r15, esi
lea rdx, str._00:00:00:00:00:00_
add r15, r13
mov r8d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1401e80f0
test eax, eax
je 0x14000b7bd
mov r8, r15
movsxd rdx, r14d
mov r15, qword [rbp + 0x10]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1400a913c
test eax, eax
jns 0x14000b7c9
jmp 0x14000b7c1
mov r15, qword [rbp + 0x10]
add esi, 0x13
cmp esi, r12d
jl 0x14000b780
cmp esi, r12d
jl 0x14000b7f6
mov r8, r13
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r15
call fcn.1400aa3cc
xor r13d, r13d
mov dword [rbp + 0x1c], 1
lea rdx, str.LocalMacAddresses
jmp 0x14000b697
xor r13d, r13d
mov r12d, 0xfffffffe
mov rcx, rbx
call fcn.140069da8
cmp dword [rbp + 0x1c], 1
je 0x14000b819
mov rcx, rdi
call fcn.140004450
test eax, eax
je 0x14000b831
mov rcx, rdi
call fcn.140003ffc
test eax, eax
je 0x14000b831
lea rcx, str.Certificate_error_r_n
call fcn.14000105c
mov rcx, rdi
call fcn.1400048e4
test eax, eax
je 0x14000b849
lea rcx, str.Certificate_validation_error_r_n
call fcn.14000105c
mov rcx, qword [rdi + 0x38]
lea rdx, str..tag
mov qword [rbp + 0x10], r13
call fcn.140003e7c
mov rcx, rax
lea rdx, [rbp + 0x10]
mov r8d, 0x1000
call fcn.14009dc50
mov rsi, qword [rbp + 0x10]
lea r15, [0x14026fba4]
mov rbx, qword [rdi + 0x48]
test rsi, rsi
je 0x14000b8a8
cdqe
mov r9, rsi
mov qword [rsp + 0x28], r13
mov r8d, 3
mov rdx, r15
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.1400aefc4
jmp 0x14000b9da
test rbx, rbx
je 0x14000b9e2
mov rcx, qword [rbx + 0x1010]
mov r14d, 3
mov r9d, r14d
mov r8, r15
xor edx, edx
call fcn.1400a8b6c
mov rsi, rax
test rax, rax
jne 0x14000b9a2
lea ecx, [rax + 0x1f]
call fcn.1401ea40c
mov rcx, rax
lea edx, [rsi + 7]
xor r9d, r9d
xor r8d, r8d
call fcn.14009faa0
mov rsi, rax
mov r8, qword [rax - 0x18]
cmp r8, r14
jb 0x14000b910
mov eax, dword [0x14026fba4]
mov word [rsi], ax
mov al, byte [0x14026fba6]
mov byte [rsi + 2], al
jmp 0x14000b92a
xor edx, edx
mov rcx, rsi
call fcn.14020e630
call fcn.1401e8db4
mov dword [rax], 0x22
call fcn.1401e7e2c
mov r8d, r14d
mov rdx, r15
xor ecx, ecx
call fcn.1400c2ef8
mov dword [rsi + 3], eax
mov r8, rsi
mov r9d, dword [rsi - 0x18]
xor edx, edx
mov rcx, qword [rbx + 0x1010]
call fcn.1400a8b6c
mov r14, rax
test rax, rax
je 0x14000b998
mov r8d, dword [rsi - 0x18]
xor r9d, r9d
mov rcx, qword [rbx]
mov rdx, rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call fcn.1400ae3b0
test rax, rax
jne 0x14000b990
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000b990
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, r14
call fcn.1401e8ee0
mov rcx, rsi
call fcn.14009fb80
jmp 0x14000b9e2
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov r8d, r14d
mov rdx, r15
mov dword [rsp + 0x20], r13d
call fcn.1400ae3b0
test rax, rax
jne 0x14000b9da
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000b9da
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, rsi
call fcn.1401e8ee0
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 0x60]
mov r8d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x20], 0xff
lea rdx, str.ignoreProxyFile
call fcn.1400af52c
lea r14, str.WebProxy
test eax, eax
jne 0x14000bbb3
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp + 0x10], r13
call fcn.140003e7c
mov rcx, rax
lea rdx, [rbp + 0x10]
mov r8d, 0x400
call fcn.14009dc50
mov r15, qword [rbp + 0x10]
test r15, r15
je 0x14000bbb3
mov rbx, qword [rdi + 0x48]
test eax, eax
jle 0x14000ba74
cdqe
mov r9, r15
mov qword [rsp + 0x28], r13
mov r8d, 8
mov rdx, r14
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.1400aefc4
jmp 0x14000bbab
test rbx, rbx
je 0x14000bbab
mov rcx, qword [rbx + 0x1010]
mov r9d, 8
mov r8, r14
xor edx, edx
call fcn.1400a8b6c
mov rsi, rax
test rax, rax
jne 0x14000bb6a
lea ecx, [rax + 0x24]
call fcn.1401ea40c
mov rcx, rax
lea edx, [rsi + 0xc]
xor r9d, r9d
xor r8d, r8d
call fcn.14009faa0
mov rsi, rax
mov r8, qword [rax - 0x18]
cmp r8, 8
jb 0x14000bad5
movabs rax, 0x79786f7250626557
mov qword [rsi], rax
jmp 0x14000baef
xor edx, edx
mov rcx, rsi
call fcn.14020e630
call fcn.1401e8db4
mov dword [rax], 0x22
call fcn.1401e7e2c
mov r8d, 8
mov rdx, r14
xor ecx, ecx
call fcn.1400c2ef8
mov dword [rsi + 8], eax
mov r8, rsi
mov r9d, dword [rsi - 0x18]
xor edx, edx
mov rcx, qword [rbx + 0x1010]
call fcn.1400a8b6c
mov r14, rax
test rax, rax
je 0x14000bb60
mov r8d, dword [rsi - 0x18]
xor r9d, r9d
mov rcx, qword [rbx]
mov rdx, rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call fcn.1400ae3b0
test rax, rax
jne 0x14000bb58
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000bb58
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, r14
call fcn.1401e8ee0
mov rcx, rsi
call fcn.14009fb80
jmp 0x14000bbab
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov rdx, r14
mov dword [rsp + 0x20], r13d
lea r8d, [r9 + 8]
call fcn.1400ae3b0
test rax, rax
jne 0x14000bba3
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000bba3
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, rsi
call fcn.1401e8ee0
mov rcx, r15
call fcn.1401e8ee0
mov esi, 0x400
mov dword [rbp], r13d
lea rbx, str.AgentCapabilities
mov edx, esi
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400af52c
cmp eax, 4
jne 0x14000bc1e
mov edx, esi
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r9, [rbp]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.1400af52c
mov ecx, dword [rbp]
call qword [sym.imp.WS2_32.dll_ntohl]
or dword [rdi + 0x298], eax
mov r9, qword [rdi + 0xdd8]
lea r8, str.SoftwareOpen_Source_s
xor edx, edx
xor ecx, ecx
call fcn.140001168
movsxd r15, eax
mov eax, 0xffffffff
mov rbx, r15
lea rcx, [r15 + 1]
cmp rcx, rax
jae 0x14000bc67
cmp r12, rbx
mov r12d, 0xffffffe7
je 0x14000bc6d
cmp rcx, r12
jae 0x14000bc6d
lea rcx, [r15 + 0x19]
call fcn.1401ea40c
mov rcx, rax
jmp 0x14000bc70
mov r12d, 0xffffffe7
mov rcx, r13
lea eax, [r15 + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009faa0
mov r9, qword [rdi + 0xdd8]
lea r8, str.SoftwareOpen_Source_s
mov rcx, rax
mov qword [rbp], rax
mov rsi, rax
mov rdx, qword [rax - 0x18]
call fcn.140001168
or r9d, 0xffffffff
mov dword [rsp + 0x28], r13d
mov r8, rsi
mov qword [rsp + 0x20], r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r13d, [rax + 1]
mov eax, 0xffffffff
movsxd r14, r13d
lea rsi, [r14 + r14]
cmp rax, rsi
jbe 0x14000bcea
cmp rsi, r12
jae 0x14000bcea
lea rcx, [r14*2 + 0x18]
call fcn.1401ea40c
jmp 0x14000bcec
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009faa0
mov r12, rax
lea rsi, [0x140317480]
mov eax, 0x7fffffff
cmp r14, rax
jae 0x14000c265
cmp rbx, rax
ja 0x14000c265
lea ecx, [r13 + 1]
mov rdx, r12
xor r13d, r13d
test r12, r12
jne 0x14000bd35
mov rdx, rsi
mov ecx, 0x1000
mov r14, qword [rbp]
mov r9d, r15d
mov dword [rsp + 0x28], ecx
mov r8, r14
mov qword [rsp + 0x20], rdx
mov ecx, 0xfde9
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [rdi + 0xdfc]
lea r8, [rbp + 8]
neg eax
mov rdx, r12
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000c26c
test byte [rdi + 0x298], 0x40
lea esi, [rax + 0x30]
mov edx, esi
mov qword [rbp], r13
lea rcx, [rdi + 0xd54]
lea r8, [rbp]
jne 0x14000c13b
call fcn.1400a75c0
test eax, eax
jle 0x14000be05
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000be05
movsxd rdx, eax
test eax, eax
jle 0x14000bdd4
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000bdc3
mov byte [rcx], 0x40
jmp 0x14000bdcb
cmp byte [rcx], 0x2f
jne 0x14000bdcb
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000bdb9
mov rcx, qword [rbp + 8]
lea rdx, str.NodeId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401e8ee0
mov qword [rbp], r13
jmp 0x14000be16
mov rcx, qword [rbp + 8]
lea rdx, str.NodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rcx, [rdi + 0xc10]
mov rdx, rsi
lea r8, [0x14031a480]
call fcn.14009da4c
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r13b
jne 0x14000be30
mov rcx, qword [rbp + 8]
lea rdx, str.AgentHash
mov dword [rsp + 0x28], eax
mov r9d, 1
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rbx, str.MeshID
mov edx, 0x400
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400af52c
lea r15, [0x14031b480]
test eax, eax
je 0x14000bf2f
mov edx, 0x400
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
mov r9, r15
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, rbx
call fcn.1400af52c
test eax, eax
jle 0x14000bf2f
lea r8, [rbp]
mov edx, eax
mov rcx, r15
call fcn.1400a75c0
test eax, eax
jle 0x14000bf2f
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000bf2f
movsxd rdx, eax
test eax, eax
jle 0x14000bf02
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000bef1
mov byte [rcx], 0x40
jmp 0x14000bef9
cmp byte [rcx], 0x2f
jne 0x14000bef9
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000bee7
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401e8ee0
jmp 0x14000bf40
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 8]
lea rax, str.2024_Nov_4_15:23:540000
mov ebx, 1
mov dword [rsp + 0x28], 0x19
mov r9d, ebx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.CommitDate
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.MeshServer
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshServer
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000bfb7
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000bfe4
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r13b
jne 0x14000bfbb
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerUrl
mov dword [rsp + 0x28], eax
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.ServerID
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.ServerID
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000c02b
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000c058
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r13b
jne 0x14000c02f
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerId
mov dword [rsp + 0x28], eax
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.WebProxy
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.WebProxy
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000c09f
mov rcx, qword [rbp + 8]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000c0cc
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r13b
jne 0x14000c0a3
mov rcx, qword [rbp + 8]
lea rdx, str.Proxy
mov dword [rsp + 0x28], eax
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, [0x14026fba4]
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, [0x14026fba4]
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000c10c
lea rdx, [0x14026fba4]
jmp 0x14000c1a6
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r13b
jne 0x14000c110
mov rcx, qword [rbp + 8]
lea rdx, [0x14026fba4]
mov dword [rsp + 0x28], eax
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000c1b0
call fcn.1400a75c0
test eax, eax
jle 0x14000c19f
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000c19f
movsxd rdx, eax
test eax, eax
jle 0x14000c172
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000c161
mov byte [rcx], 0x40
jmp 0x14000c169
cmp byte [rcx], 0x2f
jne 0x14000c169
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000c157
mov rcx, qword [rbp + 8]
lea rdx, str.DiagnosticAgentNodeId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401e8ee0
jmp 0x14000c1b0
lea rdx, str.DiagnosticAgentNodeId
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 0x400
lea rcx, str.SelfNodeCert
mov edx, ebx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000c252
mov edx, ebx
lea rbx, str.NodeID
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r15, [0x14031a480]
mov r9, r15
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400af52c
cmp eax, esi
jne 0x14000c22f
lea rcx, [rdi + 0xd54]
mov r8, rsi
mov rdx, r15
call fcn.14020e9d0
test eax, eax
je 0x14000c252
mov rcx, qword [rdi + 0x48]
lea r9, [rdi + 0xd54]
mov qword [rsp + 0x28], r13
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400aefc4
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rsi, [0x140317480]
jmp 0x14000c26c
mov r14, qword [rbp]
xor r13d, r13d
mov rcx, r14
call fcn.14009fb80
mov rcx, r12
call fcn.14009fb80
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xc98]
cmp qword [rdx], r13
jne 0x14000c293
xor r8d, r8d
xor edx, edx
jmp 0x14000c29a
mov r8, qword [rdi + 0xc80]
call fcn.1400b3c70
cmp dword [rbp + 0x18], r13d
je 0x14000c2ea
mov eax, dword [rbp + 0x20]
cmp eax, 1
je 0x14000c2ea
mov ecx, 2
cmp eax, ecx
jne 0x14000ceca
mov rbx, qword [rbp + 0x48]
lea rdx, [0x140272320]
mov rcx, qword [rbx + 8]
call fcn.1401f5c80
test eax, eax
je 0x14000c2ea
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401f5c80
test eax, eax
jne 0x14000ceca
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.140003e7c
mov rcx, rax
call fcn.14009dd74
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.140003e7c
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x1000
mov r8, rax
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
mov r15, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov rcx, rsi
call fcn.1401f4108
lea r12, str.CoreModule
test eax, eax
jne 0x14000c4d6
mov edx, 0x400
mov rcx, r12
call fcn.1401e9dbc
mov rbx, rax
cmp rax, 0x7fffffff
ja 0x14000c4ce
mov rsi, qword [rdi + 0x48]
test rsi, rsi
je 0x14000c4ce
mov rcx, qword [rsi + 0x1010]
mov r9d, ebx
mov r8, r12
xor edx, edx
call fcn.1400a8b6c
mov r14, rax
test rax, rax
jne 0x14000c48e
lea rcx, [rbx + 4]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x14000c3c5
mov eax, 0xfffffffb
cmp rax, rbx
je 0x14000c3c5
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x14000c3c5
lea rcx, [rbx + 0x1c]
call fcn.1401ea40c
jmp 0x14000c3c8
mov rax, r13
movsxd rdx, ebx
xor r9d, r9d
add rdx, 4
xor r8d, r8d
mov rcx, rax
call fcn.14009faa0
mov r14, rax
mov r8, qword [rax - 0x18]
test rbx, rbx
je 0x14000c415
mov rcx, rax
cmp r8, rbx
jb 0x14000c3fe
mov r8, rbx
mov rdx, r12
call fcn.14020df90
jmp 0x14000c415
xor edx, edx
call fcn.14020e630
call fcn.1401e8db4
mov dword [rax], 0x22
call fcn.1401e7e2c
mov r8d, ebx
mov rdx, r12
xor ecx, ecx
call fcn.1400c2ef8
mov dword [r14 + rbx], eax
mov r8, r14
mov r9d, dword [r14 - 0x18]
xor edx, edx
mov rcx, qword [rsi + 0x1010]
call fcn.1400a8b6c
mov rbx, rax
test rax, rax
je 0x14000c484
mov r8d, dword [r14 - 0x18]
xor r9d, r9d
mov rcx, qword [rsi]
mov rdx, r14
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call fcn.1400ae3b0
test rax, rax
jne 0x14000c47c
mov rax, qword [rsi + 0x1058]
test rax, rax
je 0x14000c47c
mov rdx, qword [rsi + 0x1060]
mov rcx, rsi
call rax
mov rcx, rbx
call fcn.1401e8ee0
mov rcx, r14
call fcn.14009fb80
jmp 0x14000c4ce
mov rcx, qword [rsi]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov r8d, ebx
mov rdx, r12
mov dword [rsp + 0x20], r13d
call fcn.1400ae3b0
test rax, rax
jne 0x14000c4c6
mov rax, qword [rsi + 0x1058]
test rax, rax
je 0x14000c4c6
mov rdx, qword [rsi + 0x1060]
mov rcx, rsi
call rax
mov rcx, r14
call fcn.1401e8ee0
mov rcx, r15
call fcn.14009dd74
mov r15d, 0x400
cmp dword [rdi + 0x28c], r13d
jne 0x14000c50b
mov edx, r15d
mov rcx, r12
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r12
call fcn.1400af52c
mov esi, eax
jmp 0x14000c50e
mov esi, r13d
lea rbx, str.jsDebugPort
mov rdx, r15
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400af52c
test eax, eax
je 0x14000c5a0
mov rdx, r15
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 0x48]
mov r8, rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, rbx
call fcn.1400af52c
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x14000c5a0
cdqe
cmp rax, 0x10
jae 0x14000cf0f
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r13b
call fcn.14009fc40
cmp rax, 0x7fffffff
ja 0x14000c597
lea rcx, [rbp + 0x48]
call fcn.14009fc70
jmp 0x14000c59a
mov eax, r13d
mov dword [rdi + 0xc00], eax
mov rdx, r15
mov dword [rdi + 0x290], 1
lea rcx, str.showModuleNames
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1403155a8], eax
test rcx, rcx
je 0x14000c657
mov rdx, qword [rdi]
call fcn.140003520
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.14001d39c
mov rcx, qword [rdi + 0x10]
or r8d, 0xffffffff
mov edx, r14d
call fcn.14001e4c4
mov rcx, qword [rdi + 0x10]
lea r8d, [r14 + 7]
lea rdx, str.Ready
call fcn.14001fff4
mov rcx, qword [rdi + 0x10]
lea edx, [r14 + 3]
call fcn.14001c0d4
test eax, eax
je 0x14000c64e
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000c64e
lea rdx, [0x14026eda8]
call fcn.140069af8
mov rcx, qword [rdi + 0x10]
call fcn.140020f08
cmp dword [rdi + 0x28c], r13d
jne 0x14000c9ce
call fcn.1400914e8
mov r9, qword [rdi]
mov rcx, rax
mov rax, qword [rdi + 0x30]
xor r8d, r8d
mov qword [rsp + 0x48], r13
xor edx, edx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call fcn.140092064
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.140003e20
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14000a508]
mov r8, rdi
call fcn.1400699a8
mov rdx, r15
lea rcx, str.coreDumpEnabled
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
mov dword [rdi + 0xc04], eax
test eax, eax
je 0x14000c70f
mov rcx, qword [rdi + 0x10]
lea rdx, str.process.coreDumpLocation__process.platformwin32__process.execPath.replace_.exe__.dmp__:_process.execPath__.dmp__
mov r9d, 0xf08
call fcn.14001cc34
mov rdx, r15
lea rcx, str.finalizer_messages
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rbx, [0x14031a480]
mov r9, rbx
mov qword [rsp + 0x20], 0x1000
mov r8, rax
lea rdx, str.finalizer_messages
call fcn.1400af52c
test eax, eax
je 0x14000c756
mov rcx, rbx
call fcn.1401e9d0c
mov dword [0x1403155ac], eax
cmp esi, 4
jle 0x14000c9ce
mov rdx, r15
lea rcx, str.noUpdateCoreModule
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
je 0x14000c867
lea rcx, str._CoreModule:_Update_Disabled_n
mov dword [rdi + 0x28c], 1
call fcn.14000105c
movsxd rbx, esi
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
xor edx, edx
call fcn.14009fd78
mov rdx, r15
mov rcx, r12
mov r14, rax
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
mov r9, r14
mov r8, rax
mov qword [rsp + 0x20], rbx
mov rdx, r12
call fcn.1400af52c
mov rcx, qword [rdi + 0x10]
lea r8d, [rsi - 4]
lea rdx, [r14 + 4]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
call fcn.14009281c
test eax, eax
jne 0x14000c812
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001c030
test eax, eax
je 0x14000c85a
mov rax, qword [rdi]
test rax, rax
je 0x14000c820
mov rbx, qword [rax + 8]
jmp 0x14000c823
mov rbx, r13
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001f384
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400acec4
mov rcx, qword [rdi + 0x10]
call fcn.140020f08
mov rcx, r14
call fcn.1401e8ee0
jmp 0x14000c9ce
mov rbx, qword [rdi + 0x10]
mov r15d, r13d
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.1400202e0
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001d39c
or r8d, 0xffffffff
mov edx, r14d
mov rcx, rbx
call fcn.14001e4c4
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x14006a214]
mov rcx, rbx
call fcn.1400207fc
mov edx, 0xea60
mov rcx, rbx
call fcn.14001ff44
lea rdx, [0x14000a6a0]
mov rcx, rbx
call fcn.14002019c
mov rcx, rbx
call fcn.1400205b0
lea rsi, [rbp + 0x48]
cmp qword [rsi], r13
je 0x14000c946
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001d39c
mov edx, r14d
mov rcx, rbx
call fcn.14001e518
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.14002019c
mov edx, 1
mov rcx, rbx
call fcn.14001c0d4
test eax, eax
je 0x14000c931
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.140069af8
mov rcx, rbx
call fcn.140020f08
inc r15d
add rsi, 8
cmp r15d, 1
jl 0x14000c8e4
mov edx, 4
mov rcx, rbx
call fcn.14001c0d4
mov rcx, rbx
test eax, eax
je 0x14000c973
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.140069af8
mov rcx, rbx
call fcn.140020f08
mov rax, r13
jmp 0x14000c984
or edx, 0xffffffff
call fcn.14001e0d4
test byte [rax], 8
je 0x14000c96e
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0xbf8], rax
call fcn.140020360
mov rdx, qword [rdi + 0xbf8]
mov rcx, qword [rdi + 0x10]
call fcn.140020c74
mov rcx, qword [rdi + 0xbf8]
call fcn.140069030
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001d620
mov rcx, qword [rdi + 0x10]
call fcn.140020f08
mov r15d, 0x400
lea rbx, str.exitPID
mov rdx, r15
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400af52c
lea rsi, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermeshcore_agentcore.c
test eax, eax
jle 0x14000ca7c
mov rdx, r15
mov rcx, rbx
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031a480]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400af52c
mov rcx, r14
call fcn.14009fc70
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000ca7c
mov edx, 0x156d
mov rcx, rsi
call fcn.1400a2ddc
mov rcx, qword [rdi]
lea r9, [0x14000a84c]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.1400a3920
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
jle 0x14000cac5
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000cac5
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.14001cc34
mov rdx, r15
lea rcx, str.selfTest
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.selfTest
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af52c
test eax, eax
jne 0x14000cb05
mov rcx, qword [rdi]
lea rdx, [0x14000a514]
mov r8, rdi
call fcn.14009e69c
cmp dword [rdi + 0xc0c], r13d
jne 0x14000cb1b
mov rcx, rdi
call fcn.140009838
jmp 0x14000cc20
mov rdx, r15
mov rcx, r12
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r12
call fcn.1400af52c
movsxd r14, eax
cmp r14d, 4
jle 0x14000cc0a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.14009fd78
mov edx, 0x400
mov rcx, r12
mov r15, rax
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
mov r9, r15
mov r8, rax
mov qword [rsp + 0x20], r14
mov rdx, r12
call fcn.1400af52c
mov rcx, qword [rdi + 0x10]
lea r8d, [r14 - 4]
lea rdx, [r15 + 4]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
call fcn.14009281c
test eax, eax
jne 0x14000cbb4
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001c030
test eax, eax
je 0x14000cbf3
mov rax, qword [rdi]
test rax, rax
je 0x14000cbc2
mov rbx, qword [rax + 8]
jmp 0x14000cbc5
mov rbx, r13
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001f384
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400acec4
mov rcx, qword [rdi + 0x10]
call fcn.140020f08
mov rcx, r15
call fcn.1401e8ee0
mov r15d, 0x400
mov rcx, qword [rdi + 0x10]
lea rdx, str.console.log_Agent_running_in_Local_Debug_Mode__require_MeshAgent_.emit_Connected_1__
mov r9d, 0xf88
call fcn.14001cc34
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031a480]
mov ebx, 0x1000
lea rdx, str.MeshServer
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af52c
cmp eax, 5
jle 0x14000aef1
cmp dword [0x14031a480], 0x61636f6c
jne 0x14000aef1
cmp byte [0x14031a484], 0x6c
jne 0x14000aef1
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401e9dbc
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af52c
mov ebx, eax
cmp eax, 1
jle 0x14000cd03
lea rcx, [rbp + 0x60]
call fcn.1400cf080
lea eax, [rbx - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400cf110
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400cf060
mov ecx, 0x20
call fcn.1401ea40c
mov qword [rdi + 0xda0], rax
test rax, rax
je 0x14000cf15
movups xmm0, xmmword [0x14031a480]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14031a490]
movups xmmword [rax + 0x10], xmm1
xor eax, eax
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp + 0x38], rax
movups xmmword [rbp + 0x48], xmm0
mov dword [rbp + 0x40], eax
movups xmmword [rbp + 0x28], xmm1
call fcn.1400a9b38
mov r14d, 0x425d
test eax, eax
je 0x14000cd51
mov ebx, reloc.WS2_32.dll_socket
mov ecx, r14d
mov word [rbp + 0x28], bx
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 0x30]
mov ecx, ebx
lea rdx, str.FF02:0:0:0:0:0:0:FE
mov word [rbp + 0x2a], ax
call fcn.1400a9d7c
mov ebx, 2
mov ecx, r14d
mov word [rbp + 0x48], bx
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 0x4c]
mov ecx, ebx
lea rdx, str.239.255.255.235
mov word [rbp + 0x4a], ax
call fcn.1400a9d7c
mov rcx, qword [rdi]
lea rax, [rbp + 0x28]
mov r8d, 0x425e
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14009ef68
mov qword [rdi + 0xd90], rax
test rax, rax
jne 0x14000cdca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15b6
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rsi
xor ecx, ecx
call fcn.1400aa25c
jmp 0x14000aef1
mov rcx, qword [rdi]
lea rax, [rbp + 0x28]
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.14009ef68
mov qword [rdi + 0xd98], rax
test rax, rax
jne 0x14000aef1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15ba
jmp 0x14000cdb1
mov ecx, gethostname
call fcn.1401ea40c
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14009faa0
movsxd rcx, r15d
mov rbx, rax
mov qword [rax + 8], rcx
movsxd rcx, dword [rbp + 0x18]
mov qword [rax + 0x18], rcx
mov qword [rax], rdi
mov qword [rax + 0x10], r12
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14000ce4c
call fcn.1400aef60
mov qword [rdi + 0x48], r13
mov edx, dword [rdi + 0xdb8]
cmp edx, 0xa
je 0x14000cebe
inc edx
lea rcx, str.Unable_to_open_database___d_10_..._r_n
call fcn.14000105c
mov rcx, qword [rdi]
inc dword [rdi + 0xdb8]
test rcx, rcx
jne 0x14000ce78
mov rcx, r13
jmp 0x14000ce7f
mov rcx, qword [rcx + 0x938]
mov qword [rsp + 0x38], r13
lea rax, [0x140007d10]
mov dword [rsp + 0x30], 0x137f
lea rsi, str.C:Users_anfdhDownloadsMeshAgent_masterMeshAgent_mastermeshcore_agentcore.c
mov qword [rsp + 0x28], rsi
lea r9, [0x14000a658]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.1400a78b8
jmp 0x14000aef1
lea rcx, str.Unable_to_open_database._r_n
call fcn.14000105c
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1401d9e80
mov rbx, qword [rbp + 0x1b8]
lea rsp, [rbp + 0x170]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.___Administrator_permissions_needed..._n
call fcn.14000105c
xor ecx, ecx
call fcn.1401e0110
int3
call fcn.1401d9fa8
int3
call fcn.1401d9fa8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
mov ebx, 0x159e
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.1400aa25c
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rsi
call fcn.14000105c
mov ecx, edi
call fcn.1401e0110
int3