Function at 0x14000902c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
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 [0x1402e0ed0]
xor rax, rbp
mov qword [rbp + 0x160], rax
mov r13d, edx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp + 0x24], r13d
lea rdx, str.__DUMMY__
mov dword [rbp + 0x20], r15d
lea rcx, [0x14025b8f4]
mov dword [rbp + 0x10], r9d
mov r14, r8
mov qword [rbp + 0x48], r8
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
movsxd rsi, r13d
mov ebx, r15d
lea r12d, [r15 + 1]
test r13d, r13d
jle 0x1400090ed
mov rcx, qword [r14 + rbx*8]
lea rdx, str._recovery
call fcn.1401e1800
test eax, eax
jne 0x1400090ba
or dword [rdi + 0x298], 0x40
mov dword [rbp + 0x10], r15d
mov rcx, qword [r14 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401e1800
test eax, eax
jne 0x1400090e5
lea rcx, str._Not_using_Certificate_Store__n
mov dword [rbp + 0x10], r15d
call fcn.1400010e4
mov dword [rdi + 0xc70], r12d
add rbx, r12
cmp rbx, rsi
jl 0x14000909b
xor esi, esi
mov ebx, esi
test r13d, r13d
jle 0x14000918d
mov rsi, r14
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401e1800
test eax, eax
je 0x14000917d
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401e1800
test eax, eax
je 0x14000917d
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401e1800
test eax, eax
je 0x14000917d
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401e1800
test eax, eax
je 0x14000917d
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401e1800
test eax, eax
je 0x14000917d
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401e1800
test eax, eax
je 0x14000917d
add ebx, r12d
add rsi, 8
cmp ebx, r13d
jl 0x1400090fd
jmp 0x14000918b
xor r8d, r8d
xor ecx, ecx
call fcn.1400a6b60
mov qword [rdi + 0x48], rax
xor esi, esi
cmp qword [rdi + 0x48], rsi
jne 0x1400091b2
mov rcx, qword [rdi + 0x38]
lea rdx, [0x14025b99c]
call fcn.1400038f8
mov rcx, rax
xor r8d, r8d
call fcn.1400a6b60
mov qword [rdi + 0x48], rax
mov ebx, esi
mov r12d, esi
mov dword [rbp], ebx
mov r14d, esi
mov r15d, esi
test r13d, r13d
jle 0x1400093ed
mov rbx, qword [rbp + 0x48]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400091e2
mov edx, 0x1000
call fcn.1401d6600
mov rsi, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401e1800
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
mov eax, 1
cmove r15d, eax
mov dword [rbp + 0x18], r15d
call fcn.1401e1800
test eax, eax
je 0x140009226
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401e1800
test eax, eax
jne 0x140009231
mov r15d, 1
mov r14d, r15d
jmp 0x140009237
mov r15d, 1
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401e1800
test eax, eax
jne 0x140009274
and qword [rsp + 0x28], 0
lea r9, [0x14025ab38]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r15
lea r14d, [rax + 5]
call fcn.1400a5d98
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401e1800
test eax, eax
je 0x14000929a
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401e1800
test eax, eax
jne 0x1400092c6
and qword [rsp + 0x28], 0
lea r9, [0x14025ab38]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r15
lea r8d, [r14 + 9]
call fcn.1400a5d98
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401e1800
mov rcx, qword [rbx]
lea r8, [0x14025b7c4]
test eax, eax
movsxd rdx, esi
mov eax, 2
mov r9, r15
cmove r14d, eax
call fcn.1400a2e44
movsxd r15, eax
mov eax, 2
cmp r15d, eax
jle 0x1400093d2
mov rcx, qword [rbx]
lea rdx, [0x14025b9c4]
mov r8d, eax
call fcn.1401d4bd0
test eax, eax
jne 0x1400093d2
cmp r15d, 0xa
jne 0x140009386
mov rcx, qword [rbx]
lea r8d, [rax + 8]
add rcx, 2
lea rdx, str.readonly
call fcn.1401d4bd0
test eax, eax
jne 0x140009386
mov rcx, qword [rbx]
lea r8d, [r15 - 9]
add rcx, 0xb
lea rdx, [0x14025ab38]
call fcn.1401d4bd0
test eax, eax
jne 0x140009386
cmp qword [rdi + 0x48], 0
mov dword [rbp], 1
je 0x14000938d
mov rcx, qword [rdi + 0x38]
lea rdx, [0x14025b99c]
call fcn.1400038f8
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.1400a6c0c
cmp qword [rdi + 0x48], 0
jne 0x14000939b
xor r8d, r8d
xor ecx, ecx
call fcn.1400a6b60
mov qword [rdi + 0x48], rax
mov rdx, qword [rbx]
lea eax, [r15 - 2]
sub esi, r15d
movsxd r8, eax
dec esi
movsxd rcx, esi
xor esi, esi
lea r9, [rdx + 1]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
add r9, r15
mov rcx, qword [rdi + 0x48]
add rdx, 2
call fcn.1400a5d98
inc r12d
jmp 0x1400093d4
xor esi, esi
mov r15d, dword [rbp + 0x18]
add rbx, 8
sub r13, 1
jne 0x1400091cd
mov ebx, dword [rbp]
mov r13d, dword [rbp + 0x24]
sub r13d, r12d
mov dword [rbp + 0x24], r13d
cmp qword [rdi + 0x48], rsi
jne 0x140009408
xor r8d, r8d
xor ecx, ecx
call fcn.1400a6b60
mov qword [rdi + 0x48], rax
mov rax, qword [rdi + 0x48]
mov r12d, 0x400
cmp qword [rax], rsi
jne 0x140009449
mov edx, r12d
lea rcx, str.readmsh
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.readmsh
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rax
call fcn.1400a71f8
test eax, eax
je 0x1400094d2
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.1400038f8
mov rdx, rax
mov rcx, rdi
call fcn.1400087c0
test eax, eax
jne 0x1400094d2
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.1400038f8
mov rdx, rax
mov rcx, rdi
call fcn.1400087c0
test eax, eax
jne 0x1400094d2
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.1400087c0
test eax, eax
jne 0x1400094d2
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.1400087c0
test eax, eax
jne 0x1400094d2
xor edx, edx
mov rcx, rdi
call fcn.1400085b8
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.1400038f8
mov rdx, rax
mov rcx, rdi
call fcn.1400087c0
mov rdx, r12
lea r12, str.maxLogSize
mov rcx, r12
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], rsi
mov rdx, r12
call fcn.1400a71f8
test eax, eax
je 0x140009569
mov edx, 0x400
mov rcx, r12
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ec800]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, r12
call fcn.1400a71f8
movsxd rcx, eax
or r12, 0xffffffffffffffff
cmp rcx, 0x1000
jae 0x14000956d
mov r9, r12
mov qword [rbp], rsi
lea rdx, [0x1402ec800]
lea rcx, [rbp]
call fcn.14009ab00
mov rcx, qword [0x1402e1b48]
test eax, eax
cmove rcx, qword [rbp]
mov qword [0x1402e1b48], rcx
jmp 0x14000956d
or r12, 0xffffffffffffffff
cmp dword [rdi + 0xc70], esi
jne 0x1400095a7
mov edx, 0x400
lea rcx, str.nocertstore
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.nocertstore
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8, rax
call fcn.1400a71f8
mov dword [rdi + 0xc70], eax
test r15d, r15d
je 0x14000960c
mov rbx, qword [rdi]
call fcn.14008cce8
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x140008f30]
mov qword [rsp + 0x40], rax
mov r9, rbx
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rdx
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.14008d89c
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.14001ab08
mov eax, 1
jmp 0x14000b0e4
test r14d, r14d
je 0x140009795
mov rbx, qword [rdi]
call fcn.14008cce8
mov qword [rsp + 0x48], rbx
mov rcx, rax
xor r13d, r13d
lea rax, [0x140008f30]
mov qword [rsp + 0x40], rax
mov r9, rbx
mov rax, qword [rdi + 0x38]
xor r8d, r8d
mov qword [rsp + 0x38], r13
xor edx, edx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call fcn.14008d89c
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.14000389c
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.14001ab08
mov edx, r12d
mov rcx, rsi
call fcn.14001bf0c
cmp dword [rax], 4
jne 0x140009693
mov eax, dword [rax + 8]
jmp 0x140009696
mov eax, r13d
test eax, eax
je 0x14000b10d
sub r14d, 1
je 0x1400096d8
sub r14d, 1
je 0x1400096bd
cmp r14d, 3
je 0x1400096d8
mov rcx, rsi
call fcn.140067c50
jmp 0x1400097b2
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001ab08
lea r8, str.fullUninstall
jmp 0x1400096f1
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001ab08
lea r8, str.fullInstall
mov rcx, rsi
mov edx, r12d
call fcn.14001b24c
mov r8d, r12d
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001c32c
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.14001e42c
mov r8, rsi
lea rdx, [0x1400935d8]
mov rcx, rbx
call fcn.1400a612c
mov edx, r12d
mov rcx, rsi
call fcn.14001aa5c
mov ebx, 1
mov rcx, rsi
mov edx, ebx
call fcn.14001a004
test eax, eax
je 0x140009786
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001d1ac
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401e1800
test eax, eax
je 0x140009786
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001d1ac
mov rdx, rax
lea rcx, [0x14025baec]
call fcn.1400010e4
mov rcx, rsi
call fcn.14001edd0
mov eax, ebx
jmp 0x14000b0e4
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000b012
cmp qword [rax], rsi
jne 0x1400097af
test ebx, ebx
je 0x14000b012
xor r13d, r13d
mov rdx, qword [rdi]
call fcn.1400aa858
mov qword [rdi + 0x40], rax
mov ebx, 0x400
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140009823
lea rcx, [0x140008f64]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov edx, ebx
lea rcx, str.semaphoreTrack
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400a71f8
test eax, eax
je 0x140009823
lea rax, [0x140008fec]
mov dword [0x1402e7f18], r13d
mov qword [0x1402e8238], rax
lea rax, [rbp + 0x18]
mov dword [rbp], r13d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14025bb58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400098b2
mov rcx, qword [rbp + 0x18]
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rdx, str.ResetNodeId
xor r9d, r9d
mov qword [rsp + 0x20], r13
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400098a8
cmp dword [rbp], r13d
jbe 0x1400098a8
mov rcx, qword [rbp + 0x18]
lea rdx, str.ResetNodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x1400098a8
lea rcx, str.NodeID_will_reset__because_ResetNodeID_key_was_found_in_registry
call fcn.1400a3e24
mov dword [rbp + 0x20], 1
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14008cce8
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.14008d89c
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov r14, rax
call fcn.14001ab08
and qword [rdi + 0xdbc], 0
lea r15, str.meshServiceName
mov rcx, r15
mov dword [rdi + 0xdc4], r13d
mov rdx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400a71f8
movsxd rsi, eax
mov r12d, 0xffffffff
mov eax, 0xffffffe7
test esi, esi
je 0x1400099b2
lea ecx, [rsi + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x14000996b
cmp r12, rbx
je 0x14000996b
cmp rbx, rax
jae 0x14000996b
lea rcx, [rbx + 0x18]
call fcn.1401d6c94
jmp 0x14000996e
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14009a9c8
mov ebx, 0x400
mov qword [rdi + 0xdd8], rax
mov edx, ebx
mov rcx, r15
call fcn.1401d6600
mov r9, qword [rdi + 0xdd8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], rsi
call fcn.1400a71f8
jmp 0x1400099c0
lea rax, str.Mesh_Agent
mov qword [rdi + 0xdd8], rax
lea r15, str.displayName
mov rdx, rbx
mov rcx, r15
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400a71f8
movsxd rsi, eax
test eax, eax
je 0x140009a5a
lea ecx, [rsi + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x140009a15
cmp r12, rbx
je 0x140009a15
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x140009a15
lea rcx, [rbx + 0x18]
call fcn.1401d6c94
jmp 0x140009a18
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14009a9c8
mov edx, 0x400
mov qword [rdi + 0xde0], rax
mov rcx, r15
call fcn.1401d6600
mov r9, qword [rdi + 0xde0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], rsi
call fcn.1400a71f8
jmp 0x140009a68
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, r14
call fcn.14001e360
or edx, 0xffffffff
mov rcx, r14
call fcn.14001bf0c
mov rcx, r13
cmp dword [rax], 8
jne 0x140009a95
mov rcx, qword [rax + 8]
lea rax, [rcx + 0x20]
mov esi, 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, esi
mov rcx, r14
sbb rbx, rbx
and rbx, rax
call fcn.14001ab08
test eax, eax
jne 0x140009ad1
xor r9d, r9d
or edx, 0xffffffff
mov rcx, r14
call fcn.14001bdcc
mov dword [rdi + 0xdbc], eax
mov r9d, esi
mov rdx, rbx
mov rcx, r14
call fcn.14001ab08
test eax, eax
jne 0x140009b01
or edx, 0xffffffff
mov rcx, r14
call fcn.14001bf0c
cmp dword [rax], 4
jne 0x140009af8
mov eax, dword [rax + 8]
jmp 0x140009afb
mov eax, r13d
mov dword [rdi + 0xdc0], eax
mov r9d, esi
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, r14
call fcn.14001ab08
test eax, eax
jne 0x140009b35
or edx, 0xffffffff
mov rcx, r14
call fcn.14001bf0c
cmp dword [rax], 4
jne 0x140009b2c
mov eax, dword [rax + 8]
jmp 0x140009b2f
mov eax, r13d
mov dword [rdi + 0xdc4], eax
mov r15d, 0xfffffffe
cmp dword [rdi + 0xdc0], r13d
jne 0x140009c27
cmp dword [rdi + 0xde8], r13d
je 0x140009c27
mov r9d, esi
lea rdx, str.require_util_service_check___
mov rcx, r14
call fcn.14001ab08
test eax, eax
jne 0x140009c27
or edx, 0xffffffff
mov rcx, r14
call fcn.14001bf0c
mov ecx, dword [rax]
lea rax, [0x140261780]
test byte [rax + rcx*4], 6
jne 0x140009c27
lea r8, [rbp]
or edx, edx
mov rcx, r14
call fcn.14001d1ac
mov rdx, qword [rdi + 0xdd8]
lea rcx, str.Service_Name_Conflict:_Configured___s__but_is_actually___s_
mov r8, rax
mov rsi, rax
call fcn.1400a3e24
mov rcx, qword [rdi + 0xdd8]
call fcn.14009aab0
mov rbx, qword [rbp]
lea rdx, [rbx + 1]
cmp rdx, r12
jae 0x140009bea
cmp r15, rbx
je 0x140009bea
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x140009bea
lea rcx, [rbx + 0x19]
call fcn.1401d6c94
mov rcx, rax
jmp 0x140009bed
mov rcx, r13
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009a9c8
mov qword [rdi + 0xdd8], rax
mov r9, rbx
mov r8, rsi
mov rcx, rax
mov rdx, qword [rax - 0x18]
call section..text
mov eax, 1
mov esi, 0xe88
mov dword [rdi + 0xdc0], eax
mov ebx, 0x400
lea rcx, str.skipmaccheck
mov edx, ebx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.skipmaccheck
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400a71f8
test eax, eax
jne 0x140009e57
mov r9d, esi
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, r14
call fcn.14001ab08
test eax, eax
jne 0x140009e57
lea r8, [rbp + 0x18]
or edx, 0xffffffff
mov rcx, r14
call fcn.14001c6d4
mov rsi, qword [rbp + 0x18]
mov r15, rax
mov qword [rbp], rax
cmp rsi, 0x13
jb 0x140009e51
mov edx, ebx
lea rbx, str.LocalMacAddresses
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400a71f8
movsxd r13, eax
test eax, eax
jne 0x140009cf2
mov rcx, qword [rdi + 0x48]
xor r13d, r13d
movsxd rax, esi
mov r9, r15
mov qword [rsp + 0x28], r13
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 0x11]
call fcn.1400a6cfc
jmp 0x140009e51
xor ebx, ebx
test esi, esi
jle 0x140009e43
movsxd rcx, ebx
lea rdx, str._00:00:00:00:00:00_
add rcx, r15
mov r8d, reloc.WS2_32.dll_send
call fcn.1401d4bd0
test eax, eax
jne 0x140009d1f
add ebx, 0x13
cmp ebx, esi
jl 0x140009cfc
cmp ebx, esi
jge 0x140009e43
lea eax, [r13 + 1]
xor ebx, ebx
movsxd rdx, eax
mov eax, 0xffffffc7
cmp rdx, rax
jae 0x140009d67
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140009d51
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401cd3c0
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x140009d69
xor ecx, ecx
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14009a9c8
mov edx, 0x400
mov r12, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r12
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400a71f8
test r13d, r13d
jle 0x140009e01
movsxd r15, ebx
lea rdx, str._00:00:00:00:00:00_
add r15, r12
mov r8d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1401d4bd0
test eax, eax
je 0x140009df0
mov r8, r15
movsxd rdx, esi
mov r15, qword [rbp]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1400a2e44
test eax, eax
jns 0x140009dfc
jmp 0x140009df4
mov r15, qword [rbp]
add ebx, 0x13
cmp ebx, r13d
jl 0x140009db3
cmp ebx, r13d
jl 0x140009e48
mov r8, r12
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r15
call fcn.1400a3e24
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
xor r13d, r13d
movsxd rax, esi
mov qword [rsp + 0x28], r13
mov r9, r15
mov dword [rbp + 0x20], 1
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 0x11]
call fcn.1400a6cfc
jmp 0x140009e4b
xor r13d, r13d
jmp 0x140009e51
xor r13d, r13d
mov r12d, 0xffffffff
mov r15d, 0xfffffffe
mov rcx, r14
call fcn.140067c50
mov esi, 1
cmp dword [rbp + 0x20], esi
je 0x140009e75
mov rcx, rdi
call fcn.140003e10
test eax, eax
je 0x140009e8d
mov rcx, rdi
call fcn.140003a78
test eax, eax
je 0x140009e8d
lea rcx, str.Certificate_error_r_n
call fcn.1400010e4
mov rcx, rdi
call fcn.14000421c
test eax, eax
je 0x140009ea5
lea rcx, str.Certificate_validation_error_r_n
call fcn.1400010e4
mov rcx, qword [rdi + 0x38]
lea rdx, str..tag
mov qword [rbp], r13
call fcn.1400038f8
mov rcx, rax
lea rdx, [rbp]
mov r8d, 0x1000
call fcn.140098ba0
mov rbx, qword [rbp]
lea r14, [0x140259e24]
mov rcx, qword [rdi + 0x48]
mov r8d, 3
mov rdx, r14
test rbx, rbx
je 0x140009f06
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400a6cfc
mov rcx, rbx
call fcn.1401d5838
jmp 0x140009f0b
call fcn.1400a7848
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.1400a71f8
test eax, eax
jne 0x140009f99
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp], r13
call fcn.1400038f8
mov rcx, rax
lea rdx, [rbp]
mov r8d, 0x400
call fcn.140098ba0
mov rbx, qword [rbp]
test rbx, rbx
je 0x140009f99
mov rcx, qword [rdi + 0x48]
mov r8d, 8
lea rdx, str.WebProxy
test eax, eax
jle 0x140009f8c
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.1400a6cfc
jmp 0x140009f91
call fcn.1400a7848
mov rcx, rbx
call fcn.1401d5838
lea rbx, str.AgentCapabilities
mov dword [rbp], r13d
mov rcx, rbx
mov edx, 0x400
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400a71f8
cmp eax, 4
jne 0x14000a005
mov edx, 0x400
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [rbp]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.1400a71f8
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.14000118c
movsxd rbx, eax
lea rax, [rbx + 1]
cmp rax, r12
jae 0x14000a046
cmp r15, rbx
mov r15d, 0xffffffe7
je 0x14000a04c
cmp rax, r15
jae 0x14000a04c
lea rcx, [rbx + 0x19]
call fcn.1401d6c94
mov rcx, rax
jmp 0x14000a04f
mov r15d, 0xffffffe7
mov rcx, r13
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009a9c8
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]
add eax, esi
movsxd rsi, eax
lea rax, [rsi + rsi]
cmp rax, r12
jae 0x14000a0c3
cmp r12, rax
je 0x14000a0c3
cmp rax, r15
jae 0x14000a0c3
lea rcx, [rsi*2 + 0x18]
call fcn.1401d6c94
jmp 0x14000a0c5
xor eax, eax
mov rdx, rsi
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov rcx, rax
call fcn.14009a9c8
mov r12, rax
mov eax, 0x7fffffff
cmp rsi, rax
jae 0x14000a63e
cmp rbx, rax
ja 0x14000a63e
lea r9d, [rsi + 1]
mov r8, r12
mov edx, ebx
mov rcx, r13
call fcn.14009a2e0
mov ecx, dword [rdi + 0xdf8]
lea r8, [rbp + 8]
neg ecx
mov rdx, r12
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000a63e
and qword [rbp], 0
lea r15, [rdi + 0xd54]
test byte [rdi + 0x298], 0x40
lea esi, [rax + 0x30]
lea r8, [rbp]
mov rcx, r15
mov edx, esi
jne 0x14000a51b
call fcn.1400a1400
movsxd rdx, eax
test eax, eax
jle 0x14000a1bc
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000a1bc
lea r8d, [rsi - 0x2f]
mov rcx, rdx
test eax, eax
jle 0x14000a18d
mov rax, rbx
cmp byte [rax], 0x2b
jne 0x14000a17d
mov byte [rax], 0x40
jmp 0x14000a185
cmp byte [rax], 0x2f
jne 0x14000a185
mov byte [rax], 0x24
add rax, r8
sub rcx, r8
jne 0x14000a173
mov rcx, qword [rbp + 8]
mov r9d, r8d
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.1401d5838
and qword [rbp], 0
jmp 0x14000a1cd
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, [0x1402ec800]
call fcn.1400989b0
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x14000a1e7
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]
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400a71f8
lea rbx, [0x1402ed800]
test eax, eax
je 0x14000a2f3
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400a71f8
test eax, eax
jle 0x14000a2f3
lea r8, [rbp]
mov edx, eax
mov rcx, rbx
call fcn.1400a1400
test eax, eax
jle 0x14000a2f3
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000a2f3
movsxd rdx, eax
mov r8d, 1
test eax, eax
jle 0x14000a2c9
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000a2b9
mov byte [rcx], 0x40
jmp 0x14000a2c1
cmp byte [rcx], 0x2f
jne 0x14000a2c1
mov byte [rcx], 0x24
add rcx, r8
sub rdx, r8
jne 0x14000a2af
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
mov r9d, r8d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401d5838
jmp 0x14000a304
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp + 8]
lea rax, str.2022_Mar_25_11:19:00_0700
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.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ed800]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.MeshServer
call fcn.1400a71f8
test eax, eax
jne 0x14000a37f
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000a3b3
or rax, 0xffffffffffffffff
lea rcx, [0x1402ed800]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a38a
mov dword [rsp + 0x28], eax
lea rdx, str.MeshServerUrl
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp + 8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.ServerID
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ed800]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.ServerID
call fcn.1400a71f8
test eax, eax
jne 0x14000a3fe
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000a432
or rax, 0xffffffffffffffff
lea rcx, [0x1402ed800]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a409
mov dword [rsp + 0x28], eax
lea rdx, str.MeshServerId
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp + 8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.WebProxy
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ed800]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.WebProxy
call fcn.1400a71f8
test eax, eax
jne 0x14000a47d
mov rcx, qword [rbp + 8]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000a4b1
or rax, 0xffffffffffffffff
lea rcx, [0x1402ed800]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a488
mov dword [rsp + 0x28], eax
lea rdx, str.Proxy
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp + 8]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
mov rcx, r14
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ed800]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, r14
call fcn.1400a71f8
test eax, eax
jne 0x14000a4e9
mov rdx, r14
jmp 0x14000a588
or rax, 0xffffffffffffffff
lea rcx, [0x1402ed800]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000a4f4
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rbp + 8]
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000a592
call fcn.1400a1400
test eax, eax
jle 0x14000a581
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000a581
movsxd rdx, eax
mov r8d, 1
test eax, eax
jle 0x14000a557
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000a547
mov byte [rcx], 0x40
jmp 0x14000a54f
cmp byte [rcx], 0x2f
jne 0x14000a54f
mov byte [rcx], 0x24
add rcx, r8
sub rdx, r8
jne 0x14000a53d
mov rcx, qword [rbp + 8]
lea rdx, str.DiagnosticAgentNodeId
mov r9d, r8d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401d5838
jmp 0x14000a592
lea rdx, str.DiagnosticAgentNodeId
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov r14d, 0x400
lea rcx, str.SelfNodeCert
mov edx, r14d
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.1400a71f8
test eax, eax
jne 0x14000a632
lea rbx, str.NodeID
mov edx, r14d
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402ec800]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rbx
call fcn.1400a71f8
cmp eax, esi
jne 0x14000a612
mov r8, rsi
lea rdx, [0x1402ec800]
mov rcx, r15
call fcn.1401ce4d0
test eax, eax
je 0x14000a632
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.1400a6cfc
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000a644
mov r14d, 0x400
mov rcx, r13
call fcn.14009aab0
mov rcx, r12
call fcn.14009aab0
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xc98]
xor r12d, r12d
cmp qword [rdx], r12
jne 0x14000a66e
xor r8d, r8d
xor edx, edx
jmp 0x14000a675
mov r8, qword [rdi + 0xc80]
call fcn.1400ab670
mov r13d, 1
cmp dword [rbp + 0x10], r12d
je 0x14000a6ca
mov eax, dword [rbp + 0x24]
cmp eax, r13d
je 0x14000a6ca
lea ecx, [r13 + 1]
cmp eax, ecx
jne 0x14000b0e2
mov rbx, qword [rbp + 0x48]
lea rdx, [0x14025c050]
mov rcx, qword [rbx + 8]
call fcn.1401e1800
test eax, eax
je 0x14000a6ca
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401e1800
test eax, eax
jne 0x14000b0e2
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.1400038f8
mov rcx, rax
call fcn.140098cc4
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.1400038f8
lea rsi, [0x1402e9800]
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.1401dfcf8
lea rsi, str.CoreModule
test eax, eax
jne 0x14000a754
mov rdx, r14
mov rcx, rsi
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov rdx, rsi
call fcn.1400a7848
mov rcx, rbx
call fcn.140098cc4
cmp dword [rdi + 0x28c], r12d
jne 0x14000a784
mov rdx, r14
mov rcx, rsi
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.1400a71f8
mov r15d, eax
jmp 0x14000a787
mov r15d, r12d
lea rbx, str.jsDebugPort
mov rdx, r14
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400a71f8
test eax, eax
je 0x14000a819
mov rdx, r14
mov rcx, rbx
call fcn.1401d6600
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.1400a71f8
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x14000a819
cdqe
cmp rax, 0x10
jae 0x14000b121
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.14009ab68
cmp rax, 0x7fffffff
ja 0x14000a810
lea rcx, [rbp + 0x48]
call fcn.14009ab98
jmp 0x14000a813
mov eax, r12d
mov dword [rdi + 0xc00], eax
mov rdx, r14
mov dword [rdi + 0x290], r13d
lea rcx, str.showModuleNames
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1402e8090], eax
test rcx, rcx
je 0x14000a8c8
mov rdx, qword [rdi]
call fcn.140003020
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.14001b24c
mov rcx, qword [rdi + 0x10]
or r8d, 0xffffffff
mov edx, r14d
call fcn.14001c32c
mov rcx, qword [rdi + 0x10]
lea rdx, str.Ready
call fcn.14001df1c
mov rcx, qword [rdi + 0x10]
mov edx, r13d
call fcn.14001a004
test eax, eax
je 0x14000a8bf
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a8bf
lea rdx, [0x1402592a8]
call fcn.1400679a8
mov rcx, qword [rdi + 0x10]
call fcn.14001edd0
cmp dword [rdi + 0x28c], r12d
jne 0x14000ac00
call fcn.14008cce8
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.14008d89c
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.14000389c
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140008ce4]
mov r8, rdi
call fcn.14006785c
mov ebx, 0x400
lea rcx, str.coreDumpEnabled
mov edx, ebx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
mov dword [rdi + 0xc04], eax
test eax, eax
je 0x14000a984
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.14001ab08
mov rdx, rbx
lea rcx, str.finalizer_messages
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rsi, [0x1402ec800]
mov r9, rsi
mov qword [rsp + 0x20], 0x1000
mov r8, rax
lea rdx, str.finalizer_messages
call fcn.1400a71f8
test eax, eax
je 0x14000a9cb
mov rcx, rsi
call fcn.1401d65d4
mov dword [0x1402e8094], eax
cmp r15d, 4
jle 0x14000ac00
mov rdx, rbx
lea rcx, str.noUpdateCoreModule
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
test eax, eax
je 0x14000aaa5
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.14009acac
mov edx, 0x400
lea rcx, str.CoreModule
mov rsi, rax
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400a71f8
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.14008e07c
test eax, eax
jne 0x14000aa8f
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.140019f60
test eax, eax
je 0x14000aa98
mov rcx, qword [rdi + 0x10]
call fcn.14001edd0
mov rcx, rsi
call fcn.1401d5838
jmp 0x14000ac00
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.14001e14c
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001b24c
or r8d, 0xffffffff
mov edx, r14d
mov rcx, rbx
call fcn.14001c32c
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x14006809c]
mov rcx, rbx
call fcn.14001e6b4
mov edx, 0xea60
mov rcx, rbx
call fcn.14001dd8c
lea rdx, [0x140008de4]
mov rcx, rbx
call fcn.14001e030
mov rcx, rbx
call fcn.14001e42c
mov rsi, r12
mov r15, qword [rbp + rsi*8 + 0x48]
test r15, r15
je 0x14000ab7e
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001b24c
mov edx, r14d
mov rcx, rbx
call fcn.14001c374
mov rdx, r15
mov rcx, rbx
call fcn.14001e030
mov edx, r13d
mov rcx, rbx
call fcn.14001a004
test eax, eax
je 0x14000ab6e
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.1400679a8
mov rcx, rbx
call fcn.14001edd0
add rsi, r13
cmp rsi, r13
jl 0x14000ab1e
mov edx, 4
mov rcx, rbx
call fcn.14001a004
mov rcx, rbx
test eax, eax
je 0x14000abab
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.1400679a8
mov rcx, rbx
call fcn.14001edd0
mov rax, r12
jmp 0x14000abbc
or edx, 0xffffffff
call fcn.14001bf0c
test byte [rax], 8
je 0x14000aba6
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0xbf8], rax
call fcn.14001e1cc
mov rdx, qword [rdi + 0xbf8]
mov rcx, qword [rdi + 0x10]
call fcn.14001eb5c
mov rcx, qword [rdi + 0xbf8]
call fcn.140066fa4
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001b4b0
mov rcx, qword [rdi + 0x10]
call fcn.14001edd0
mov r15d, 0x400
lea rbx, str.exitPID
mov edx, r15d
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400a71f8
lea rsi, str...meshcore_agentcore.c
test eax, eax
jle 0x14000acb4
mov edx, r15d
mov rcx, rbx
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r14, [0x1402ec800]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400a71f8
mov rcx, r14
call fcn.14009ab98
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000acb4
mov edx, 0x14ce
mov rcx, rsi
call fcn.14009d710
mov rcx, qword [rdi]
lea r9, [0x140008f4c]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.14009e224
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
test eax, eax
jle 0x14000acfd
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000acfd
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.14001ab08
mov rdx, r15
lea rcx, str.selfTest
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.selfTest
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
test eax, eax
jne 0x14000ad3d
mov rcx, qword [rdi]
lea rdx, [0x140008cf0]
mov r8, rdi
call fcn.1400995a4
cmp dword [rdi + 0xc0c], r12d
jne 0x14000ad53
mov rcx, rdi
call fcn.14000802c
jmp 0x14000ae25
mov rdx, r15
lea rcx, str.CoreModule
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400a71f8
movsxd r14, eax
cmp r14d, 4
jle 0x14000ae0f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.14009acac
mov edx, 0x400
lea rcx, str.CoreModule
mov r15, rax
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, r15
mov qword [rsp + 0x20], r14
mov r8, rax
call fcn.1400a71f8
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.14008e07c
test eax, eax
jne 0x14000adf8
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.140019f60
mov rcx, qword [rdi + 0x10]
call fcn.14001edd0
mov rcx, r15
call fcn.1401d5838
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.14001ab08
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea r14, [0x1402ec800]
mov ebx, 0x1000
lea rdx, str.MeshServer
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400a71f8
cmp eax, 5
jle 0x14000afd3
mov eax, dword [0x1402ec800]
cmp eax, dword [str.local]
jne 0x14000afd3
mov al, byte [0x1402ec804]
cmp al, byte [0x14025b1f8]
jne 0x14000afd3
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401d6600
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400a71f8
mov ebx, eax
cmp eax, r13d
jle 0x14000af0f
lea rcx, [rbp + 0x60]
call fcn.1400c2090
lea eax, [rbx - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400c2120
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400c2070
mov ecx, 0x20
call fcn.1401d6c94
mov qword [rdi + 0xda0], rax
test rax, rax
je 0x14000b127
movups xmm0, xmmword [0x1402ec800]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402ec810]
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.1400a36a4
mov r14d, 0x425d
test eax, eax
je 0x14000af5f
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.1400a38e8
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.1400a38e8
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.140099e30
mov qword [rdi + 0xd90], rax
test rax, rax
jne 0x14000afdb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1517
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rsi
xor ecx, ecx
call fcn.1400a3d30
mov eax, r13d
jmp 0x14000b0e4
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.140099e30
mov qword [rdi + 0xd98], rax
test rax, rax
jne 0x14000afd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x151b
jmp 0x14000afbf
mov ecx, gethostname
call fcn.1401d6c94
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14009a9c8
mov rbx, rax
movsxd rcx, r13d
mov qword [rax + 8], rcx
movsxd rcx, dword [rbp + 0x10]
mov qword [rax], rdi
mov rax, qword [rbp + 0x48]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14000b05d
call fcn.1400a6c98
mov qword [rdi + 0x48], rsi
mov edx, dword [rdi + 0xdb8]
cmp edx, 0xa
je 0x14000b0d6
inc edx
lea rcx, str.Unable_to_open_database___d_10_..._r_n
call fcn.1400010e4
mov rcx, qword [rdi]
mov r14d, 1
add dword [rdi + 0xdb8], r14d
test rcx, rcx
jne 0x14000b090
mov rcx, rsi
jmp 0x14000b097
mov rcx, qword [rcx + 0x918]
mov qword [rsp + 0x38], rsi
lea rax, [0x140006f80]
mov dword [rsp + 0x30], 0x12dd
lea rsi, str...meshcore_agentcore.c
mov qword [rsp + 0x28], rsi
lea r9, [0x140008d9c]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.1400a170c
mov eax, r14d
jmp 0x14000b0e4
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.1401cce50
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.1401cf548
int3
call fcn.1401ccf7c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
mov ebx, 0x14ff
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.1400a3d30
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rsi
call fcn.1400010e4
mov ecx, edi
call fcn.1401cf548
int3