Function at 0x140009880
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 [0x1402feed0]
xor rax, rbp
mov qword [rbp + 0x160], rax
mov r15d, edx
mov rdi, rcx
xor r12d, r12d
mov dword [rbp + 0x18], r15d
lea rdx, str.__DUMMY__
mov dword [rbp + 0x14], r12d
lea rcx, [0x140267e84]
mov dword [rbp + 0x10], r9d
mov r14, r8
mov qword [rbp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
movsxd rsi, r15d
mov ebx, r12d
lea r13d, [r12 + 1]
test r15d, r15d
jle 0x140009942
mov rcx, qword [r14 + rbx*8]
lea rdx, str._recovery
call fcn.1401ed8b0
test eax, eax
jne 0x14000990f
or dword [rdi + 0x298], 0x40
mov dword [rbp + 0x10], r12d
mov rcx, qword [r14 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401ed8b0
test eax, eax
jne 0x14000993a
lea rcx, str._Not_using_Certificate_Store__n
mov dword [rbp + 0x10], r12d
call fcn.1400010e4
mov dword [rdi + 0xc70], r13d
add rbx, r13
cmp rbx, rsi
jl 0x1400098f0
xor ebx, ebx
test r15d, r15d
jle 0x1400099de
mov rsi, r14
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401ed8b0
test eax, eax
je 0x1400099d0
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x140009950
jmp 0x1400099de
xor r8d, r8d
xor ecx, ecx
call fcn.1400ad588
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r12
jne 0x140009a03
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140267f2c]
call fcn.1400039c4
mov rcx, rax
xor r8d, r8d
call fcn.1400ad588
mov qword [rdi + 0x48], rax
xor ebx, ebx
xor r14d, r14d
xor r13d, r13d
mov dword [rbp + 8], ebx
test r15d, r15d
jle 0x140009c35
mov rbx, qword [rbp + 0x20]
mov qword [rbp + 0x48], r15
lea r15d, [r14 + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140009a2f
xor esi, esi
jmp 0x140009a3c
mov edx, 0x1000
call fcn.1401e26ac
mov rsi, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401ed8b0
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove r13d, r15d
call fcn.1401ed8b0
test eax, eax
je 0x140009a77
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401ed8b0
test eax, eax
jne 0x140009a7a
mov r14d, r15d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401ed8b0
test eax, eax
jne 0x140009ab7
and qword [rsp + 0x28], 0
lea r9, [0x140266d48]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r15
lea r14d, [rax + 5]
call fcn.1400ac7b0
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401ed8b0
test eax, eax
je 0x140009add
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401ed8b0
test eax, eax
jne 0x140009b09
and qword [rsp + 0x28], 0
lea r9, [0x140266d48]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r15
lea r8d, [r14 + 9]
call fcn.1400ac7b0
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401ed8b0
mov rcx, qword [rbx]
lea r8, [0x140267d14]
test eax, eax
movsxd rdx, esi
mov eax, 2
mov r9, r15
cmove r14d, eax
call fcn.1400a7c58
movsxd r15, eax
mov eax, 2
cmp r15d, eax
jle 0x140009c1a
mov rcx, qword [rbx]
lea rdx, [0x140267f54]
mov r8d, eax
call fcn.1401e0c90
test eax, eax
jne 0x140009c1a
cmp r15d, 0xa
jne 0x140009bc9
mov rcx, qword [rbx]
lea r8d, [rax + 8]
add rcx, 2
lea rdx, str.readonly
call fcn.1401e0c90
test eax, eax
jne 0x140009bc9
mov rcx, qword [rbx]
lea r8d, [r15 - 9]
add rcx, 0xb
lea rdx, [0x140266d48]
call fcn.1401e0c90
test eax, eax
jne 0x140009bc9
cmp qword [rdi + 0x48], 0
mov dword [rbp + 8], 1
je 0x140009bd0
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140267f2c]
call fcn.1400039c4
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.1400ad634
cmp qword [rdi + 0x48], 0
jne 0x140009bde
xor r8d, r8d
xor ecx, ecx
call fcn.1400ad588
mov qword [rdi + 0x48], rax
mov rdx, qword [rbx]
lea eax, [r15 - 2]
and qword [rsp + 0x28], 0
sub esi, r15d
dec esi
movsxd r8, eax
movsxd rcx, esi
lea r9, [rdx + 1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi + 0x48]
add r9, r15
add rdx, 2
call fcn.1400ac7b0
mov r15d, 1
add r12d, r15d
jmp 0x140009c20
mov r15d, 1
add rbx, 8
sub qword [rbp + 0x48], r15
jne 0x140009a23
mov ebx, dword [rbp + 8]
mov r15d, dword [rbp + 0x18]
sub r15d, r12d
cmp qword [rdi + 0x48], 0
mov dword [rbp + 0x18], r15d
jne 0x140009c51
xor r8d, r8d
xor ecx, ecx
call fcn.1400ad588
mov qword [rdi + 0x48], rax
mov rax, qword [rdi + 0x48]
mov r12d, 0x400
cmp qword [rax], 0
jne 0x140009c94
mov edx, r12d
lea rcx, str.readmsh
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.readmsh
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400adc28
test eax, eax
je 0x140009d1d
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.1400039c4
mov rdx, rax
mov rcx, rdi
call fcn.140008f70
test eax, eax
jne 0x140009d1d
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.1400039c4
mov rdx, rax
mov rcx, rdi
call fcn.140008f70
test eax, eax
jne 0x140009d1d
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140008f70
test eax, eax
jne 0x140009d1d
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140008f70
test eax, eax
jne 0x140009d1d
xor edx, edx
mov rcx, rdi
call fcn.140008d68
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.1400039c4
mov rdx, rax
mov rcx, rdi
call fcn.140008f70
lea rsi, str.maxLogSize
mov rdx, r12
mov rcx, rsi
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
and qword [rsp + 0x20], 0
mov r8, rax
mov rdx, rsi
call fcn.1400adc28
test eax, eax
je 0x140009daf
mov rdx, r12
mov rcx, rsi
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030c380]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rsi
call fcn.1400adc28
movsxd rcx, eax
cmp rcx, 0x1000
jae 0x140009daf
and qword [rbp + 0x48], 0
lea rdx, [0x14030c380]
or r9, 0xffffffffffffffff
lea rcx, [rbp + 0x48]
call fcn.14009f180
mov rcx, qword [0x1402ffb48]
test eax, eax
cmove rcx, qword [rbp + 0x48]
mov qword [0x1402ffb48], rcx
cmp dword [rdi + 0xc70], 0
jne 0x140009de9
mov rdx, r12
lea rcx, str.nocertstore
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.nocertstore
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400adc28
mov dword [rdi + 0xc70], eax
test r13d, r13d
je 0x140009e51
mov rbx, qword [rdi]
call fcn.14009105c
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x140009784]
mov qword [rsp + 0x40], rax
mov r9, rbx
and qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor edx, edx
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call fcn.140091c10
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.14001b984
mov eax, 1
jmp 0x14000ba31
xor r13d, r13d
test r14d, r14d
je 0x140009fda
mov rbx, qword [rdi]
call fcn.14009105c
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x140009784]
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.140091c10
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.140003968
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.14001b984
or r15, 0xffffffffffffffff
mov rcx, rsi
mov edx, r15d
call fcn.14001cd88
cmp dword [rax], 4
jne 0x140009edc
mov eax, dword [rax + 8]
jmp 0x140009edf
mov eax, r13d
test eax, eax
je 0x14000ba5a
sub r14d, 1
je 0x140009f21
sub r14d, 1
je 0x140009f06
cmp r14d, 3
je 0x140009f21
mov rcx, rsi
call fcn.14006b0e8
jmp 0x140009ff8
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001b984
lea r8, str.fullUninstall
jmp 0x140009f3a
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001b984
lea r8, str.fullInstall
mov edx, r15d
mov rcx, rsi
call fcn.14001c0c8
mov r8d, r15d
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001d1a8
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.14001f2a8
mov r8, rsi
lea rdx, [0x140097a8c]
mov rcx, rbx
call fcn.1400acb44
mov edx, r15d
mov rcx, rsi
call fcn.14001b8d8
mov edx, 1
mov rcx, rsi
call fcn.14001ae80
test eax, eax
je 0x140009fcd
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001e028
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401ed8b0
test eax, eax
je 0x140009fcd
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001e028
mov rdx, rax
lea rcx, [0x14026807c]
call fcn.1400010e4
mov rcx, rsi
call fcn.14001fc4c
jmp 0x140009e47
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000b966
cmp qword [rax], r13
jne 0x140009ff4
test ebx, ebx
je 0x14000b966
or r15, 0xffffffffffffffff
mov rdx, qword [rdi]
call fcn.1400b12dc
mov qword [rdi + 0x40], rax
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000a0db
lea rcx, [0x1400097b8]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov rdx, r12
lea rcx, str.enableILibRemoteLogging
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rsi, [0x14030c380]
mov ebx, 0x1000
lea rdx, str.enableILibRemoteLogging
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400adc28
test eax, eax
je 0x14000a098
cdqe
cmp rax, rbx
jae 0x14000ba6e
mov byte [rax + rsi], r13b
lea rdx, str..wlg
mov rcx, qword [rdi + 0x38]
call fcn.1400039c4
mov rcx, rsi
mov rbx, rax
call fcn.14009f248
mov rcx, qword [rdi]
movzx edx, ax
mov r8, rbx
call fcn.14009f774
mov rdx, r12
lea rcx, str.semaphoreTrack
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400adc28
test eax, eax
je 0x14000a0db
lea rax, [0x140009840]
mov dword [0x140307198], r13d
mov qword [0x140307db8], rax
mov rax, qword [rdi]
test rax, rax
je 0x14000a0e9
mov rcx, qword [rax + 8]
jmp 0x14000a0ec
mov rcx, r13
mov rax, qword [rbp + 0x20]
lea r9, str.agentcore:_argv_0____s
mov edx, 0x100
mov r8d, 2
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
call fcn.1400ab710
call fcn.14009105c
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.140091c10
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov rbx, rax
call fcn.14001b984
mov rdx, r12
mov qword [rdi + 0xdbc], r13
lea rcx, str.meshServiceName
mov dword [rdi + 0xdc4], r13d
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.meshServiceName
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400adc28
movsxd r14, eax
mov r12d, 0xffffffff
mov eax, 0xffffffe7
test r14d, r14d
je 0x14000a217
lea ecx, [r14 + 1]
movsxd rsi, ecx
cmp rsi, r12
jae 0x14000a1ca
cmp r12, rsi
je 0x14000a1ca
cmp rsi, rax
jae 0x14000a1ca
lea rcx, [rsi + 0x18]
call fcn.1401e2d40
jmp 0x14000a1cd
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009f048
mov edx, 0x400
mov qword [rdi + 0xdd8], rax
lea rcx, str.meshServiceName
call fcn.1401e26ac
mov r9, qword [rdi + 0xdd8]
lea rdx, str.meshServiceName
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov qword [rsp + 0x20], r14
call fcn.1400adc28
jmp 0x14000a225
lea rax, str.Mesh_Agent
mov qword [rdi + 0xdd8], rax
mov edx, 0x400
lea rcx, str.displayName
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.displayName
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400adc28
movsxd r14, eax
test eax, eax
je 0x14000a2cb
lea ecx, [r14 + 1]
movsxd rsi, ecx
cmp rsi, r12
jae 0x14000a27e
cmp r12, rsi
je 0x14000a27e
mov eax, 0xffffffe7
cmp rsi, rax
jae 0x14000a27e
lea rcx, [rsi + 0x18]
call fcn.1401e2d40
jmp 0x14000a281
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009f048
mov edx, 0x400
mov qword [rdi + 0xde0], rax
lea rcx, str.displayName
call fcn.1401e26ac
mov r9, qword [rdi + 0xde0]
lea rdx, str.displayName
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov qword [rsp + 0x20], r14
call fcn.1400adc28
jmp 0x14000a2d9
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.14001f1dc
mov edx, r15d
mov rcx, rbx
call fcn.14001cd88
mov rcx, r13
cmp dword [rax], 8
jne 0x14000a306
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.14001b984
test eax, eax
jne 0x14000a343
xor r9d, r9d
mov edx, r15d
mov rcx, rbx
call fcn.14001cc48
mov dword [rdi + 0xdbc], eax
mov r9d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14001b984
test eax, eax
jne 0x14000a373
mov edx, r15d
mov rcx, rbx
call fcn.14001cd88
cmp dword [rax], 4
jne 0x14000a36a
mov eax, dword [rax + 8]
jmp 0x14000a36d
mov eax, r13d
mov dword [rdi + 0xdc0], eax
mov r9d, r14d
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, rbx
call fcn.14001b984
test eax, eax
jne 0x14000a3a7
mov edx, r15d
mov rcx, rbx
call fcn.14001cd88
cmp dword [rax], 4
jne 0x14000a39e
mov eax, dword [rax + 8]
jmp 0x14000a3a1
mov eax, r13d
mov dword [rdi + 0xdc4], eax
mov r15d, 0xfffffffe
cmp dword [rdi + 0xdc0], r13d
jne 0x14000a499
cmp dword [rdi + 0xde8], r13d
je 0x14000a499
mov r9d, r14d
lea rdx, str.require_util_service_check___
mov rcx, rbx
call fcn.14001b984
test eax, eax
jne 0x14000a499
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001cd88
mov ecx, dword [rax]
lea rax, [0x14026e0d0]
test byte [rax + rcx*4], 6
jne 0x14000a499
lea r8, [rbp + 0x48]
or edx, edx
mov rcx, rbx
call fcn.14001e028
mov rdx, qword [rdi + 0xdd8]
lea rcx, str.Service_Name_Conflict:_Configured___s__but_is_actually___s_
mov r8, rax
mov r14, rax
call fcn.1400a8cb4
mov rcx, qword [rdi + 0xdd8]
call fcn.14009f130
mov rsi, qword [rbp + 0x48]
lea rdx, [rsi + 1]
cmp rdx, r12
jae 0x14000a45c
cmp r15, rsi
je 0x14000a45c
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x14000a45c
lea rcx, [rsi + 0x19]
call fcn.1401e2d40
mov rcx, rax
jmp 0x14000a45f
mov rcx, r13
lea eax, [rsi + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009f048
mov qword [rdi + 0xdd8], rax
mov r9, rsi
mov r8, r14
mov rcx, rax
mov rdx, qword [rax - 0x18]
call section..text
mov dword [rdi + 0xdc0], 1
mov r14d, 0xe88
mov r8, qword [rdi + 0xdd8]
lea rdx, str.require__agentNodeId_.checkResetNodeId__s__
mov rcx, rbx
call fcn.14001f1dc
xor edx, edx
mov r9d, 0x889
mov rcx, rbx
call fcn.14001b984
or edx, 0xffffffff
mov rcx, rbx
test eax, eax
jne 0x14000a503
call fcn.14001cd88
cmp dword [rax], 4
jne 0x14000a51a
or edx, edx
mov rcx, rbx
call fcn.14001cd88
cmp dword [rax], 4
jne 0x14000a4e7
mov eax, dword [rax + 8]
jmp 0x14000a4ea
mov eax, r13d
test eax, eax
je 0x14000a51a
lea rcx, str.NodeID_will_reset__because_ResetNodeId_was_set_in_the_registry
mov dword [rbp + 0x14], 1
call fcn.1400a8cb4
jmp 0x14000a51a
xor r8d, r8d
call fcn.14001e028
mov rdx, rax
lea rcx, str.Error_checking_ResetNodeId_in_registry:__s
call fcn.1400a8cb4
mov edx, 0x400
lea rcx, str.skipmaccheck
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.skipmaccheck
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400adc28
test eax, eax
jne 0x14000a731
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.14001b984
test eax, eax
jne 0x14000a731
lea r8, [rbp + 8]
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001d550
mov r14, qword [rbp + 8]
mov r12, rax
mov qword [rbp + 0x48], rax
cmp r14, 0x13
jb 0x14000a72b
lea rsi, str.LocalMacAddresses
mov edx, 0x400
mov rcx, rsi
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rsi
call fcn.1400adc28
movsxd r15, eax
test eax, eax
jne 0x14000a5e5
mov rdx, rsi
mov rcx, qword [rdi + 0x48]
mov r8d, reloc.WS2_32.dll_recvfrom
movsxd rax, r14d
mov r9, r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400ad724
jmp 0x14000a725
mov esi, r13d
test r14d, r14d
jle 0x14000a725
movsxd rcx, esi
lea rdx, str._00:00:00:00:00:00_
add rcx, r12
mov r8d, reloc.WS2_32.dll_send
call fcn.1401e0c90
test eax, eax
jne 0x14000a615
add esi, 0x13
cmp esi, r14d
jl 0x14000a5f1
cmp esi, r14d
jge 0x14000a725
lea eax, [r15 + 1]
mov esi, r13d
movsxd rdx, eax
mov eax, 0xffffffc7
cmp rdx, rax
jae 0x14000a65f
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000a649
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401d9480
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x14000a662
mov rcx, r13
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14009f048
mov edx, 0x400
mov r13, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r13
mov qword [rsp + 0x20], r15
mov r8, rax
call fcn.1400adc28
test r15d, r15d
jle 0x14000a6fa
movsxd r12, esi
lea rdx, str._00:00:00:00:00:00_
add r12, r13
mov r8d, reloc.WS2_32.dll_send
mov rcx, r12
call fcn.1401e0c90
test eax, eax
je 0x14000a6e9
mov r8, r12
movsxd rdx, r14d
mov r12, qword [rbp + 0x48]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r12
call fcn.1400a7c58
test eax, eax
jns 0x14000a6f5
jmp 0x14000a6ed
mov r12, qword [rbp + 0x48]
add esi, 0x13
cmp esi, r15d
jl 0x14000a6ac
cmp esi, r15d
jl 0x14000a722
mov r8, r13
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r12
call fcn.1400a8cb4
xor r13d, r13d
mov dword [rbp + 0x14], 1
lea rdx, str.LocalMacAddresses
jmp 0x14000a5c1
xor r13d, r13d
mov r15d, 0xfffffffe
mov r12d, 0xffffffff
mov rcx, rbx
call fcn.14006b0e8
cmp dword [rbp + 0x14], 1
je 0x14000a74b
mov rcx, rdi
call fcn.140003f70
test eax, eax
je 0x14000a763
mov rcx, rdi
call fcn.140003b44
test eax, eax
je 0x14000a763
lea rcx, str.Certificate_error_r_n
call fcn.1400010e4
mov rcx, rdi
call fcn.1400043b8
test eax, eax
je 0x14000a77b
lea rcx, str.Certificate_validation_error_r_n
call fcn.1400010e4
mov rcx, qword [rdi + 0x38]
lea rdx, str..tag
mov qword [rbp + 0x48], r13
call fcn.1400039c4
mov rcx, rax
lea rdx, [rbp + 0x48]
mov r8d, 0x1000
call fcn.14009d22c
mov rbx, qword [rbp + 0x48]
lea r14, [0x140265fd4]
mov rcx, qword [rdi + 0x48]
mov r8d, 3
mov rdx, r14
test rbx, rbx
je 0x14000a7dc
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400ad724
mov rcx, rbx
call fcn.1401e18f8
jmp 0x14000a7e1
call fcn.1400ae288
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.1400adc28
test eax, eax
jne 0x14000a86f
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp + 0x48], r13
call fcn.1400039c4
mov rcx, rax
lea rdx, [rbp + 0x48]
mov r8d, 0x400
call fcn.14009d22c
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14000a86f
mov rcx, qword [rdi + 0x48]
mov r8d, 8
lea rdx, str.WebProxy
test eax, eax
jle 0x14000a862
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400ad724
jmp 0x14000a867
call fcn.1400ae288
mov rcx, rbx
call fcn.1401e18f8
lea rbx, str.AgentCapabilities
mov dword [rbp + 8], r13d
mov rcx, rbx
mov edx, 0x400
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400adc28
cmp eax, 4
jne 0x14000a8db
mov edx, 0x400
mov rcx, rbx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 8]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.1400adc28
mov ecx, dword [rbp + 8]
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.14000118c
movsxd rbx, eax
lea rax, [rbx + 1]
cmp rax, r12
jae 0x14000a91c
cmp r15, rbx
mov r15d, 0xffffffe7
je 0x14000a922
cmp rax, r15
jae 0x14000a922
lea rcx, [rbx + 0x19]
call fcn.1401e2d40
mov rcx, rax
jmp 0x14000a925
mov r15d, 0xffffffe7
mov rcx, r13
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009f048
mov r9, qword [rdi + 0xdd8]
lea r8, str.SoftwareOpen_Source_s
mov rcx, rax
mov r13, rax
mov rdx, qword [rax - 0x18]
call fcn.14000118c
and dword [rsp + 0x28], 0
or r9d, 0xffffffff
and qword [rsp + 0x20], 0
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
movsxd rsi, eax
lea rax, [rsi + rsi]
cmp rax, r12
jae 0x14000a999
cmp r12, rax
je 0x14000a999
cmp rax, r15
jae 0x14000a999
lea rcx, [rsi*2 + 0x18]
call fcn.1401e2d40
jmp 0x14000a99b
xor eax, eax
mov rdx, rsi
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov rcx, rax
call fcn.14009f048
mov r12, rax
mov eax, 0x7fffffff
cmp rsi, rax
jae 0x14000af10
cmp rbx, rax
ja 0x14000af10
lea r9d, [rsi + 1]
mov r8, r12
mov edx, ebx
mov rcx, r13
call fcn.14009e960
mov ecx, dword [rdi + 0xdfc]
lea r8, [rbp]
neg ecx
mov rdx, r12
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000af10
and qword [rbp + 8], 0
lea r15, [rdi + 0xd54]
test byte [rdi + 0x298], 0x40
lea esi, [rax + 0x30]
lea r8, [rbp + 8]
mov rcx, r15
mov edx, esi
jne 0x14000adef
call fcn.1400a60e0
movsxd rdx, eax
test eax, eax
jle 0x14000aa92
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14000aa92
mov rcx, rdx
test eax, eax
jle 0x14000aa60
mov rax, rbx
cmp byte [rax], 0x2b
jne 0x14000aa4f
mov byte [rax], 0x40
jmp 0x14000aa57
cmp byte [rax], 0x2f
jne 0x14000aa57
mov byte [rax], 0x24
inc rax
sub rcx, 1
jne 0x14000aa45
mov rcx, qword [rbp]
mov r9d, 1
mov dword [rsp + 0x28], edx
xor r8d, r8d
lea rdx, str.NodeId
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401e18f8
and qword [rbp + 8], 0
jmp 0x14000aaa3
mov rcx, qword [rbp]
lea rdx, str.NodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rcx, [rdi + 0xc10]
mov rdx, rsi
lea r8, [0x14030c380]
call fcn.14009d03c
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x14000aabd
mov rcx, qword [rbp]
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]
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400adc28
lea rbx, [0x14030d380]
test eax, eax
je 0x14000abc7
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400adc28
test eax, eax
jle 0x14000abc7
lea r8, [rbp + 8]
mov edx, eax
mov rcx, rbx
call fcn.1400a60e0
test eax, eax
jle 0x14000abc7
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14000abc7
movsxd rdx, eax
test eax, eax
jle 0x14000ab9a
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000ab89
mov byte [rcx], 0x40
jmp 0x14000ab91
cmp byte [rcx], 0x2f
jne 0x14000ab91
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000ab7f
mov rcx, qword [rbp]
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.1401e18f8
jmp 0x14000abd8
mov rcx, qword [rbp]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp]
lea rax, [0x140267178]
mov ebx, 1
mov dword [rsp + 0x28], 0x1a
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.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030d380]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.MeshServer
call fcn.1400adc28
test eax, eax
jne 0x14000ac53
mov rcx, qword [rbp]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000ac87
or rax, 0xffffffffffffffff
lea rcx, [0x14030d380]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000ac5e
mov dword [rsp + 0x28], eax
lea rdx, str.MeshServerUrl
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.ServerID
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030d380]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.ServerID
call fcn.1400adc28
test eax, eax
jne 0x14000acd2
mov rcx, qword [rbp]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000ad06
or rax, 0xffffffffffffffff
lea rcx, [0x14030d380]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000acdd
mov dword [rsp + 0x28], eax
lea rdx, str.MeshServerId
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.WebProxy
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030d380]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.WebProxy
call fcn.1400adc28
test eax, eax
jne 0x14000ad51
mov rcx, qword [rbp]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000ad85
or rax, 0xffffffffffffffff
lea rcx, [0x14030d380]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000ad5c
mov dword [rsp + 0x28], eax
lea rdx, str.Proxy
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
mov rcx, r14
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030d380]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, r14
call fcn.1400adc28
test eax, eax
jne 0x14000adbd
mov rdx, r14
jmp 0x14000ae5a
or rax, 0xffffffffffffffff
lea rcx, [0x14030d380]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000adc8
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rbp]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000ae64
call fcn.1400a60e0
test eax, eax
jle 0x14000ae53
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14000ae53
movsxd rdx, eax
test eax, eax
jle 0x14000ae26
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000ae15
mov byte [rcx], 0x40
jmp 0x14000ae1d
cmp byte [rcx], 0x2f
jne 0x14000ae1d
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000ae0b
mov rcx, qword [rbp]
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.1401e18f8
jmp 0x14000ae64
lea rdx, str.DiagnosticAgentNodeId
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov r14d, 0x400
lea rcx, str.SelfNodeCert
mov edx, r14d
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400adc28
test eax, eax
jne 0x14000af04
lea rbx, str.NodeID
mov edx, r14d
mov rcx, rbx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14030c380]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rbx
call fcn.1400adc28
cmp eax, esi
jne 0x14000aee4
mov r8, rsi
lea rdx, [0x14030c380]
mov rcx, r15
call fcn.1401da590
test eax, eax
je 0x14000af04
and qword [rsp + 0x28], 0
mov r9, r15
mov rcx, qword [rdi + 0x48]
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400ad724
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000af16
mov r14d, 0x400
mov rcx, r13
call fcn.14009f130
mov rcx, r12
call fcn.14009f130
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xc98]
xor r12d, r12d
cmp qword [rdx], r12
jne 0x14000af40
xor r8d, r8d
xor edx, edx
jmp 0x14000af47
mov r8, qword [rdi + 0xc80]
call fcn.1400b2128
mov r13d, 1
cmp dword [rbp + 0x10], r12d
je 0x14000af9c
mov eax, dword [rbp + 0x18]
cmp eax, r13d
je 0x14000af9c
lea ecx, [r13 + 1]
cmp eax, ecx
jne 0x14000ba2f
mov rbx, qword [rbp + 0x20]
lea rdx, [0x140268630]
mov rcx, qword [rbx + 8]
call fcn.1401ed8b0
test eax, eax
je 0x14000af9c
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401ed8b0
test eax, eax
jne 0x14000ba2f
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.1400039c4
mov rcx, rax
call fcn.14009d350
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.1400039c4
lea rsi, [0x140309380]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rsi
mov r8, rax
xor edx, edx
mov ecx, 0xfde9
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov rcx, rsi
call fcn.1401ebdac
lea rsi, str.CoreModule
test eax, eax
jne 0x14000b026
mov rdx, r14
mov rcx, rsi
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov rdx, rsi
call fcn.1400ae288
mov rcx, rbx
call fcn.14009d350
cmp dword [rdi + 0x28c], r12d
jne 0x14000b056
mov rdx, r14
mov rcx, rsi
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.1400adc28
mov r15d, eax
jmp 0x14000b059
mov r15d, r12d
lea rbx, str.jsDebugPort
mov rdx, r14
mov rcx, rbx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400adc28
test eax, eax
je 0x14000b0eb
mov rdx, r14
mov rcx, rbx
call fcn.1401e26ac
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.1400adc28
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x14000b0eb
cdqe
cmp rax, 0x10
jae 0x14000ba74
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.14009f1e8
cmp rax, 0x7fffffff
ja 0x14000b0e2
lea rcx, [rbp + 0x48]
call fcn.14009f218
jmp 0x14000b0e5
mov eax, r12d
mov dword [rdi + 0xc00], eax
mov rdx, r14
mov dword [rdi + 0x290], r13d
lea rcx, str.showModuleNames
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x140307374], eax
test rcx, rcx
je 0x14000b19a
mov rdx, qword [rdi]
call fcn.1400030c8
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.14001c0c8
mov rcx, qword [rdi + 0x10]
or r8d, 0xffffffff
mov edx, r14d
call fcn.14001d1a8
mov rcx, qword [rdi + 0x10]
lea rdx, str.Ready
call fcn.14001ed98
mov rcx, qword [rdi + 0x10]
mov edx, r13d
call fcn.14001ae80
test eax, eax
je 0x14000b191
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000b191
lea rdx, [0x140265288]
call fcn.14006ae40
mov rcx, qword [rdi + 0x10]
call fcn.14001fc4c
cmp dword [rdi + 0x28c], r12d
jne 0x14000b511
call fcn.14009105c
mov r9, qword [rdi]
mov rcx, rax
mov rax, qword [rdi + 0x30]
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov qword [rsp + 0x40], r12
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], r12
call fcn.140091c10
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.140003968
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400094cc]
mov r8, rdi
call fcn.14006acf4
mov ebx, 0x400
lea rcx, str.coreDumpEnabled
mov edx, ebx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
mov dword [rdi + 0xc04], eax
test eax, eax
je 0x14000b256
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.14001b984
mov rdx, rbx
lea rcx, str.finalizer_messages
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rsi, [0x14030c380]
mov r9, rsi
mov qword [rsp + 0x20], 0x1000
mov r8, rax
lea rdx, str.finalizer_messages
call fcn.1400adc28
test eax, eax
je 0x14000b29d
mov rcx, rsi
call fcn.1401e2680
mov dword [0x140307c78], eax
cmp r15d, 4
jle 0x14000b511
mov rdx, rbx
lea rcx, str.noUpdateCoreModule
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
test eax, eax
je 0x14000b3b6
lea rcx, str._CoreModule:_Update_Disabled_n
mov dword [rdi + 0x28c], r13d
call fcn.1400010e4
movsxd rbx, r15d
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
xor edx, edx
call fcn.14009f32c
mov edx, 0x400
lea rcx, str.CoreModule
mov rsi, rax
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400adc28
mov rcx, qword [rdi + 0x10]
lea r8d, [r15 - 4]
lea rdx, [rsi + 4]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
call fcn.1400923f0
test eax, eax
jne 0x14000b361
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001addc
test eax, eax
je 0x14000b3a9
mov rax, qword [rdi]
test rax, rax
je 0x14000b36f
mov rbx, qword [rax + 8]
jmp 0x14000b372
mov rbx, r12
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001e028
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400ab710
mov rcx, qword [rdi + 0x10]
call fcn.14001fc4c
mov rcx, rsi
call fcn.1401e18f8
jmp 0x14000b511
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.14001efc8
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001c0c8
or r8d, 0xffffffff
mov edx, r14d
mov rcx, rbx
call fcn.14001d1a8
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x14006b534]
mov rcx, rbx
call fcn.14001f530
mov edx, 0xea60
mov rcx, rbx
call fcn.14001ec08
lea rdx, [0x1400095f4]
mov rcx, rbx
call fcn.14001eeac
mov rcx, rbx
call fcn.14001f2a8
mov rsi, r12
mov r15, qword [rbp + rsi*8 + 0x48]
test r15, r15
je 0x14000b48f
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001c0c8
mov edx, r14d
mov rcx, rbx
call fcn.14001d1f0
mov rdx, r15
mov rcx, rbx
call fcn.14001eeac
mov edx, r13d
mov rcx, rbx
call fcn.14001ae80
test eax, eax
je 0x14000b47f
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.14006ae40
mov rcx, rbx
call fcn.14001fc4c
add rsi, r13
cmp rsi, r13
jl 0x14000b42f
mov edx, 4
mov rcx, rbx
call fcn.14001ae80
mov rcx, rbx
test eax, eax
je 0x14000b4bc
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.14006ae40
mov rcx, rbx
call fcn.14001fc4c
mov rax, r12
jmp 0x14000b4cd
or edx, 0xffffffff
call fcn.14001cd88
test byte [rax], 8
je 0x14000b4b7
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0xbf8], rax
call fcn.14001f048
mov rdx, qword [rdi + 0xbf8]
mov rcx, qword [rdi + 0x10]
call fcn.14001f9d8
mov rcx, qword [rdi + 0xbf8]
call fcn.14006a43c
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001c32c
mov rcx, qword [rdi + 0x10]
call fcn.14001fc4c
mov r15d, 0x400
lea rbx, str.exitPID
mov edx, r15d
mov rcx, rbx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400adc28
lea rsi, str...meshcore_agentcore.c
test eax, eax
jle 0x14000b5c5
mov edx, r15d
mov rcx, rbx
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r14, [0x14030c380]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400adc28
mov rcx, r14
call fcn.14009f218
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000b5c5
mov edx, 0x1504
mov rcx, rsi
call fcn.1400a22ec
mov rcx, qword [rdi]
lea r9, [0x1400097a0]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.1400a2e00
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
test eax, eax
jle 0x14000b60e
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000b60e
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.14001b984
mov rdx, r15
lea rcx, str.selfTest
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.selfTest
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
test eax, eax
jne 0x14000b64e
mov rcx, qword [rdi]
lea rdx, [0x1400094d8]
mov r8, rdi
call fcn.14009dc38
cmp dword [rdi + 0xc0c], r12d
jne 0x14000b664
mov rcx, rdi
call fcn.1400087e4
jmp 0x14000b779
mov rdx, r15
lea rcx, str.CoreModule
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400adc28
movsxd r14, eax
cmp r14d, 4
jle 0x14000b763
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.14009f32c
mov edx, 0x400
lea rcx, str.CoreModule
mov r15, rax
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rax
call fcn.1400adc28
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.1400923f0
test eax, eax
jne 0x14000b70d
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001addc
test eax, eax
je 0x14000b74c
mov rax, qword [rdi]
test rax, rax
je 0x14000b71b
mov rbx, qword [rax + 8]
jmp 0x14000b71e
mov rbx, r12
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001e028
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400ab710
mov rcx, qword [rdi + 0x10]
call fcn.14001fc4c
mov rcx, r15
call fcn.1401e18f8
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.14001b984
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea r14, [0x14030c380]
mov ebx, 0x1000
lea rdx, str.MeshServer
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400adc28
cmp eax, 5
jle 0x14000b927
mov eax, dword [0x14030c380]
cmp eax, dword [str.local]
jne 0x14000b927
mov al, byte [0x14030c384]
cmp al, byte [0x14026767c]
jne 0x14000b927
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401e26ac
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400adc28
mov ebx, eax
cmp eax, r13d
jle 0x14000b863
lea rcx, [rbp + 0x60]
call fcn.1400ce1b0
lea eax, [rbx - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400ce240
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400ce190
mov ecx, 0x20
call fcn.1401e2d40
mov qword [rdi + 0xda0], rax
test rax, rax
je 0x14000ba7a
movups xmm0, xmmword [0x14030c380]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14030c390]
movups xmmword [rax + 0x10], xmm1
xor eax, eax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], eax
call fcn.1400a84b8
mov r14d, 0x425d
test eax, eax
je 0x14000b8b3
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.1400a86fc
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.1400a86fc
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.14009e4b0
mov qword [rdi + 0xd90], rax
test rax, rax
jne 0x14000b92f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x154d
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rsi
xor ecx, ecx
call fcn.1400a8b44
mov eax, r13d
jmp 0x14000ba31
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.14009e4b0
mov qword [rdi + 0xd98], rax
test rax, rax
jne 0x14000b927
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1551
jmp 0x14000b913
mov ecx, gethostname
call fcn.1401e2d40
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14009f048
mov rbx, rax
movsxd rcx, r15d
mov qword [rax + 8], rcx
movsxd rcx, dword [rbp + 0x10]
mov qword [rax], rdi
mov rax, qword [rbp + 0x20]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14000b9b1
call fcn.1400ad6c0
mov qword [rdi + 0x48], r13
mov edx, dword [rdi + 0xdb8]
cmp edx, 0xa
je 0x14000ba23
inc edx
lea rcx, str.Unable_to_open_database___d_10_..._r_n
call fcn.1400010e4
mov rcx, qword [rdi]
inc dword [rdi + 0xdb8]
test rcx, rcx
jne 0x14000b9dd
mov rcx, r13
jmp 0x14000b9e4
mov rcx, qword [rcx + 0x938]
mov qword [rsp + 0x38], r13
lea rax, [0x140007398]
mov dword [rsp + 0x30], 0x1316
lea rsi, str...meshcore_agentcore.c
mov qword [rsp + 0x28], rsi
lea r9, [0x1400095ac]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.1400a63ec
jmp 0x140009e47
lea rcx, str.Unable_to_open_database._r_n
call fcn.1400010e4
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1401d8f10
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.1400010e4
xor ecx, ecx
call fcn.1401db608
int3
call fcn.1401d903c
int3
call fcn.1401d903c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
mov ebx, 0x1535
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.1400a8b44
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rsi
call fcn.1400010e4
mov ecx, edi
call fcn.1401db608
int3