Function at 0x14000a920
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 [0x14030ef00]
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, [0x140274ca4]
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 0x14000a9e1
mov ebx, r14d
mov rcx, qword [r12 + rbx*8]
lea rdx, str._recovery
call fcn.1401f8a70
test eax, eax
jne 0x14000a9ae
or dword [rdi + 0x298], 0x40
mov dword [rbp + 0x18], r14d
mov rcx, qword [r12 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401f8a70
test eax, eax
jne 0x14000a9d9
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 0x14000a98f
mov ebx, r14d
test r15d, r15d
jle 0x14000aa7e
mov rsi, r12
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401f8a70
test eax, eax
je 0x14000aa70
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x14000a9f0
jmp 0x14000aa7e
xor r8d, r8d
xor ecx, ecx
call fcn.1400aeec8
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r14
jne 0x14000aaa3
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140274d4c]
call fcn.140003e94
mov rcx, rax
xor r8d, r8d
call fcn.1400aeec8
mov qword [rdi + 0x48], rax
xor ebx, ebx
xor esi, esi
mov dword [rbp + 0x10], ebx
mov r13d, r14d
test r15d, r15d
jle 0x14000acdb
mov rbx, r12
mov qword [rbp + 8], r15
lea r12d, [rsi + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000aace
xor r15d, r15d
jmp 0x14000aadb
mov edx, 0x1000
call fcn.1401ecbac
mov r15, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401f8a70
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove esi, r12d
mov dword [rbp + 0x24], esi
call fcn.1401f8a70
test eax, eax
je 0x14000ab19
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401f8a70
test eax, eax
jne 0x14000ab1c
mov r14d, r12d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401f8a70
test eax, eax
jne 0x14000ab59
and qword [rsp + 0x28], 0
lea r9, [0x140273a58]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r12
lea r14d, [rax + 5]
call fcn.1400adfc0
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401f8a70
test eax, eax
je 0x14000ab7f
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401f8a70
test eax, eax
jne 0x14000abaf
and qword [rsp + 0x28], 0
lea r9, [0x140273a58]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov esi, 2
mov qword [rsp + 0x20], r12
mov r14d, esi
lea r8d, [rsi + 9]
call fcn.1400adfc0
jmp 0x14000abb4
mov esi, 2
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401f8a70
mov rcx, qword [rbx]
lea r8, [0x140274af4]
test eax, eax
movsxd rdx, r15d
mov r9, r12
cmove r14d, esi
call fcn.1400a91d4
movsxd rsi, eax
mov ecx, 2
cmp esi, ecx
jle 0x14000acbf
mov r8d, ecx
lea rdx, [0x140274d74]
mov rcx, qword [rbx]
call fcn.1401eaee0
test eax, eax
jne 0x14000acbf
lea r12d, [rsi - 2]
cmp r12d, 8
jne 0x14000ac74
mov rcx, qword [rbx]
lea rdx, str.readonly
add rcx, 2
mov r8d, r12d
call fcn.1401eaee0
test eax, eax
jne 0x14000ac74
mov rcx, qword [rbx]
lea r8d, [r12 - 7]
inc rcx
lea rdx, [0x140273a58]
add rcx, rsi
call fcn.1401eaee0
test eax, eax
jne 0x14000ac74
cmp qword [rdi + 0x48], 0
mov dword [rbp + 0x10], 1
je 0x14000ac74
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140274d4c]
call fcn.140003e94
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.1400aef74
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x14000ac8c
xor r8d, r8d
call fcn.1400aeec8
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.1400adfc0
mov r12d, 1
add r13d, r12d
mov esi, dword [rbp + 0x24]
add rbx, 8
sub qword [rbp + 8], r12
jne 0x14000aac1
mov ebx, dword [rbp + 0x10]
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 0x14000acfc
xor r8d, r8d
xor ecx, ecx
call fcn.1400aeec8
mov qword [rdi + 0x48], rax
cmp qword [rax], r13
jne 0x14000ad35
mov edx, 0x400
lea rcx, str.readmsh
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.readmsh
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af5cc
test eax, eax
je 0x14000adbe
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.140003e94
mov rdx, rax
mov rcx, rdi
call fcn.140009fac
test eax, eax
jne 0x14000adbe
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003e94
mov rdx, rax
mov rcx, rdi
call fcn.140009fac
test eax, eax
jne 0x14000adbe
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140009fac
test eax, eax
jne 0x14000adbe
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140009fac
test eax, eax
jne 0x14000adbe
xor edx, edx
mov rcx, rdi
call fcn.140009da8
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003e94
mov rdx, rax
mov rcx, rdi
call fcn.140009fac
mov edx, 0x400
lea rcx, str.maxLogSize
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.maxLogSize
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af5cc
test eax, eax
je 0x14000ae50
mov edx, 0x400
lea rcx, str.maxLogSize
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r9, [0x14031c520]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
lea rdx, str.maxLogSize
call fcn.1400af5cc
cmp eax, 0x1000
jae 0x14000ae50
or r9, 0xffffffffffffffff
mov qword [rbp + 8], r13
lea rdx, [0x14031c520]
lea rcx, [rbp + 8]
call fcn.14009fc5c
test eax, eax
jne 0x14000ae50
mov rax, qword [rbp + 8]
mov qword [0x14030fc70], rax
cmp dword [rdi + 0xc70], r13d
jne 0x14000ae8b
mov edx, 0x400
lea rcx, str.nocertstore
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.nocertstore
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af5cc
mov dword [rdi + 0xc70], eax
test esi, esi
je 0x14000aeef
mov rbx, qword [rdi]
call fcn.140091514
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x14000a820]
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.140092090
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.14001cc0c
mov eax, 1
jmp 0x14000ceac
test r14d, r14d
je 0x14000b073
mov rbx, qword [rdi]
call fcn.140091514
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x14000a820]
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.140092090
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.140003e38
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.14001cc0c
or r15, 0xffffffffffffffff
mov rcx, rsi
mov edx, r15d
call fcn.14001e0ac
cmp dword [rax], 4
jne 0x14000ced5
cmp dword [rax + 8], r13d
je 0x14000ced5
sub r14d, 1
je 0x14000afba
sub r14d, 1
je 0x14000af9f
cmp r14d, 3
je 0x14000afba
mov rcx, rsi
call fcn.140069dac
jmp 0x14000b08d
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001cc0c
lea r8, str.fullUninstall
jmp 0x14000afd3
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.14001cc0c
lea r8, str.fullInstall
mov edx, r15d
mov rcx, rsi
call fcn.14001d374
mov r8d, r15d
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001e49c
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.140020574
mov r8, rsi
lea rdx, [0x1400981c0]
mov rcx, rbx
call fcn.1400ae3dc
mov edx, r15d
mov rcx, rsi
call fcn.14001cb60
mov edx, 1
mov rcx, rsi
call fcn.14001c0ac
test eax, eax
je 0x14000b066
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001f35c
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401f8a70
test eax, eax
je 0x14000b066
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14001f35c
mov rdx, rax
lea rcx, [0x140274e9c]
call fcn.14000105c
mov rcx, rsi
call fcn.140020ee4
jmp 0x14000aee5
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000cde5
cmp qword [rax], r13
jne 0x14000b08d
test ebx, ebx
je 0x14000cde5
mov rdx, qword [rdi]
call fcn.1400b2ea8
mov qword [rdi + 0x40], rax
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000b174
lea rcx, [0x14000a854]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov esi, 0x400
lea rcx, str.enableILibRemoteLogging
mov edx, esi
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031c520]
mov ebx, 0x1000
lea rdx, str.enableILibRemoteLogging
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af5cc
test eax, eax
je 0x14000b131
cdqe
cmp rax, rbx
jae 0x14000cee9
mov byte [rax + r14], r13b
lea rdx, str..wlg
mov rcx, qword [rdi + 0x38]
call fcn.140003e94
mov rcx, r14
mov rbx, rax
call fcn.14009fd20
mov rcx, qword [rdi]
movzx edx, ax
mov r8, rbx
call fcn.1400a0244
mov rdx, rsi
lea rcx, str.semaphoreTrack
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af5cc
test eax, eax
je 0x14000b174
lea rax, [0x14000a8e0]
mov dword [0x14031737c], r13d
mov qword [0x140317f58], rax
mov rax, qword [rdi]
test rax, rax
je 0x14000b182
mov rcx, qword [rax + 8]
jmp 0x14000b185
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.1400acf60
call fcn.140091514
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.140092090
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov rbx, rax
call fcn.14001cc0c
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.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400af5cc
movsxd r14, eax
mov edx, 0xffffffe7
mov eax, 0xffffffff
test r14d, r14d
je 0x14000b2a2
lea ecx, [r14 + 1]
movsxd rsi, ecx
cmp rsi, rax
jae 0x14000b25f
cmp rsi, rdx
jae 0x14000b25f
lea rcx, [rsi + 0x18]
call fcn.1401ed1fc
jmp 0x14000b262
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009fb24
mov rdx, r12
mov qword [rdi + 0xdd8], rax
mov rcx, r15
call fcn.1401ecbac
mov r9, qword [rdi + 0xdd8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.1400af5cc
jmp 0x14000b2b0
lea rax, str.Mesh_Agent
mov qword [rdi + 0xdd8], rax
lea r15, str.displayName
mov rdx, r12
mov rcx, r15
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.1400af5cc
movsxd r14, eax
test eax, eax
je 0x14000b349
lea ecx, [r14 + 1]
mov eax, 0xffffffff
movsxd rsi, ecx
cmp rsi, rax
jae 0x14000b306
mov eax, 0xffffffe7
cmp rsi, rax
jae 0x14000b306
lea rcx, [rsi + 0x18]
call fcn.1401ed1fc
jmp 0x14000b309
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rax
call fcn.14009fb24
mov rdx, r12
mov qword [rdi + 0xde0], rax
mov rcx, r15
call fcn.1401ecbac
mov r9, qword [rdi + 0xde0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.1400af5cc
jmp 0x14000b357
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.1400204b4
or r15, 0xffffffffffffffff
mov rcx, rbx
mov edx, r15d
call fcn.14001e0ac
mov rcx, r13
cmp dword [rax], 8
jne 0x14000b388
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.14001cc0c
test eax, eax
jne 0x14000b3c5
xor r9d, r9d
mov edx, r15d
mov rcx, rbx
call fcn.14001df94
mov dword [rdi + 0xdbc], eax
mov r9d, r14d
mov rdx, rsi
mov rcx, rbx
call fcn.14001cc0c
test eax, eax
jne 0x14000b3f5
mov edx, r15d
mov rcx, rbx
call fcn.14001e0ac
cmp dword [rax], 4
jne 0x14000b3ec
mov eax, dword [rax + 8]
jmp 0x14000b3ef
mov eax, r13d
mov dword [rdi + 0xdc0], eax
mov r9d, r14d
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, rbx
call fcn.14001cc0c
test eax, eax
jne 0x14000b429
mov edx, r15d
mov rcx, rbx
call fcn.14001e0ac
cmp dword [rax], 4
jne 0x14000b420
mov eax, dword [rax + 8]
jmp 0x14000b423
mov eax, r13d
mov dword [rdi + 0xdc4], eax
mov r12d, 0xfffffffe
cmp dword [rdi + 0xdc0], r13d
jne 0x14000b56c
cmp dword [rdi + 0xde8], r13d
je 0x14000b56c
mov r9d, r14d
lea rdx, str.require_util_service_check___
mov rcx, rbx
call fcn.14001cc0c
test eax, eax
jne 0x14000b56c
mov edx, r15d
mov rcx, rbx
call fcn.14001e0ac
mov ecx, dword [rax]
lea rax, [0x14027b030]
test byte [rax + rcx*4], 6
jne 0x14000b56c
lea r8, [rbp + 8]
mov rcx, rbx
call fcn.14001f35c
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.1400aa468
mov rcx, qword [rdi + 0xdd8]
call fcn.14009fc04
mov rsi, qword [rbp + 8]
mov ecx, 0xffffffff
lea rax, [rsi + 1]
cmp rax, rcx
jae 0x14000b4e1
cmp r12, rsi
je 0x14000b4e1
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14000b4e1
lea rcx, [rsi + 0x19]
call fcn.1401ed1fc
mov rcx, rax
jmp 0x14000b4e4
mov rcx, r13
lea eax, [rsi + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009fb24
mov qword [rdi + 0xdd8], rax
mov r14, qword [rax - 0x18]
test rsi, rsi
je 0x14000b558
test rax, rax
jne 0x14000b517
call fcn.1401ebba4
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x14000b553
test r15, r15
je 0x14000b531
cmp r14, rsi
jb 0x14000b531
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.140210d80
jmp 0x14000b558
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140211420
test r15, r15
je 0x14000b50a
cmp r14, rsi
jae 0x14000b558
call fcn.1401ebba4
mov dword [rax], 0x22
call fcn.1401eac1c
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.1400204b4
xor edx, edx
mov r9d, 0x889
mov rcx, rbx
call fcn.14001cc0c
mov edx, r15d
mov rcx, rbx
test eax, eax
jne 0x14000b5ce
call fcn.14001e0ac
cmp dword [rax], 4
jne 0x14000b5e5
mov rcx, rbx
call fcn.14001e0ac
cmp dword [rax], 4
jne 0x14000b5e5
cmp dword [rax + 8], r13d
je 0x14000b5e5
lea rcx, str.NodeID_will_reset__because_ResetNodeId_was_set_in_the_registry
mov dword [rbp + 0x1c], 1
call fcn.1400aa468
jmp 0x14000b5e5
xor r8d, r8d
call fcn.14001f35c
mov rdx, rax
lea rcx, str.Error_checking_ResetNodeId_in_registry:__s
call fcn.1400aa468
mov esi, 0x400
lea rcx, str.skipmaccheck
mov edx, esi
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.skipmaccheck
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000b7f3
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.14001cc0c
test eax, eax
jne 0x14000b7f3
lea r8, [rbp + 0x10]
mov edx, r15d
mov rcx, rbx
call fcn.14001e834
mov r14, qword [rbp + 0x10]
mov r15, rax
mov qword [rbp + 8], rax
cmp r14, 0x13
jb 0x14000b7f3
mov edx, esi
lea rsi, str.LocalMacAddresses
mov rcx, rsi
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rsi
call fcn.1400af5cc
movsxd r12, eax
test eax, eax
jne 0x14000b6af
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.1400af064
jmp 0x14000b7ed
mov esi, r13d
test r14d, r14d
jle 0x14000b7ed
movsxd rcx, esi
lea rdx, str._00:00:00:00:00:00_
add rcx, r15
mov r8d, reloc.WS2_32.dll_send
call fcn.1401eaee0
test eax, eax
jne 0x14000b6df
add esi, 0x13
cmp esi, r14d
jl 0x14000b6bb
cmp esi, r14d
jge 0x14000b7ed
lea rdx, [r12 + 1]
mov eax, 0xffffffc7
mov esi, r13d
cmp rdx, rax
jae 0x14000b727
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000b711
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401dc320
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x14000b72a
mov rcx, r13
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14009fb24
mov edx, 0x400
mov r13, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r13
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
test r12d, r12d
jle 0x14000b7c2
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.1401eaee0
test eax, eax
je 0x14000b7b1
mov r8, r15
movsxd rdx, r14d
mov r15, qword [rbp + 8]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1400a91d4
test eax, eax
jns 0x14000b7bd
jmp 0x14000b7b5
mov r15, qword [rbp + 8]
add esi, 0x13
cmp esi, r12d
jl 0x14000b774
cmp esi, r12d
jl 0x14000b7ea
mov r8, r13
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r15
call fcn.1400aa468
xor r13d, r13d
mov dword [rbp + 0x1c], 1
lea rdx, str.LocalMacAddresses
jmp 0x14000b68b
xor r13d, r13d
mov r12d, 0xfffffffe
mov rcx, rbx
call fcn.140069dac
cmp dword [rbp + 0x1c], 1
je 0x14000b80d
mov rcx, rdi
call fcn.140004468
test eax, eax
je 0x14000b825
mov rcx, rdi
call fcn.140004014
test eax, eax
je 0x14000b825
lea rcx, str.Certificate_error_r_n
call fcn.14000105c
mov rcx, rdi
call fcn.1400048e4
test eax, eax
je 0x14000b83d
lea rcx, str.Certificate_validation_error_r_n
call fcn.14000105c
mov rcx, qword [rdi + 0x38]
lea rdx, str..tag
mov qword [rbp + 8], r13
call fcn.140003e94
mov rcx, rax
lea rdx, [rbp + 8]
mov r8d, 0x1000
call fcn.14009dcd4
mov rsi, qword [rbp + 8]
lea r15, [0x140272c84]
mov rbx, qword [rdi + 0x48]
test rsi, rsi
je 0x14000b89c
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.1400af064
jmp 0x14000b9ce
test rbx, rbx
je 0x14000b9d6
mov rcx, qword [rbx + 0x1010]
mov r14d, 3
mov r9d, r14d
mov r8, r15
xor edx, edx
call fcn.1400a8c04
mov rsi, rax
test rax, rax
jne 0x14000b996
lea ecx, [rax + 0x1f]
call fcn.1401ed1fc
mov rcx, rax
lea edx, [rsi + 7]
xor r9d, r9d
xor r8d, r8d
call fcn.14009fb24
mov rsi, rax
mov r8, qword [rax - 0x18]
cmp r8, r14
jb 0x14000b904
mov eax, dword [0x140272c84]
mov word [rsi], ax
mov al, byte [0x140272c86]
mov byte [rsi + 2], al
jmp 0x14000b91e
xor edx, edx
mov rcx, rsi
call fcn.140211420
call fcn.1401ebba4
mov dword [rax], 0x22
call fcn.1401eac1c
mov r8d, r14d
mov rdx, r15
xor ecx, ecx
call fcn.1400c2fc8
mov dword [rsi + 3], eax
mov r8, rsi
mov r9d, dword [rsi - 0x18]
xor edx, edx
mov rcx, qword [rbx + 0x1010]
call fcn.1400a8c04
mov r14, rax
test rax, rax
je 0x14000b98c
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.1400ae450
test rax, rax
jne 0x14000b984
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000b984
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, r14
call fcn.1401ebcd0
mov rcx, rsi
call fcn.14009fc04
jmp 0x14000b9d6
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.1400ae450
test rax, rax
jne 0x14000b9ce
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000b9ce
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, rsi
call fcn.1401ebcd0
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.1400af5cc
lea r14, str.WebProxy
test eax, eax
jne 0x14000bba7
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp + 8], r13
call fcn.140003e94
mov rcx, rax
lea rdx, [rbp + 8]
mov r8d, 0x400
call fcn.14009dcd4
mov r15, qword [rbp + 8]
test r15, r15
je 0x14000bba7
mov rbx, qword [rdi + 0x48]
test eax, eax
jle 0x14000ba68
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.1400af064
jmp 0x14000bb9f
test rbx, rbx
je 0x14000bb9f
mov rcx, qword [rbx + 0x1010]
mov r9d, 8
mov r8, r14
xor edx, edx
call fcn.1400a8c04
mov rsi, rax
test rax, rax
jne 0x14000bb5e
lea ecx, [rax + 0x24]
call fcn.1401ed1fc
mov rcx, rax
lea edx, [rsi + 0xc]
xor r9d, r9d
xor r8d, r8d
call fcn.14009fb24
mov rsi, rax
mov r8, qword [rax - 0x18]
cmp r8, 8
jb 0x14000bac9
movabs rax, 0x79786f7250626557
mov qword [rsi], rax
jmp 0x14000bae3
xor edx, edx
mov rcx, rsi
call fcn.140211420
call fcn.1401ebba4
mov dword [rax], 0x22
call fcn.1401eac1c
mov r8d, 8
mov rdx, r14
xor ecx, ecx
call fcn.1400c2fc8
mov dword [rsi + 8], eax
mov r8, rsi
mov r9d, dword [rsi - 0x18]
xor edx, edx
mov rcx, qword [rbx + 0x1010]
call fcn.1400a8c04
mov r14, rax
test rax, rax
je 0x14000bb54
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.1400ae450
test rax, rax
jne 0x14000bb4c
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000bb4c
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, r14
call fcn.1401ebcd0
mov rcx, rsi
call fcn.14009fc04
jmp 0x14000bb9f
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.1400ae450
test rax, rax
jne 0x14000bb97
mov rax, qword [rbx + 0x1058]
test rax, rax
je 0x14000bb97
mov rdx, qword [rbx + 0x1060]
mov rcx, rbx
call rax
mov rcx, rsi
call fcn.1401ebcd0
mov rcx, r15
call fcn.1401ebcd0
mov esi, 0x400
mov dword [rbp + 0x10], r13d
lea rbx, str.AgentCapabilities
mov edx, esi
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.1400af5cc
cmp eax, 4
jne 0x14000bc12
mov edx, esi
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 0x10]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.1400af5cc
mov ecx, dword [rbp + 0x10]
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
lea rcx, [r15 + 1]
cmp rcx, rax
jae 0x14000bc58
cmp r12, r15
mov r12d, 0xffffffe7
je 0x14000bc5e
cmp rcx, r12
jae 0x14000bc5e
lea rcx, [r15 + 0x19]
call fcn.1401ed1fc
mov rcx, rax
jmp 0x14000bc61
mov r12d, 0xffffffe7
mov rcx, r13
lea eax, [r15 + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009fb24
mov r9, qword [rdi + 0xdd8]
lea r8, str.SoftwareOpen_Source_s
mov rcx, rax
mov r13, rax
mov rdx, qword [rax - 0x18]
call fcn.140001168
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]
lea r14d, [rax + 1]
movsxd rax, r14d
lea rbx, [rax + rax]
mov eax, 0xffffffff
cmp rax, rbx
jbe 0x14000bcd4
cmp rbx, r12
jae 0x14000bcd4
lea rcx, [rbx + 0x18]
call fcn.1401ed1fc
jmp 0x14000bcd6
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14009fb24
mov ecx, 0x7fffffff
mov r12, rax
lea rax, [0x140319520]
cmp r14d, ecx
jae 0x14000c242
cmp r15, rcx
ja 0x14000c242
lea ecx, [r14 + 1]
mov rdx, r12
xor r14d, r14d
test r12, r12
jne 0x14000bd1f
mov rdx, rax
mov ecx, 0x1000
mov dword [rsp + 0x28], ecx
mov r9d, r15d
mov qword [rsp + 0x20], rdx
mov r8, r13
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [rdi + 0xdfc]
lea r8, [rbp]
neg eax
mov rdx, r12
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000c242
test byte [rdi + 0x298], 0x40
lea esi, [rax + 0x30]
mov edx, esi
mov qword [rbp + 0x10], r14
lea rcx, [rdi + 0xd54]
lea r8, [rbp + 0x10]
jne 0x14000c121
call fcn.1400a765c
test eax, eax
jle 0x14000bdeb
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14000bdeb
movsxd rdx, eax
test eax, eax
jle 0x14000bdba
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000bda9
mov byte [rcx], 0x40
jmp 0x14000bdb1
cmp byte [rcx], 0x2f
jne 0x14000bdb1
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000bd9f
mov rcx, qword [rbp]
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.1401ebcd0
mov qword [rbp + 0x10], r14
jmp 0x14000bdfc
mov rcx, qword [rbp]
lea rdx, str.NodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rcx, [rdi + 0xc10]
mov rdx, rsi
lea r8, [0x14031c520]
call fcn.14009dad0
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r14b
jne 0x14000be16
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]
lea rbx, str.MeshID
mov edx, 0x400
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r14
mov rdx, rbx
call fcn.1400af5cc
lea r15, [0x14031d520]
test eax, eax
je 0x14000bf15
mov edx, 0x400
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
mov r9, r15
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, rbx
call fcn.1400af5cc
test eax, eax
jle 0x14000bf15
lea r8, [rbp + 0x10]
mov edx, eax
mov rcx, r15
call fcn.1400a765c
test eax, eax
jle 0x14000bf15
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14000bf15
movsxd rdx, eax
test eax, eax
jle 0x14000bee8
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000bed7
mov byte [rcx], 0x40
jmp 0x14000bedf
cmp byte [rcx], 0x2f
jne 0x14000bedf
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000becd
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.1401ebcd0
jmp 0x14000bf26
mov rcx, qword [rbp]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rcx, qword [rbp]
lea rax, [0x140273e88]
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.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshServer
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000bf9d
mov rcx, qword [rbp]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000bfca
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r14b
jne 0x14000bfa1
mov rcx, qword [rbp]
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.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.ServerID
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000c011
mov rcx, qword [rbp]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000c03e
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r14b
jne 0x14000c015
mov rcx, qword [rbp]
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.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.WebProxy
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000c085
mov rcx, qword [rbp]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000c0b2
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r14b
jne 0x14000c089
mov rcx, qword [rbp]
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, [0x140272c84]
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, [0x140272c84]
mov r9, r15
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000c0f2
lea rdx, [0x140272c84]
jmp 0x14000c18c
or rax, 0xffffffffffffffff
inc rax
cmp byte [r15 + rax], r14b
jne 0x14000c0f6
mov rcx, qword [rbp]
lea rdx, [0x140272c84]
mov dword [rsp + 0x28], eax
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x14000c196
call fcn.1400a765c
test eax, eax
jle 0x14000c185
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x14000c185
movsxd rdx, eax
test eax, eax
jle 0x14000c158
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000c147
mov byte [rcx], 0x40
jmp 0x14000c14f
cmp byte [rcx], 0x2f
jne 0x14000c14f
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x14000c13d
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.1401ebcd0
jmp 0x14000c196
lea rdx, str.DiagnosticAgentNodeId
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 0x400
lea rcx, str.SelfNodeCert
mov edx, ebx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000c238
mov edx, ebx
lea rbx, str.NodeID
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r15, [0x14031c520]
mov r9, r15
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400af5cc
cmp eax, esi
jne 0x14000c215
lea rcx, [rdi + 0xd54]
mov r8, rsi
mov rdx, r15
call fcn.1402117c0
test eax, eax
je 0x14000c238
mov rcx, qword [rdi + 0x48]
lea r9, [rdi + 0xd54]
mov qword [rsp + 0x28], r14
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call fcn.1400af064
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
call fcn.14009fc04
mov rcx, r12
call fcn.14009fc04
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xc98]
xor r12d, r12d
cmp qword [rdx], r12
jne 0x14000c26c
xor r8d, r8d
xor edx, edx
jmp 0x14000c273
mov r8, qword [rdi + 0xc80]
call fcn.1400b3d0c
cmp dword [rbp + 0x18], r12d
je 0x14000c2c3
mov eax, dword [rbp + 0x20]
cmp eax, 1
je 0x14000c2c3
mov esi, 2
cmp eax, esi
jne 0x14000ceaa
mov rbx, qword [rbp + 0x48]
lea rdx, [0x140275450]
mov rcx, qword [rbx + 8]
call fcn.1401f8a70
test eax, eax
je 0x14000c2c3
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401f8a70
test eax, eax
jne 0x14000ceaa
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.140003e94
mov rcx, rax
call fcn.14009ddf8
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.140003e94
lea rbx, [0x140319520]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
mov r8, rax
xor edx, edx
mov ecx, 0xfde9
mov r15, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov rcx, rbx
call fcn.1401f6ef8
lea r13, str.CoreModule
test eax, eax
jne 0x14000c4b6
mov edx, 0x400
mov rcx, r13
call fcn.1401ecbac
mov rbx, rax
cmp rax, 0x7fffffff
ja 0x14000c4ae
mov rsi, qword [rdi + 0x48]
test rsi, rsi
je 0x14000c4ae
mov rcx, qword [rsi + 0x1010]
mov r9d, ebx
mov r8, r13
xor edx, edx
call fcn.1400a8c04
mov r14, rax
test rax, rax
jne 0x14000c46e
lea rcx, [rbx + 4]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x14000c3a5
mov eax, 0xfffffffb
cmp rax, rbx
je 0x14000c3a5
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x14000c3a5
lea rcx, [rbx + 0x1c]
call fcn.1401ed1fc
jmp 0x14000c3a8
mov rax, r12
movsxd rdx, ebx
xor r9d, r9d
add rdx, 4
xor r8d, r8d
mov rcx, rax
call fcn.14009fb24
mov r14, rax
mov r8, qword [rax - 0x18]
test rbx, rbx
je 0x14000c3f5
mov rcx, rax
cmp r8, rbx
jb 0x14000c3de
mov r8, rbx
mov rdx, r13
call fcn.140210d80
jmp 0x14000c3f5
xor edx, edx
call fcn.140211420
call fcn.1401ebba4
mov dword [rax], 0x22
call fcn.1401eac1c
mov r8d, ebx
mov rdx, r13
xor ecx, ecx
call fcn.1400c2fc8
mov dword [r14 + rbx], eax
mov r8, r14
mov r9d, dword [r14 - 0x18]
xor edx, edx
mov rcx, qword [rsi + 0x1010]
call fcn.1400a8c04
mov rbx, rax
test rax, rax
je 0x14000c464
mov r8d, dword [r14 - 0x18]
xor r9d, r9d
mov rcx, qword [rsi]
mov rdx, r14
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.1400ae450
test rax, rax
jne 0x14000c45c
mov rax, qword [rsi + 0x1058]
test rax, rax
je 0x14000c45c
mov rdx, qword [rsi + 0x1060]
mov rcx, rsi
call rax
mov rcx, rbx
call fcn.1401ebcd0
mov rcx, r14
call fcn.14009fc04
jmp 0x14000c4ae
mov rcx, qword [rsi]
xor r9d, r9d
mov qword [rsp + 0x28], r12
mov r8d, ebx
mov rdx, r13
mov dword [rsp + 0x20], r12d
call fcn.1400ae450
test rax, rax
jne 0x14000c4a6
mov rax, qword [rsi + 0x1058]
test rax, rax
je 0x14000c4a6
mov rdx, qword [rsi + 0x1060]
mov rcx, rsi
call rax
mov rcx, r14
call fcn.1401ebcd0
mov rcx, r15
call fcn.14009ddf8
mov r15d, 0x400
cmp dword [rdi + 0x28c], r12d
jne 0x14000c4eb
mov edx, r15d
mov rcx, r13
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, r13
call fcn.1400af5cc
mov esi, eax
jmp 0x14000c4ee
mov esi, r12d
lea rbx, str.jsDebugPort
mov rdx, r15
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400af5cc
test eax, eax
je 0x14000c580
mov rdx, r15
mov rcx, rbx
call fcn.1401ecbac
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.1400af5cc
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x14000c580
cdqe
cmp rax, 0x10
jae 0x14000ceef
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.14009fcc4
cmp rax, 0x7fffffff
ja 0x14000c577
lea rcx, [rbp + 0x48]
call fcn.14009fcf4
jmp 0x14000c57a
mov eax, r12d
mov dword [rdi + 0xc00], eax
mov rdx, r15
mov dword [rdi + 0x290], 1
lea rcx, str.showModuleNames
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1403175a8], eax
test rcx, rcx
je 0x14000c637
mov rdx, qword [rdi]
call fcn.14000351c
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.14001d374
mov rcx, qword [rdi + 0x10]
or r8d, 0xffffffff
mov edx, r14d
call fcn.14001e49c
mov rcx, qword [rdi + 0x10]
lea r8d, [r14 + 7]
lea rdx, str.Ready
call fcn.14001ffb8
mov rcx, qword [rdi + 0x10]
lea edx, [r14 + 3]
call fcn.14001c0ac
test eax, eax
je 0x14000c62e
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000c62e
lea rdx, [0x140271e88]
call fcn.140069afc
mov rcx, qword [rdi + 0x10]
call fcn.140020ee4
cmp dword [rdi + 0x28c], r12d
jne 0x14000c9ae
call fcn.140091514
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.140092090
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.140003e38
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14000a4f8]
mov r8, rdi
call fcn.1400699ac
mov rdx, r15
lea rcx, str.coreDumpEnabled
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
mov dword [rdi + 0xc04], eax
test eax, eax
je 0x14000c6ef
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.14001cc0c
mov rdx, r15
lea rcx, str.finalizer_messages
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rbx, [0x14031c520]
mov r9, rbx
mov qword [rsp + 0x20], 0x1000
mov r8, rax
lea rdx, str.finalizer_messages
call fcn.1400af5cc
test eax, eax
je 0x14000c736
mov rcx, rbx
call fcn.1401ecafc
mov dword [0x1403175ac], eax
cmp esi, 4
jle 0x14000c9ae
mov rdx, r15
lea rcx, str.noUpdateCoreModule
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
test eax, eax
je 0x14000c847
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.14009fdfc
mov rdx, r15
mov rcx, r13
mov r14, rax
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
mov r9, r14
mov r8, rax
mov qword [rsp + 0x20], rbx
mov rdx, r13
call fcn.1400af5cc
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.140092894
test eax, eax
jne 0x14000c7f2
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001c008
test eax, eax
je 0x14000c83a
mov rax, qword [rdi]
test rax, rax
je 0x14000c800
mov rbx, qword [rax + 8]
jmp 0x14000c803
mov rbx, r12
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001f35c
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400acf60
mov rcx, qword [rdi + 0x10]
call fcn.140020ee4
mov rcx, r14
call fcn.1401ebcd0
jmp 0x14000c9ae
mov rbx, qword [rdi + 0x10]
mov r15d, r12d
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.1400202a4
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001d374
or r8d, 0xffffffff
mov edx, r14d
mov rcx, rbx
call fcn.14001e49c
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x14006a218]
mov rcx, rbx
call fcn.1400207c8
mov edx, 0xea60
mov rcx, rbx
call fcn.14001ff08
lea rdx, [0x14000a690]
mov rcx, rbx
call fcn.140020160
mov rcx, rbx
call fcn.140020574
lea rsi, [rbp + 0x48]
cmp qword [rsi], r12
je 0x14000c926
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001d374
mov edx, r14d
mov rcx, rbx
call fcn.14001e4f0
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.140020160
mov edx, 1
mov rcx, rbx
call fcn.14001c0ac
test eax, eax
je 0x14000c911
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.140069afc
mov rcx, rbx
call fcn.140020ee4
inc r15d
add rsi, 8
cmp r15d, 1
jl 0x14000c8c4
mov edx, 4
mov rcx, rbx
call fcn.14001c0ac
mov rcx, rbx
test eax, eax
je 0x14000c953
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.140069afc
mov rcx, rbx
call fcn.140020ee4
mov rax, r12
jmp 0x14000c964
or edx, 0xffffffff
call fcn.14001e0ac
test byte [rax], 8
je 0x14000c94e
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0xbf8], rax
call fcn.140020324
mov rdx, qword [rdi + 0xbf8]
mov rcx, qword [rdi + 0x10]
call fcn.140020c50
mov rcx, qword [rdi + 0xbf8]
call fcn.140069034
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001d5f8
mov rcx, qword [rdi + 0x10]
call fcn.140020ee4
mov r15d, 0x400
lea rbx, str.exitPID
mov rdx, r15
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.1400af5cc
lea rsi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermeshcore_agentcore.c
test eax, eax
jle 0x14000ca5c
mov rdx, r15
mov rcx, rbx
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031c520]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rbx
call fcn.1400af5cc
mov rcx, r14
call fcn.14009fcf4
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000ca5c
mov edx, 0x156c
mov rcx, rsi
call fcn.1400a2e78
mov rcx, qword [rdi]
lea r9, [0x14000a83c]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rbx
mov qword [rsp + 0x20], rdi
call fcn.1400a39b0
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
test eax, eax
jle 0x14000caa5
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000caa5
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.14001cc0c
mov rdx, r15
lea rcx, str.selfTest
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.selfTest
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.1400af5cc
test eax, eax
jne 0x14000cae5
mov rcx, qword [rdi]
lea rdx, [0x14000a504]
mov r8, rdi
call fcn.14009e720
cmp dword [rdi + 0xc0c], r12d
jne 0x14000cafb
mov rcx, rdi
call fcn.140009830
jmp 0x14000cc00
mov rdx, r15
mov rcx, r13
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, r13
call fcn.1400af5cc
movsxd r14, eax
cmp r14d, 4
jle 0x14000cbea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.14009fdfc
mov edx, 0x400
mov rcx, r13
mov r15, rax
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
mov r9, r15
mov r8, rax
mov qword [rsp + 0x20], r14
mov rdx, r13
call fcn.1400af5cc
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.140092894
test eax, eax
jne 0x14000cb94
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.14001c008
test eax, eax
je 0x14000cbd3
mov rax, qword [rdi]
test rax, rax
je 0x14000cba2
mov rbx, qword [rax + 8]
jmp 0x14000cba5
mov rbx, r12
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call fcn.14001f35c
lea r9, str.Error_Executing_MeshCore:__s
mov qword [rsp + 0x20], rax
mov edx, 0x4100
mov r8d, 2
mov rcx, rbx
call fcn.1400acf60
mov rcx, qword [rdi + 0x10]
call fcn.140020ee4
mov rcx, r15
call fcn.1401ebcd0
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.14001cc0c
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea r14, [0x14031c520]
mov ebx, 0x1000
lea rdx, str.MeshServer
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af5cc
cmp eax, 5
jle 0x14000aee5
cmp dword [0x14031c520], 0x61636f6c
jne 0x14000aee5
cmp byte [0x14031c524], 0x6c
jne 0x14000aee5
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401ecbac
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.1400af5cc
mov ebx, eax
cmp eax, 1
jle 0x14000cce3
lea rcx, [rbp + 0x60]
call fcn.1400d0fb0
lea eax, [rbx - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400d1040
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400d0f90
mov ecx, 0x20
call fcn.1401ed1fc
mov qword [rdi + 0xda0], rax
test rax, rax
je 0x14000cef5
movups xmm0, xmmword [0x14031c520]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14031c530]
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.1400a9bd4
mov r14d, 0x425d
test eax, eax
je 0x14000cd31
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.1400a9e18
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.1400a9e18
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.14009efec
mov qword [rdi + 0xd90], rax
test rax, rax
jne 0x14000cdaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15b5
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rsi
xor ecx, ecx
call fcn.1400aa2f8
jmp 0x14000aee5
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.14009efec
mov qword [rdi + 0xd98], rax
test rax, rax
jne 0x14000aee5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15b9
jmp 0x14000cd91
mov ecx, gethostname
call fcn.1401ed1fc
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14009fb24
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 0x14000ce2c
call fcn.1400af000
mov qword [rdi + 0x48], r13
mov edx, dword [rdi + 0xdb8]
cmp edx, 0xa
je 0x14000ce9e
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 0x14000ce58
mov rcx, r13
jmp 0x14000ce5f
mov rcx, qword [rcx + 0x938]
mov qword [rsp + 0x38], r13
lea rax, [0x140007d08]
mov dword [rsp + 0x30], 0x137e
lea rsi, str.C:Users_anfdhDownloads_bvavMeshAgent_mastermeshcore_agentcore.c
mov qword [rsp + 0x28], rsi
lea r9, [0x14000a648]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rbx
call fcn.1400a7950
jmp 0x14000aee5
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.1401dbdb0
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.1401e2ef8
int3
call fcn.1401dbed8
int3
call fcn.1401dbed8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
mov ebx, 0x159d
mov r9d, edi
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rdx, rsi
xor ecx, ecx
call fcn.1400aa2f8
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rsi
call fcn.14000105c
mov ecx, edi
call fcn.1401e2ef8
int3