Function at 0x140007e9c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
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 [0x1402b9f00]
xor rax, rbp
mov qword [rbp + 0x160], rax
xor r12d, r12d
mov r15d, edx
mov dword [rbp + 0x18], r9d
mov r14, r8
mov qword [rbp + 0x48], r8
mov rdi, rcx
mov dword [rbp + 0x20], r15d
mov ebx, r12d
mov dword [rbp + 0x1c], r12d
lea r13d, [r12 + 1]
movsxd rsi, edx
test edx, edx
jle 0x140007f49
mov rcx, qword [r14 + rbx*8]
lea rdx, str._recovery
call fcn.1401d5470
test eax, eax
jne 0x140007f16
or dword [rdi + 0x90], 0x40
mov dword [rbp + 0x18], r12d
mov rcx, qword [r14 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401d5470
test eax, eax
jne 0x140007f41
lea rcx, str._Not_using_Certificate_Store__n
mov dword [rbp + 0x18], r12d
call fcn.140001090
mov dword [rdi + 0xa64], r13d
add rbx, r13
cmp rbx, rsi
jl 0x140007ef7
mov ebx, r12d
test r15d, r15d
jle 0x140007fe6
mov rsi, r14
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401d5470
test eax, eax
je 0x140007fd8
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401d5470
test eax, eax
je 0x140007fd8
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401d5470
test eax, eax
je 0x140007fd8
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401d5470
test eax, eax
je 0x140007fd8
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401d5470
test eax, eax
je 0x140007fd8
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401d5470
test eax, eax
je 0x140007fd8
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x140007f58
jmp 0x140007fe6
xor r8d, r8d
xor ecx, ecx
call fcn.14009a248
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r12
jne 0x14000800e
mov rcx, qword [rdi + 0x38]
lea rdx, [0x14024fde4]
xor r8d, r8d
call fcn.14000312c
mov rcx, rax
xor r8d, r8d
call fcn.14009a248
mov qword [rdi + 0x48], rax
xor ecx, ecx
mov r13d, r12d
mov dword [rbp], ecx
mov r14d, r12d
test r15d, r15d
jle 0x140008243
mov rbx, qword [rbp + 0x48]
mov qword [rbp + 0x10], r15
lea r15d, [rcx + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14000803a
xor esi, esi
jmp 0x140008047
mov edx, 0x1000
call fcn.1401c8c84
mov rsi, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401d5470
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove r12d, r15d
call fcn.1401d5470
test eax, eax
je 0x140008082
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401d5470
test eax, eax
jne 0x140008085
mov r14d, r15d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401d5470
test eax, eax
jne 0x1400080c2
and qword [rsp + 0x28], 0
lea r9, [0x14024f238]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r15
lea r14d, [rax + 5]
call fcn.140099558
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401d5470
test eax, eax
je 0x1400080e8
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401d5470
test eax, eax
jne 0x140008114
and qword [rsp + 0x28], 0
lea r9, [0x14024f238]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r15
lea r8d, [r14 + 9]
call fcn.140099558
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401d5470
mov rcx, qword [rbx]
lea r8, [0x14024fc1c]
test eax, eax
movsxd rdx, esi
mov eax, 2
mov r9, r15
cmove r14d, eax
call fcn.140096880
movsxd r15, eax
mov eax, 2
cmp r15d, eax
jle 0x140008228
mov rcx, qword [rbx]
lea rdx, [0x14024fe0c]
mov r8d, eax
call fcn.1401c8860
test eax, eax
jne 0x140008228
cmp r15d, 0xa
jne 0x1400081d7
mov rcx, qword [rbx]
lea r8d, [rax + 8]
add rcx, 2
lea rdx, str.readonly
call fcn.1401c8860
test eax, eax
jne 0x1400081d7
mov rcx, qword [rbx]
lea r8d, [r15 - 9]
add rcx, 0xb
lea rdx, [0x14024f238]
call fcn.1401c8860
test eax, eax
jne 0x1400081d7
cmp qword [rdi + 0x48], 0
mov dword [rbp], 1
je 0x1400081de
mov rcx, qword [rdi + 0x38]
lea rdx, [0x14024fde4]
xor r8d, r8d
call fcn.14000312c
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.14009a2ec
cmp qword [rdi + 0x48], 0
jne 0x1400081ec
xor r8d, r8d
xor ecx, ecx
call fcn.14009a248
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.140099558
mov r15d, 1
add r13d, r15d
jmp 0x14000822e
mov r15d, 1
add rbx, 8
sub qword [rbp + 0x10], r15
jne 0x14000802e
mov ecx, dword [rbp]
mov r15d, dword [rbp + 0x20]
sub r15d, r13d
mov dword [rbp + 0x20], r15d
test r12d, r12d
je 0x1400082b2
mov rbx, qword [rdi]
call fcn.140081e5c
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x140007da4]
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.140081f28
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.140019168
mov eax, 1
jmp 0x140009b7b
or r13, 0xffffffffffffffff
xor r12d, r12d
test r14d, r14d
je 0x14000842d
mov rbx, qword [rdi]
call fcn.140081e5c
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x140007da4]
mov r9, rbx
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov rax, qword [rdi + 0x38]
xor edx, edx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.140081f28
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rax
mov rsi, rax
call fcn.140019168
mov edx, r13d
mov rcx, rsi
call fcn.14001a450
cmp dword [rax], 4
jne 0x140008332
mov eax, dword [rax + 8]
jmp 0x140008335
mov eax, r12d
test eax, eax
je 0x140009ba4
sub r14d, 1
je 0x140008377
sub r14d, 1
je 0x14000835c
cmp r14d, 3
je 0x140008377
mov rcx, rsi
call fcn.140060434
jmp 0x140008447
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019168
lea r8, str.fullUninstall
jmp 0x140008390
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019168
lea r8, str.fullInstall
mov edx, r13d
mov rcx, rsi
call fcn.1400198a0
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001a840
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.14001c87c
mov r8, rsi
lea rdx, [0x140087b84]
mov rcx, rbx
call fcn.1400998ec
mov edx, r13d
mov rcx, rsi
call fcn.1400190bc
mov edx, 1
mov rcx, rsi
call fcn.140018680
test eax, eax
je 0x140008420
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.14001b708
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401d5470
test eax, eax
je 0x140008420
xor r8d, r8d
mov edx, r13d
mov rcx, rsi
call fcn.14001b708
mov rdx, rax
lea rcx, [0x14024fef4]
call fcn.140001090
mov rcx, rsi
call fcn.14001d1b0
jmp 0x1400082a8
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140009ab0
cmp qword [rax], r12
jne 0x140008447
test ecx, ecx
je 0x140009ab0
mov rdx, qword [rdi]
call fcn.14009df34
mov qword [rdi + 0x40], rax
mov ebx, 0x400
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x1400084b8
lea rcx, [0x140007dd8]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov edx, ebx
lea rcx, str.semaphoreTrack
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
test eax, eax
je 0x1400084b8
lea rax, [0x140007e5c]
mov dword [0x1402bd460], r12d
mov qword [0x1402bd608], rax
lea rax, [rbp + 0x10]
mov dword [rbp], r12d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14024ff60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008547
mov rcx, qword [rbp + 0x10]
lea rax, [rbp]
mov qword [rsp + 0x28], rax
lea rdx, str.ResetNodeId
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000853d
cmp dword [rbp], r12d
jbe 0x14000853d
mov rcx, qword [rbp + 0x10]
lea rdx, str.ResetNodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x14000853d
lea rcx, str.NodeID_will_reset__because_ResetNodeID_key_was_found_in_registry
call fcn.1400976f0
mov dword [rbp + 0x1c], 1
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140081e5c
mov r9, qword [rdi]
mov rcx, rax
mov rax, qword [rdi + 0x38]
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call fcn.140081f28
mov r9d, 0xf88
mov qword [rbp], rax
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov r14, rax
call fcn.140019168
lea r13, str.meshServiceName
mov qword [rdi + 0xb9c], r12
mov rcx, r13
mov dword [rdi + 0xba4], r12d
mov rdx, rbx
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, r13
call fcn.14009a8cc
movsxd rsi, eax
mov r15d, 0xffffffff
mov eax, 0xffffffe7
test esi, esi
je 0x14000864a
lea ecx, [rsi + 1]
movsxd rbx, ecx
cmp rbx, r15
jae 0x140008603
cmp r15, rbx
je 0x140008603
cmp rbx, rax
jae 0x140008603
lea rcx, [rbx + 0x18]
call fcn.1401c9318
jmp 0x140008606
mov rax, r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14008eba4
mov ebx, 0x400
mov qword [rdi + 0xbb8], rax
mov edx, ebx
mov rcx, r13
call fcn.1401c8c84
mov r9, qword [rdi + 0xbb8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r13
mov qword [rsp + 0x20], rsi
call fcn.14009a8cc
jmp 0x140008658
lea rax, str.Mesh_Agent
mov qword [rdi + 0xbb8], rax
lea r13, str.displayName
mov rdx, rbx
mov rcx, r13
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, r13
call fcn.14009a8cc
movsxd rsi, eax
test eax, eax
je 0x1400086f2
lea ecx, [rsi + 1]
movsxd rbx, ecx
cmp rbx, r15
jae 0x1400086ad
cmp r15, rbx
je 0x1400086ad
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x1400086ad
lea rcx, [rbx + 0x18]
call fcn.1401c9318
jmp 0x1400086b0
mov rax, r12
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14008eba4
mov edx, 0x400
mov qword [rdi + 0xbc0], rax
mov rcx, r13
call fcn.1401c8c84
mov r9, qword [rdi + 0xbc0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r13
mov qword [rsp + 0x20], rsi
call fcn.14009a8cc
jmp 0x140008700
lea rax, str.MeshCentral
mov qword [rdi + 0xbc0], rax
mov r8, qword [rdi + 0xbb8]
lea rdx, str.require_service_manager_.manager.getService__s_.isMe___
mov rcx, r14
call fcn.14001c7b0
or r13, 0xffffffffffffffff
mov rcx, r14
mov edx, r13d
call fcn.14001a450
mov rcx, r12
cmp dword [rax], 8
jne 0x140008731
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.140019168
test eax, eax
jne 0x14000876d
xor r9d, r9d
mov edx, r13d
mov rcx, r14
call fcn.14001a310
mov dword [rdi + 0xb9c], eax
mov r9d, esi
mov rdx, rbx
mov rcx, r14
call fcn.140019168
test eax, eax
jne 0x14000879d
mov edx, r13d
mov rcx, r14
call fcn.14001a450
cmp dword [rax], 4
jne 0x140008794
mov eax, dword [rax + 8]
jmp 0x140008797
mov eax, r12d
mov dword [rdi + 0xba0], eax
mov r9d, esi
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, r14
call fcn.140019168
test eax, eax
jne 0x1400087d1
mov edx, r13d
mov rcx, r14
call fcn.14001a450
cmp dword [rax], 4
jne 0x1400087c8
mov eax, dword [rax + 8]
jmp 0x1400087cb
mov eax, r12d
mov dword [rdi + 0xba4], eax
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.140019168
test eax, eax
jne 0x1400089ac
lea r8, [rbp + 0x10]
mov edx, r13d
mov rcx, r14
call fcn.14001abdc
mov rsi, qword [rbp + 0x10]
mov r13, rax
cmp rsi, 0x13
jb 0x1400089ac
lea rbx, str.LocalMacAddresses
mov edx, 0x400
mov rcx, rbx
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.14009a8cc
movsxd r15, eax
test eax, eax
jne 0x140008845
mov rdx, rbx
jmp 0x140008987
mov ebx, r12d
test esi, esi
jle 0x1400089a6
movsxd rcx, ebx
lea rdx, str._00:00:00:00:00:00_
add rcx, r13
mov r8d, reloc.WS2_32.dll_send
call fcn.1401c8860
test eax, eax
jne 0x140008873
add ebx, 0x13
cmp ebx, esi
jl 0x140008850
cmp ebx, esi
jge 0x1400089a6
lea eax, [r15 + 1]
mov ebx, r12d
movsxd rdx, eax
mov eax, 0xffffffc7
cmp rdx, rax
jae 0x1400088bc
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400088a6
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401c1690
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x1400088bf
mov rcx, r12
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14008eba4
mov edx, 0x400
mov qword [rbp + 0x10], rax
mov r12, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r12
mov qword [rsp + 0x20], r15
mov r8, rax
call fcn.14009a8cc
test r15d, r15d
jle 0x140008964
mov r14, r12
movsxd r12, ebx
lea rdx, str._00:00:00:00:00:00_
add r12, r14
mov r8d, reloc.WS2_32.dll_send
mov rcx, r12
call fcn.1401c8860
test eax, eax
je 0x14000894c
movsxd rdx, esi
mov r9d, reloc.WS2_32.dll_send
mov r8, r12
mov rcx, r13
call fcn.140096880
xor r12d, r12d
test eax, eax
jns 0x140008957
jmp 0x14000894f
xor r12d, r12d
add ebx, 0x13
cmp ebx, r15d
jl 0x140008910
mov r14, qword [rbp]
cmp ebx, r15d
jl 0x1400089a6
mov r12, qword [rbp + 0x10]
mov r8, r12
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r13
call fcn.1400976f0
xor r12d, r12d
mov dword [rbp + 0x1c], 1
lea rdx, str.LocalMacAddresses
mov rcx, qword [rdi + 0x48]
mov r9, r13
movsxd rax, esi
mov r8d, reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.14009a3d8
mov r15d, 0xffffffff
mov rcx, r14
call fcn.140060434
cmp dword [rbp + 0x1c], 1
je 0x1400089c6
mov rcx, rdi
call fcn.140003734
test eax, eax
je 0x1400089de
mov rcx, rdi
call fcn.14000339c
test eax, eax
je 0x1400089de
lea rcx, str.Certificate_error_r_n
call fcn.140001090
mov rcx, rdi
call fcn.140003b30
test eax, eax
je 0x1400089f6
lea rcx, str.Certificate_validation_error_r_n
call fcn.140001090
mov rcx, qword [rdi + 0x38]
lea rdx, str..tag
xor r8d, r8d
mov qword [rbp + 0x10], r12
call fcn.14000312c
mov rcx, rax
lea rdx, [rbp + 0x10]
mov r8d, 0x1000
call fcn.14008cd78
mov rbx, qword [rbp + 0x10]
lea r14, [0x14024ead4]
mov rcx, qword [rdi + 0x48]
mov r8d, 3
mov rdx, r14
test rbx, rbx
je 0x140008a5a
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.14009a3d8
mov rcx, rbx
call fcn.1401c8c7c
jmp 0x140008a5f
call fcn.14009af2c
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.14009a8cc
test eax, eax
jne 0x140008af4
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
xor r8d, r8d
mov qword [rbp + 0x10], r12
call fcn.14000312c
mov esi, 0x400
lea rdx, [rbp + 0x10]
mov r8d, esi
mov rcx, rax
call fcn.14008cd78
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140008af9
mov rcx, qword [rdi + 0x48]
mov r8d, 8
lea rdx, str.WebProxy
test eax, eax
jle 0x140008ae5
cdqe
mov r9, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.14009a3d8
jmp 0x140008aea
call fcn.14009af2c
mov rcx, rbx
call fcn.1401c8c7c
jmp 0x140008af9
mov esi, 0x400
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
xor r8d, r8d
call fcn.14000312c
mov rdx, rax
mov rcx, rdi
call fcn.140007644
test eax, eax
jne 0x140008b8b
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
xor r8d, r8d
call fcn.14000312c
mov rdx, rax
mov rcx, rdi
call fcn.140007644
test eax, eax
jne 0x140008b8b
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140007644
test eax, eax
jne 0x140008b8b
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140007644
test eax, eax
jne 0x140008b8b
xor edx, edx
mov rcx, rdi
call fcn.140007438
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
xor r8d, r8d
call fcn.14000312c
mov rdx, rax
mov rcx, rdi
call fcn.140007644
lea rbx, str.AgentCapabilities
mov dword [rbp], r12d
mov rcx, rbx
mov rdx, rsi
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.14009a8cc
cmp eax, 4
jne 0x140008bf3
mov rdx, rsi
mov rcx, rbx
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r9, [rbp]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.14009a8cc
mov ecx, dword [rbp]
call qword [sym.imp.WS2_32.dll_ntohl]
or dword [rdi + 0x90], eax
mov r9, qword [rdi + 0xbb8]
lea r8, str.SoftwareOpen_Source_s
xor edx, edx
xor ecx, ecx
call fcn.140001138
movsxd rbx, eax
lea rcx, [rbx + 1]
cmp rcx, r15
jae 0x140008c38
mov eax, 0xfffffffe
cmp rax, rbx
je 0x140008c38
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x140008c38
lea rcx, [rbx + 0x19]
call fcn.1401c9318
mov rcx, rax
jmp 0x140008c3b
mov rcx, r12
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14008eba4
mov r9, qword [rdi + 0xbb8]
lea r8, str.SoftwareOpen_Source_s
mov rcx, rax
mov r13, rax
mov rdx, qword [rax - 0x18]
call fcn.140001138
or r9d, 0xffffffff
mov dword [rsp + 0x28], r12d
mov r8, r13
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
movsxd rsi, eax
lea rax, [rsi + rsi]
cmp rax, r15
jae 0x140008cb3
cmp r15, rax
je 0x140008cb3
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x140008cb3
lea rcx, [rsi*2 + 0x18]
call fcn.1401c9318
jmp 0x140008cb6
mov rax, r12
mov rdx, rsi
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov rcx, rax
call fcn.14008eba4
mov r12, rax
mov eax, 0x7fffffff
cmp rsi, rax
jae 0x140009201
cmp rbx, rax
ja 0x140009201
lea r9d, [rsi + 1]
mov r8, r12
mov edx, ebx
mov rcx, r13
call fcn.14008e558
mov eax, dword [rdi + 0xbc8]
lea r8, [rbp + 8]
neg eax
mov rdx, r12
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140009201
and qword [rbp], 0
lea r15, [rdi + 0xb38]
test byte [rdi + 0x90], 0x40
lea esi, [rax + 0x30]
lea r8, [rbp]
mov rcx, r15
mov edx, esi
jne 0x1400090e0
call fcn.140094e9c
movsxd rdx, eax
test eax, eax
jle 0x140008dad
mov rbx, qword [rbp]
test rbx, rbx
je 0x140008dad
mov rcx, rdx
test eax, eax
jle 0x140008d7b
mov rax, rbx
cmp byte [rax], 0x2b
jne 0x140008d6a
mov byte [rax], 0x40
jmp 0x140008d72
cmp byte [rax], 0x2f
jne 0x140008d72
mov byte [rax], 0x24
inc rax
sub rcx, 1
jne 0x140008d60
mov rcx, qword [rbp + 8]
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.1401c8c7c
and qword [rbp], 0
jmp 0x140008dbe
mov rcx, qword [rbp + 8]
lea rdx, str.NodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rcx, [rdi + 0xa04]
mov rdx, rsi
lea r8, [0x1402c1900]
call fcn.14008cb88
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140008dd8
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.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.14009a8cc
lea rbx, [0x1402c2900]
test eax, eax
je 0x140008ee2
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.14009a8cc
test eax, eax
jle 0x140008ee2
lea r8, [rbp]
mov edx, eax
mov rcx, rbx
call fcn.140094e9c
test eax, eax
jle 0x140008ee2
mov rbx, qword [rbp]
test rbx, rbx
je 0x140008ee2
movsxd rdx, eax
test eax, eax
jle 0x140008eb5
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x140008ea4
mov byte [rcx], 0x40
jmp 0x140008eac
cmp byte [rcx], 0x2f
jne 0x140008eac
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x140008e9a
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401c8c7c
jmp 0x140008ef3
mov rcx, qword [rbp + 8]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, 0x400
lea rcx, str.MeshServer
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rbx, [0x1402c2900]
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
lea rdx, str.MeshServer
call fcn.14009a8cc
test eax, eax
jne 0x140008f46
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 1
jmp 0x140008f78
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140008f4a
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerUrl
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov ebx, 1
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.ServerID
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c2900]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.ServerID
call fcn.14009a8cc
test eax, eax
jne 0x140008fc3
mov rcx, qword [rbp + 8]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140008ff7
or rax, 0xffffffffffffffff
lea rcx, [0x1402c2900]
inc rax
cmp byte [rcx + rax], 0
jne 0x140008fce
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.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c2900]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.WebProxy
call fcn.14009a8cc
test eax, eax
jne 0x140009042
mov rcx, qword [rbp + 8]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140009076
or rax, 0xffffffffffffffff
lea rcx, [0x1402c2900]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000904d
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.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c2900]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, r14
call fcn.14009a8cc
test eax, eax
jne 0x1400090ae
mov rdx, r14
jmp 0x14000914b
or rax, 0xffffffffffffffff
lea rcx, [0x1402c2900]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400090b9
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 0x140009155
call fcn.140094e9c
test eax, eax
jle 0x140009144
mov rbx, qword [rbp]
test rbx, rbx
je 0x140009144
movsxd rdx, eax
test eax, eax
jle 0x140009117
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x140009106
mov byte [rcx], 0x40
jmp 0x14000910e
cmp byte [rcx], 0x2f
jne 0x14000910e
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x1400090fc
mov rcx, qword [rbp + 8]
lea rdx, str.DiagnosticAgentNodeId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rbx
call fcn.1401c8c7c
jmp 0x140009155
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.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
call fcn.14009a8cc
test eax, eax
jne 0x1400091f5
lea rbx, str.NodeID
mov edx, r14d
mov rcx, rbx
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c1900]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rbx
call fcn.14009a8cc
cmp eax, esi
jne 0x1400091d5
mov r8, rsi
lea rdx, [0x1402c1900]
mov rcx, r15
call fcn.1401c27a0
test eax, eax
je 0x1400091f5
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.14009a3d8
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140009207
mov r14d, 0x400
mov rcx, r13
call fcn.14008ec8c
mov rcx, r12
call fcn.14008ec8c
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xa88]
xor r12d, r12d
cmp qword [rdx], r12
jne 0x140009231
xor r8d, r8d
xor edx, edx
jmp 0x140009238
mov r8, qword [rdi + 0xa70]
call fcn.14009ed74
mov r13d, 1
cmp dword [rbp + 0x18], r12d
je 0x14000928d
mov eax, dword [rbp + 0x20]
cmp eax, r13d
je 0x14000928d
lea ecx, [r13 + 1]
cmp eax, ecx
jne 0x140009b79
mov rbx, qword [rbp + 0x48]
lea rdx, [0x1402503f8]
mov rcx, qword [rbx + 8]
call fcn.1401d5470
test eax, eax
je 0x14000928d
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401d5470
test eax, eax
jne 0x140009b79
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
xor r8d, r8d
call fcn.14000312c
mov rcx, rax
call fcn.14008ce9c
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
xor r8d, r8d
call fcn.14000312c
lea rsi, [0x1402be900]
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.1401d37ec
lea rsi, str.CoreModule
test eax, eax
jne 0x14000931d
mov rdx, r14
mov rcx, rsi
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov rdx, rsi
call fcn.14009af2c
mov rcx, rbx
call fcn.14008ce9c
cmp dword [rdi + 0x84], r12d
jne 0x14000934d
mov rdx, r14
mov rcx, rsi
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009a8cc
mov r15d, eax
jmp 0x140009350
mov r15d, r12d
mov rdx, r14
lea rcx, str.webSocketMaskOverride
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.webSocketMaskOverride
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
lea rbx, str.jsDebugPort
mov dword [rdi + 0x9f8], eax
mov rcx, rbx
mov rdx, r14
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.14009a8cc
test eax, eax
je 0x140009412
mov rdx, r14
mov rcx, rbx
call fcn.1401c8c84
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.14009a8cc
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x140009412
cdqe
cmp rax, 0x10
jae 0x140009bb8
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.14008ed44
cmp rax, 0x7fffffff
ja 0x140009409
lea rcx, [rbp + 0x48]
call fcn.14008ed74
jmp 0x14000940c
mov eax, r12d
mov dword [rdi + 0x9fc], eax
mov rdx, r14
mov dword [rdi + 0x88], r13d
lea rcx, str.showModuleNames
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1402bd534], eax
test rcx, rcx
je 0x1400094bd
mov rdx, qword [rdi]
call fcn.1400029c0
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.1400198a0
mov rcx, qword [rdi + 0x10]
mov edx, r14d
call fcn.14001a840
mov rcx, qword [rdi + 0x10]
lea rdx, str.Ready
call fcn.14001c36c
mov rcx, qword [rdi + 0x10]
mov edx, r13d
call fcn.140018680
test eax, eax
je 0x1400094b4
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400094b4
lea rdx, [0x14024e158]
call fcn.1400601c4
mov rcx, qword [rdi + 0x10]
call fcn.14001d1b0
cmp dword [rdi + 0x84], r12d
jne 0x1400097aa
call fcn.140081e5c
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.140081f28
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.1400030b0
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140007b58]
mov r8, rdi
call fcn.14006007c
mov ebx, 0x400
lea rcx, str.coreDumpEnabled
mov edx, ebx
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
mov dword [rdi + 0xa00], eax
test eax, eax
je 0x140009579
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.140019168
cmp r15d, 4
jle 0x1400097aa
mov rdx, rbx
lea rcx, str.noUpdateCoreModule
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
test eax, eax
je 0x140009653
lea rcx, str._CoreModule:_Update_Disabled_n
mov dword [rdi + 0x84], r13d
call fcn.140001090
movsxd rbx, r15d
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
xor edx, edx
call fcn.14008ee88
mov edx, 0x400
lea rcx, str.CoreModule
mov rsi, rax
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.14009a8cc
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.1400826a0
test eax, eax
jne 0x14000963d
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.1400185dc
test eax, eax
je 0x140009646
mov rcx, qword [rdi + 0x10]
call fcn.14001d1b0
mov rcx, rsi
call fcn.1401c8c7c
jmp 0x1400097aa
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.14001c59c
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.1400198a0
mov edx, r14d
mov rcx, rbx
call fcn.14001a840
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x140060908]
mov rcx, rbx
call fcn.14001ca94
mov edx, 0xea60
mov rcx, rbx
call fcn.14001c1dc
lea rdx, [0x140007c58]
mov rcx, rbx
call fcn.14001c480
mov rcx, rbx
call fcn.14001c87c
mov rsi, r12
mov r15, qword [rbp + rsi*8 + 0x48]
test r15, r15
je 0x140009728
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.1400198a0
mov edx, r14d
mov rcx, rbx
call fcn.14001a87c
mov rdx, r15
mov rcx, rbx
call fcn.14001c480
mov edx, r13d
mov rcx, rbx
call fcn.140018680
test eax, eax
je 0x140009718
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.1400601c4
mov rcx, rbx
call fcn.14001d1b0
add rsi, r13
cmp rsi, r13
jl 0x1400096c8
mov edx, 4
mov rcx, rbx
call fcn.140018680
mov rcx, rbx
test eax, eax
je 0x140009755
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.1400601c4
mov rcx, rbx
call fcn.14001d1b0
mov rax, r12
jmp 0x140009766
or edx, 0xffffffff
call fcn.14001a450
test byte [rax], 8
je 0x140009750
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x9f0], rax
call fcn.14001c620
mov rdx, qword [rdi + 0x9f0]
mov rcx, qword [rdi + 0x10]
call fcn.14001cf3c
mov rcx, qword [rdi + 0x9f0]
call fcn.14005f7d8
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.140019a54
mov rcx, qword [rdi + 0x10]
call fcn.14001d1b0
mov r15d, 0x400
lea rsi, str.exitPID
mov edx, r15d
mov rcx, rsi
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009a8cc
lea rbx, str...meshcore_agentcore.c
test eax, eax
jle 0x140009860
mov edx, r15d
mov rcx, rsi
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea r14, [0x1402c1900]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rsi
call fcn.14009a8cc
mov rcx, r14
call fcn.14008ed74
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x140009867
mov edx, 0x1322
mov rcx, rbx
call fcn.1400912f4
mov rcx, qword [rdi]
lea r9, [0x140007dc0]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call fcn.140091ce8
jmp 0x140009867
lea r14, [0x1402c1900]
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009a8cc
test eax, eax
jle 0x1400098b0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400098b0
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.140019168
mov rcx, qword [rdi]
lea rdx, [0x140007b64]
mov r8, rdi
call fcn.14008d820
mov rcx, rdi
call fcn.14000706c
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshServer
mov esi, 0x1000
mov r9, r14
mov r8, rax
mov qword [rsp + 0x20], rsi
call fcn.14009a8cc
cmp eax, 5
jle 0x140009a71
mov eax, dword [0x1402c1900]
cmp eax, dword [str.local]
jne 0x140009a71
mov al, byte [0x1402c1904]
cmp al, byte [0x14024f6e8]
jne 0x140009a71
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401c8c84
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rsi
mov r8, rax
call fcn.14009a8cc
mov esi, eax
cmp eax, r13d
jle 0x1400099ad
lea rcx, [rbp + 0x60]
call fcn.1400b3fb0
lea eax, [rsi - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400b4040
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400b3f90
mov ecx, 0x20
call fcn.1401c9318
mov qword [rdi + 0xb80], rax
test rax, rax
je 0x140009bbe
movups xmm0, xmmword [0x1402c1900]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402c1910]
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.140096f98
mov r14d, 0x425d
test eax, eax
je 0x1400099fd
mov esi, reloc.WS2_32.dll_socket
mov ecx, r14d
mov word [rbp + 0x28], si
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 0x30]
mov ecx, esi
lea rdx, str.FF02:0:0:0:0:0:0:FE
mov word [rbp + 0x2a], ax
call fcn.1400971ec
mov esi, 2
mov ecx, r14d
mov word [rbp + 0x48], si
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 0x4c]
mov ecx, esi
lea rdx, str.239.255.255.235
mov word [rbp + 0x4a], ax
call fcn.1400971ec
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.14008e0ac
mov qword [rdi + 0xb70], rax
test rax, rax
jne 0x140009a79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1355
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rbx
xor ecx, ecx
call fcn.1400975c8
mov eax, r13d
jmp 0x140009b7b
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.14008e0ac
mov qword [rdi + 0xb78], rax
test rax, rax
jne 0x140009a71
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1359
jmp 0x140009a5d
mov ecx, gethostname
call fcn.1401c9318
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14008eba4
mov rsi, rax
movsxd rcx, r15d
mov qword [rax + 8], rcx
movsxd rcx, dword [rbp + 0x18]
mov qword [rax], rdi
mov rax, qword [rbp + 0x48]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rcx
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x140009afb
call fcn.14009a374
mov qword [rdi + 0x48], r12
mov edx, dword [rdi + 0xb98]
cmp edx, 0xa
je 0x140009b6d
inc edx
lea rcx, str.Unable_to_open_database___d_10_..._r_n
call fcn.140001090
mov rcx, qword [rdi]
inc dword [rdi + 0xb98]
test rcx, rcx
jne 0x140009b27
mov rcx, r12
jmp 0x140009b2e
mov rcx, qword [rcx + 0x918]
mov qword [rsp + 0x38], r12
lea rax, [0x14000614c]
mov dword [rsp + 0x30], 0x1141
lea rbx, str...meshcore_agentcore.c
mov qword [rsp + 0x28], rbx
lea r9, [0x140007c10]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.1400951a8
jmp 0x1400082a8
lea rcx, str.Unable_to_open_database._r_n
call fcn.140001090
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1401c1120
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.140001090
xor ecx, ecx
call fcn.1401c3818
int3
call fcn.1401c124c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
mov edi, 0x133d
mov r9d, esi
mov dword [rsp + 0x20], eax
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call fcn.1400975c8
mov r8d, edi
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rbx
call fcn.140001090
mov ecx, esi
call fcn.1401c3818
int3