Function at 0x1400089d4
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 [0x1402bdf00]
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 0x140008a81
mov rcx, qword [r14 + rbx*8]
lea rdx, str._recovery
call fcn.1401d7bc0
test eax, eax
jne 0x140008a4e
or dword [rdi + 0x90], 0x40
mov dword [rbp + 0x18], r12d
mov rcx, qword [r14 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401d7bc0
test eax, eax
jne 0x140008a79
lea rcx, str._Not_using_Certificate_Store__n
mov dword [rbp + 0x18], r12d
call fcn.1400010e4
mov dword [rdi + 0xa64], r13d
add rbx, r13
cmp rbx, rsi
jl 0x140008a2f
mov ebx, r12d
test r15d, r15d
jle 0x140008b1e
mov rsi, r14
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401d7bc0
test eax, eax
je 0x140008b10
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x140008a90
jmp 0x140008b1e
xor r8d, r8d
xor ecx, ecx
call fcn.14009c034
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r12
jne 0x140008b43
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140253624]
call fcn.14000370c
mov rcx, rax
xor r8d, r8d
call fcn.14009c034
mov qword [rdi + 0x48], rax
xor ecx, ecx
mov r13d, r12d
mov dword [rbp + 8], ecx
mov r14d, r12d
test r15d, r15d
jle 0x140008d75
mov rbx, qword [rbp + 0x48]
mov qword [rbp], r15
lea r15d, [rcx + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140008b6f
xor esi, esi
jmp 0x140008b7c
mov edx, 0x1000
call fcn.1401cbd78
mov rsi, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401d7bc0
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove r12d, r15d
call fcn.1401d7bc0
test eax, eax
je 0x140008bb7
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401d7bc0
test eax, eax
jne 0x140008bba
mov r14d, r15d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401d7bc0
test eax, eax
jne 0x140008bf7
and qword [rsp + 0x28], 0
lea r9, [0x140252878]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r15
lea r14d, [rax + 5]
call fcn.14009b344
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401d7bc0
test eax, eax
je 0x140008c1d
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401d7bc0
test eax, eax
jne 0x140008c49
and qword [rsp + 0x28], 0
lea r9, [0x140252878]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r15
lea r8d, [r14 + 9]
call fcn.14009b344
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401d7bc0
mov rcx, qword [rbx]
lea r8, [0x14025345c]
test eax, eax
movsxd rdx, esi
mov eax, 2
mov r9, r15
cmove r14d, eax
call fcn.1400986f4
movsxd r15, eax
mov eax, 2
cmp r15d, eax
jle 0x140008d5a
mov rcx, qword [rbx]
lea rdx, [0x14025364c]
mov r8d, eax
call fcn.1401cb240
test eax, eax
jne 0x140008d5a
cmp r15d, 0xa
jne 0x140008d09
mov rcx, qword [rbx]
lea r8d, [rax + 8]
add rcx, 2
lea rdx, str.readonly
call fcn.1401cb240
test eax, eax
jne 0x140008d09
mov rcx, qword [rbx]
lea r8d, [r15 - 9]
add rcx, 0xb
lea rdx, [0x140252878]
call fcn.1401cb240
test eax, eax
jne 0x140008d09
cmp qword [rdi + 0x48], 0
mov dword [rbp + 8], 1
je 0x140008d10
mov rcx, qword [rdi + 0x38]
lea rdx, [0x140253624]
call fcn.14000370c
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.14009c0d8
cmp qword [rdi + 0x48], 0
jne 0x140008d1e
xor r8d, r8d
xor ecx, ecx
call fcn.14009c034
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.14009b344
mov r15d, 1
add r13d, r15d
jmp 0x140008d60
mov r15d, 1
add rbx, 8
sub qword [rbp], r15
jne 0x140008b63
mov ecx, dword [rbp + 8]
mov r15d, dword [rbp + 0x20]
sub r15d, r13d
xor r13d, r13d
mov dword [rbp + 0x20], r15d
test r12d, r12d
je 0x140008de4
mov rbx, qword [rdi]
call fcn.1400835b8
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x1400088dc]
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.140083b80
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.140019b04
mov eax, 1
jmp 0x14000a7ba
or r12, 0xffffffffffffffff
test r14d, r14d
je 0x140008f67
mov rbx, qword [rdi]
call fcn.1400835b8
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x1400088dc]
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.140083b80
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.140003690
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.140019b04
mov edx, r12d
mov rcx, rsi
call fcn.14001adec
cmp dword [rax], 4
jne 0x140008e6c
mov eax, dword [rax + 8]
jmp 0x140008e6f
mov eax, r13d
test eax, eax
je 0x14000a7e3
sub r14d, 1
je 0x140008eb1
sub r14d, 1
je 0x140008e96
cmp r14d, 3
je 0x140008eb1
mov rcx, rsi
call fcn.140060ff8
jmp 0x140008f81
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019b04
lea r8, str.fullUninstall
jmp 0x140008eca
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019b04
lea r8, str.fullInstall
mov edx, r12d
mov rcx, rsi
call fcn.14001a23c
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001b1dc
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.14001d218
mov r8, rsi
lea rdx, [0x140089828]
mov rcx, rbx
call fcn.14009b6d8
mov edx, r12d
mov rcx, rsi
call fcn.140019a58
mov edx, 1
mov rcx, rsi
call fcn.14001901c
test eax, eax
je 0x140008f5a
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001c0a4
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401d7bc0
test eax, eax
je 0x140008f5a
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001c0a4
mov rdx, rax
lea rcx, [0x140253734]
call fcn.1400010e4
mov rcx, rsi
call fcn.14001db4c
jmp 0x140008dda
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000a6ef
cmp qword [rax], r13
jne 0x140008f81
test ecx, ecx
je 0x14000a6ef
mov rdx, qword [rdi]
call fcn.14009fd04
mov qword [rdi + 0x40], rax
mov ebx, 0x400
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140008ff2
lea rcx, [0x140008910]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov edx, ebx
lea rcx, str.semaphoreTrack
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.14009c6b8
test eax, eax
je 0x140008ff2
lea rax, [0x140008994]
mov dword [0x1402c1468], r13d
mov qword [0x1402c1610], rax
lea rax, [rbp]
mov dword [rbp + 8], r13d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x1402537a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140009081
mov rcx, qword [rbp]
lea rax, [rbp + 8]
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 0x140009077
cmp dword [rbp + 8], r13d
jbe 0x140009077
mov rcx, qword [rbp]
lea rdx, str.ResetNodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x140009077
lea rcx, str.NodeID_will_reset__because_ResetNodeID_key_was_found_in_registry
call fcn.140099564
mov dword [rbp + 0x1c], 1
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.1400835b8
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.140083b80
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov rsi, rax
call fcn.140019b04
lea r15, str.meshServiceName
mov qword [rdi + 0xbac], r13
mov rcx, r15
mov dword [rdi + 0xbb4], r13d
mov rdx, rbx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.14009c6b8
movsxd r14, eax
mov r12d, 0xffffffff
mov eax, 0xffffffe7
test r14d, r14d
je 0x140009182
lea ecx, [r14 + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x14000913b
cmp r12, rbx
je 0x14000913b
cmp rbx, rax
jae 0x14000913b
lea rcx, [rbx + 0x18]
call fcn.1401cc40c
jmp 0x14000913e
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140090854
mov ebx, 0x400
mov qword [rdi + 0xbc8], rax
mov edx, ebx
mov rcx, r15
call fcn.1401cbd78
mov r9, qword [rdi + 0xbc8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.14009c6b8
jmp 0x140009190
lea rax, str.Mesh_Agent
mov qword [rdi + 0xbc8], rax
lea r15, str.displayName
mov rdx, rbx
mov rcx, r15
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.14009c6b8
movsxd r14, eax
test eax, eax
je 0x14000922b
lea ecx, [r14 + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x1400091e6
cmp r12, rbx
je 0x1400091e6
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x1400091e6
lea rcx, [rbx + 0x18]
call fcn.1401cc40c
jmp 0x1400091e9
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140090854
mov edx, 0x400
mov qword [rdi + 0xbd0], rax
mov rcx, r15
call fcn.1401cbd78
mov r9, qword [rdi + 0xbd0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.14009c6b8
jmp 0x140009239
lea rax, str.MeshCentral
mov qword [rdi + 0xbd0], rax
mov r8, qword [rdi + 0xbc8]
lea rdx, str.require_service_manager_.manager.getService__s_.isMe___
mov rcx, rsi
call fcn.14001d14c
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001adec
mov rcx, r13
cmp dword [rax], 8
jne 0x140009266
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, rsi
sbb rbx, rbx
and rbx, rax
call fcn.140019b04
test eax, eax
jne 0x1400092a3
xor r9d, r9d
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001acac
mov dword [rdi + 0xbac], eax
mov r9d, r14d
mov rdx, rbx
mov rcx, rsi
call fcn.140019b04
test eax, eax
jne 0x1400092d3
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001adec
cmp dword [rax], 4
jne 0x1400092ca
mov eax, dword [rax + 8]
jmp 0x1400092cd
mov eax, r13d
mov dword [rdi + 0xbb0], eax
mov r9d, r14d
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, rsi
call fcn.140019b04
test eax, eax
jne 0x140009307
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001adec
cmp dword [rax], 4
jne 0x1400092fe
mov eax, dword [rax + 8]
jmp 0x140009301
mov eax, r13d
mov dword [rdi + 0xbb4], eax
mov r15d, 0xfffffffe
cmp dword [rdi + 0xbb0], r13d
jne 0x1400093f9
cmp dword [rdi + 0xbd8], r13d
je 0x1400093f9
mov r9d, r14d
lea rdx, str.require_util_service_check___
mov rcx, rsi
call fcn.140019b04
test eax, eax
jne 0x1400093f9
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001adec
mov ecx, dword [rax]
lea rax, [0x140259078]
test byte [rax + rcx*4], 6
jne 0x1400093f9
lea r8, [rbp]
or edx, edx
mov rcx, rsi
call fcn.14001c0a4
mov rdx, qword [rdi + 0xbc8]
lea rcx, str.Service_Name_Conflict:_Configured___s__but_is_actually___s_
mov r8, rax
mov r14, rax
call fcn.140099564
mov rcx, qword [rdi + 0xbc8]
call fcn.14009093c
mov rbx, qword [rbp]
lea rdx, [rbx + 1]
cmp rdx, r12
jae 0x1400093bc
cmp r15, rbx
je 0x1400093bc
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x1400093bc
lea rcx, [rbx + 0x19]
call fcn.1401cc40c
mov rcx, rax
jmp 0x1400093bf
mov rcx, r13
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.140090854
mov qword [rdi + 0xbc8], rax
mov r9, rbx
mov r8, r14
mov rcx, rax
mov rdx, qword [rax - 0x18]
call section..text
mov dword [rdi + 0xbb0], 1
mov r14d, 0xe88
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, rsi
call fcn.140019b04
test eax, eax
jne 0x1400095f9
lea r8, [rbp + 8]
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001b578
mov r14, qword [rbp + 8]
mov r15, rax
mov qword [rbp], rax
cmp r14, 0x13
jb 0x1400095f3
lea rbx, str.LocalMacAddresses
mov edx, 0x400
mov rcx, rbx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.14009c6b8
movsxd r13, eax
test eax, eax
jne 0x140009491
mov rcx, qword [rdi + 0x48]
xor r13d, r13d
movsxd rax, r14d
mov r9, r15
mov qword [rsp + 0x28], r13
mov rdx, rbx
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 0x11]
call fcn.14009c1c4
jmp 0x1400095f3
xor ebx, ebx
test r14d, r14d
jle 0x1400095e5
movsxd rcx, ebx
lea rdx, str._00:00:00:00:00:00_
add rcx, r15
mov r8d, reloc.WS2_32.dll_send
call fcn.1401cb240
test eax, eax
jne 0x1400094c0
add ebx, 0x13
cmp ebx, r14d
jl 0x14000949c
cmp ebx, r14d
jge 0x1400095e5
lea eax, [r13 + 1]
xor ebx, ebx
movsxd rdx, eax
mov eax, 0xffffffc7
cmp rdx, rax
jae 0x140009509
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400094f3
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401c3ba0
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x14000950b
xor ecx, ecx
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.140090854
mov edx, 0x400
mov r12, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r12
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.14009c6b8
test r13d, r13d
jle 0x1400095a3
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.1401cb240
test eax, eax
je 0x140009592
mov r8, r15
movsxd rdx, r14d
mov r15, qword [rbp]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.1400986f4
test eax, eax
jns 0x14000959e
jmp 0x140009596
mov r15, qword [rbp]
add ebx, 0x13
cmp ebx, r13d
jl 0x140009555
cmp ebx, r13d
jl 0x1400095ea
mov r8, r12
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r15
call fcn.140099564
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
xor r13d, r13d
movsxd rax, r14d
mov qword [rsp + 0x28], r13
mov r9, r15
mov dword [rbp + 0x1c], 1
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 0x11]
call fcn.14009c1c4
jmp 0x1400095ed
xor r13d, r13d
jmp 0x1400095f3
xor r13d, r13d
mov r12d, 0xffffffff
mov r15d, 0xfffffffe
mov rcx, rsi
call fcn.140060ff8
cmp dword [rbp + 0x1c], 1
je 0x140009613
mov rcx, rdi
call fcn.140003c24
test eax, eax
je 0x14000962b
mov rcx, rdi
call fcn.14000388c
test eax, eax
je 0x14000962b
lea rcx, str.Certificate_error_r_n
call fcn.1400010e4
mov rcx, rdi
call fcn.140004020
test eax, eax
je 0x140009643
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.14000370c
mov rcx, rax
lea rdx, [rbp]
mov r8d, 0x1000
call fcn.14008ea2c
mov rbx, qword [rbp]
mov r8d, 3
mov rcx, qword [rdi + 0x48]
test rbx, rbx
je 0x1400096a4
mov qword [rsp + 0x28], r13
mov r9, rbx
cdqe
lea r13, [0x140251c04]
mov rdx, r13
mov qword [rsp + 0x20], rax
call fcn.14009c1c4
mov rcx, rbx
call fcn.1401cbd70
jmp 0x1400096b3
lea r13, [0x140251c04]
mov rdx, r13
call fcn.14009cd18
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.14009c6b8
xor esi, esi
test eax, eax
jne 0x140009746
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp], rsi
call fcn.14000370c
mov r14d, 0x400
lea rdx, [rbp]
mov r8d, r14d
mov rcx, rax
call fcn.14008ea2c
mov rbx, qword [rbp]
test rbx, rbx
je 0x14000974c
mov rcx, qword [rdi + 0x48]
lea r8d, [rsi + 8]
lea rdx, str.WebProxy
test eax, eax
jle 0x140009737
cdqe
mov r9, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.14009c1c4
jmp 0x14000973c
call fcn.14009cd18
mov rcx, rbx
call fcn.1401cbd70
jmp 0x14000974c
mov r14d, 0x400
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.14000370c
mov rdx, rax
mov rcx, rdi
call fcn.140008170
test eax, eax
jne 0x1400097d5
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.14000370c
mov rdx, rax
mov rcx, rdi
call fcn.140008170
test eax, eax
jne 0x1400097d5
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140008170
test eax, eax
jne 0x1400097d5
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140008170
test eax, eax
jne 0x1400097d5
xor edx, edx
mov rcx, rdi
call fcn.140007f68
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.14000370c
mov rdx, rax
mov rcx, rdi
call fcn.140008170
lea rbx, str.AgentCapabilities
mov dword [rbp + 8], esi
mov rcx, rbx
mov rdx, r14
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], rsi
mov rdx, rbx
call fcn.14009c6b8
cmp eax, 4
jne 0x14000983c
mov rdx, r14
mov rcx, rbx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 8]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.14009c6b8
mov ecx, dword [rbp + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
or dword [rdi + 0x90], eax
mov r9, qword [rdi + 0xbc8]
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 0x14000987d
cmp r15, rbx
mov r15d, 0xffffffe7
je 0x140009883
cmp rax, r15
jae 0x140009883
lea rcx, [rbx + 0x19]
call fcn.1401cc40c
mov rcx, rax
jmp 0x140009886
mov r15d, 0xffffffe7
mov rcx, rsi
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.140090854
mov r9, qword [rdi + 0xbc8]
lea r8, str.SoftwareOpen_Source_s
mov rcx, rax
mov qword [rbp], rax
mov r14, rax
mov rdx, qword [rax - 0x18]
call fcn.14000118c
or r9d, 0xffffffff
mov dword [rsp + 0x28], esi
mov r8, r14
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc eax
movsxd rsi, eax
lea rax, [rsi + rsi]
cmp rax, r12
jae 0x1400098ff
cmp r12, rax
je 0x1400098ff
cmp rax, r15
jae 0x1400098ff
lea rcx, [rsi*2 + 0x18]
call fcn.1401cc40c
xor r12d, r12d
jmp 0x140009905
xor r12d, r12d
mov eax, r12d
mov rdx, rsi
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov rcx, rax
call fcn.140090854
mov r15, rax
mov eax, 0x7fffffff
cmp rsi, rax
jae 0x140009e49
cmp rbx, rax
ja 0x140009e49
lea r9d, [rsi + 1]
mov r8, r15
mov edx, ebx
mov rcx, r14
call fcn.14009016c
mov eax, dword [rdi + 0xbdc]
lea r8, [rbp + 0x10]
neg eax
mov rdx, r15
sbb rcx, rcx
add rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140009e49
test byte [rdi + 0x90], 0x40
lea r14, [rdi + 0xb44]
lea esi, [rax + 0x30]
mov qword [rbp + 8], r12
mov rcx, r14
lea r8, [rbp + 8]
mov edx, esi
jne 0x140009d2b
call fcn.140096cb8
movsxd rdx, eax
test eax, eax
jle 0x1400099fa
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400099fa
mov rcx, rdx
test eax, eax
jle 0x1400099c9
mov rax, rbx
cmp byte [rax], 0x2b
jne 0x1400099b8
mov byte [rax], 0x40
jmp 0x1400099c0
cmp byte [rax], 0x2f
jne 0x1400099c0
mov byte [rax], 0x24
inc rax
sub rcx, 1
jne 0x1400099ae
mov rcx, qword [rbp + 0x10]
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.1401cbd70
mov qword [rbp + 8], r12
jmp 0x140009a0b
mov rcx, qword [rbp + 0x10]
lea rdx, str.NodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea rcx, [rdi + 0xa04]
mov rdx, rsi
lea r8, [0x1402c5b20]
call fcn.14008e83c
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r12b
jne 0x140009a25
mov rcx, qword [rbp + 0x10]
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.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
lea rbx, [0x1402c6b20]
test eax, eax
je 0x140009b2d
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.14009c6b8
test eax, eax
jle 0x140009b2d
lea r8, [rbp + 8]
mov edx, eax
mov rcx, rbx
call fcn.140096cb8
test eax, eax
jle 0x140009b2d
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140009b2d
movsxd rdx, eax
test eax, eax
jle 0x140009b00
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x140009aef
mov byte [rcx], 0x40
jmp 0x140009af7
cmp byte [rcx], 0x2f
jne 0x140009af7
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x140009ae5
mov rcx, qword [rbp + 0x10]
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.1401cbd70
jmp 0x140009b3e
mov rcx, qword [rbp + 0x10]
lea rdx, str.MeshId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, 0x400
lea rcx, str.MeshServer
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rbx, [0x1402c6b20]
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
lea rdx, str.MeshServer
call fcn.14009c6b8
test eax, eax
jne 0x140009b91
mov rcx, qword [rbp + 0x10]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 1
jmp 0x140009bc3
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r12b
jne 0x140009b95
mov rcx, qword [rbp + 0x10]
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.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c6b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.ServerID
call fcn.14009c6b8
test eax, eax
jne 0x140009c0e
mov rcx, qword [rbp + 0x10]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140009c42
or rax, 0xffffffffffffffff
lea rcx, [0x1402c6b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x140009c19
mov dword [rsp + 0x28], eax
lea rdx, str.MeshServerId
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
lea rcx, str.WebProxy
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c6b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.WebProxy
call fcn.14009c6b8
test eax, eax
jne 0x140009c8d
mov rcx, qword [rbp + 0x10]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140009cc1
or rax, 0xffffffffffffffff
lea rcx, [0x1402c6b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x140009c98
mov dword [rsp + 0x28], eax
lea rdx, str.Proxy
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov rcx, qword [rbp + 0x10]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, 0x400
mov rcx, r13
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c6b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, r13
call fcn.14009c6b8
test eax, eax
jne 0x140009cf9
mov rdx, r13
jmp 0x140009d96
or rax, 0xffffffffffffffff
lea rcx, [0x1402c6b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x140009d04
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rbp + 0x10]
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x140009da0
call fcn.140096cb8
test eax, eax
jle 0x140009d8f
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140009d8f
movsxd rdx, eax
test eax, eax
jle 0x140009d62
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x140009d51
mov byte [rcx], 0x40
jmp 0x140009d59
cmp byte [rcx], 0x2f
jne 0x140009d59
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x140009d47
mov rcx, qword [rbp + 0x10]
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.1401cbd70
jmp 0x140009da0
lea rdx, str.DiagnosticAgentNodeId
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 0x400
lea rcx, str.SelfNodeCert
mov edx, ebx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
test eax, eax
jne 0x140009e3b
mov edx, ebx
lea rbx, str.NodeID
mov rcx, rbx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c5b20]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rbx
call fcn.14009c6b8
cmp eax, esi
jne 0x140009e1c
mov r8, rsi
lea rdx, [0x1402c5b20]
mov rcx, r14
call fcn.1401c4cb0
test eax, eax
je 0x140009e3b
mov rcx, qword [rdi + 0x48]
mov r9, r14
mov qword [rsp + 0x28], r12
mov r8d, 6
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14009c1c4
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rbp]
mov rcx, r14
call fcn.14009093c
mov rcx, r15
call fcn.14009093c
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xa88]
cmp qword [rdx], r12
jne 0x140009e70
xor r8d, r8d
xor edx, edx
jmp 0x140009e77
mov r8, qword [rdi + 0xa70]
call fcn.1400a0b20
mov r13d, 1
cmp dword [rbp + 0x18], r12d
je 0x140009ecc
mov eax, dword [rbp + 0x20]
cmp eax, r13d
je 0x140009ecc
lea ecx, [r13 + 1]
cmp eax, ecx
jne 0x14000a7b8
mov rbx, qword [rbp + 0x48]
lea rdx, [0x140253c98]
mov rcx, qword [rbx + 8]
call fcn.1401d7bc0
test eax, eax
je 0x140009ecc
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401d7bc0
test eax, eax
jne 0x14000a7b8
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.14000370c
mov rcx, rax
call fcn.14008eb50
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.14000370c
lea rsi, [0x1402c2b20]
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.1401d5f54
lea rsi, str.CoreModule
mov r14d, 0x400
test eax, eax
jne 0x140009f5c
mov edx, r14d
mov rcx, rsi
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov rdx, rsi
call fcn.14009cd18
mov rcx, rbx
call fcn.14008eb50
cmp dword [rdi + 0x84], r12d
jne 0x140009f8c
mov rdx, r14
mov rcx, rsi
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009c6b8
mov r15d, eax
jmp 0x140009f8f
mov r15d, r12d
mov rdx, r14
lea rcx, str.webSocketMaskOverride
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.webSocketMaskOverride
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
lea rbx, str.jsDebugPort
mov dword [rdi + 0x9f8], eax
mov rcx, rbx
mov rdx, r14
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.14009c6b8
test eax, eax
je 0x14000a051
mov rdx, r14
mov rcx, rbx
call fcn.1401cbd78
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.14009c6b8
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x14000a051
cdqe
cmp rax, 0x10
jae 0x14000a7f7
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.1400909f4
cmp rax, 0x7fffffff
ja 0x14000a048
lea rcx, [rbp + 0x48]
call fcn.140090a24
jmp 0x14000a04b
mov eax, r12d
mov dword [rdi + 0x9fc], eax
mov rdx, r14
mov dword [rdi + 0x88], r13d
lea rcx, str.showModuleNames
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1402c153c], eax
test rcx, rcx
je 0x14000a0fc
mov rdx, qword [rdi]
call fcn.140002e6c
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.14001a23c
mov rcx, qword [rdi + 0x10]
mov edx, r14d
call fcn.14001b1dc
mov rcx, qword [rdi + 0x10]
lea rdx, str.Ready
call fcn.14001cd08
mov rcx, qword [rdi + 0x10]
mov edx, r13d
call fcn.14001901c
test eax, eax
je 0x14000a0f3
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a0f3
lea rdx, [0x140251148]
call fcn.140060d88
mov rcx, qword [rdi + 0x10]
call fcn.14001db4c
cmp dword [rdi + 0x84], r12d
jne 0x14000a3e9
call fcn.1400835b8
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.140083b80
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.140003690
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140008690]
mov r8, rdi
call fcn.140060c40
mov ebx, 0x400
lea rcx, str.coreDumpEnabled
mov edx, ebx
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
mov dword [rdi + 0xa00], eax
test eax, eax
je 0x14000a1b8
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.140019b04
cmp r15d, 4
jle 0x14000a3e9
mov rdx, rbx
lea rcx, str.noUpdateCoreModule
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
test eax, eax
je 0x14000a292
lea rcx, str._CoreModule:_Update_Disabled_n
mov dword [rdi + 0x84], r13d
call fcn.1400010e4
movsxd rbx, r15d
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
xor edx, edx
call fcn.140090b38
mov edx, 0x400
lea rcx, str.CoreModule
mov rsi, rax
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.14009c6b8
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.140084348
test eax, eax
jne 0x14000a27c
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.140018f78
test eax, eax
je 0x14000a285
mov rcx, qword [rdi + 0x10]
call fcn.14001db4c
mov rcx, rsi
call fcn.1401cbd70
jmp 0x14000a3e9
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.14001cf38
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001a23c
mov edx, r14d
mov rcx, rbx
call fcn.14001b1dc
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x140061500]
mov rcx, rbx
call fcn.14001d430
mov edx, 0xea60
mov rcx, rbx
call fcn.14001cb78
lea rdx, [0x140008790]
mov rcx, rbx
call fcn.14001ce1c
mov rcx, rbx
call fcn.14001d218
mov rsi, r12
mov r15, qword [rbp + rsi*8 + 0x48]
test r15, r15
je 0x14000a367
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.14001a23c
mov edx, r14d
mov rcx, rbx
call fcn.14001b218
mov rdx, r15
mov rcx, rbx
call fcn.14001ce1c
mov edx, r13d
mov rcx, rbx
call fcn.14001901c
test eax, eax
je 0x14000a357
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.140060d88
mov rcx, rbx
call fcn.14001db4c
add rsi, r13
cmp rsi, r13
jl 0x14000a307
mov edx, 4
mov rcx, rbx
call fcn.14001901c
mov rcx, rbx
test eax, eax
je 0x14000a394
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.140060d88
mov rcx, rbx
call fcn.14001db4c
mov rax, r12
jmp 0x14000a3a5
or edx, 0xffffffff
call fcn.14001adec
test byte [rax], 8
je 0x14000a38f
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x9f0], rax
call fcn.14001cfbc
mov rdx, qword [rdi + 0x9f0]
mov rcx, qword [rdi + 0x10]
call fcn.14001d8d8
mov rcx, qword [rdi + 0x9f0]
call fcn.140060388
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001a3f0
mov rcx, qword [rdi + 0x10]
call fcn.14001db4c
mov r15d, 0x400
lea rsi, str.exitPID
mov edx, r15d
mov rcx, rsi
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009c6b8
lea rbx, str...meshcore_agentcore.c
test eax, eax
jle 0x14000a49f
mov edx, r15d
mov rcx, rsi
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea r14, [0x1402c5b20]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rsi
call fcn.14009c6b8
mov rcx, r14
call fcn.140090a24
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000a4a6
mov edx, 0x1411
mov rcx, rbx
call fcn.140093108
mov rcx, qword [rdi]
lea r9, [0x1400088f8]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call fcn.140093afc
jmp 0x14000a4a6
lea r14, [0x1402c5b20]
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009c6b8
test eax, eax
jle 0x14000a4ef
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a4ef
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.140019b04
mov rcx, qword [rdi]
lea rdx, [0x14000869c]
mov r8, rdi
call fcn.14008f430
mov rcx, rdi
call fcn.140007b50
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401cbd78
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.14009c6b8
cmp eax, 5
jle 0x14000a6b0
mov eax, dword [0x1402c5b20]
cmp eax, dword [str.local]
jne 0x14000a6b0
mov al, byte [0x1402c5b24]
cmp al, byte [0x140252f08]
jne 0x14000a6b0
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401cbd78
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rsi
mov r8, rax
call fcn.14009c6b8
mov esi, eax
cmp eax, r13d
jle 0x14000a5ec
lea rcx, [rbp + 0x60]
call fcn.1400b6410
lea eax, [rsi - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400b64a0
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400b63f0
mov ecx, 0x20
call fcn.1401cc40c
mov qword [rdi + 0xb90], rax
test rax, rax
je 0x14000a7fd
movups xmm0, xmmword [0x1402c5b20]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402c5b30]
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.140098e0c
mov r14d, 0x425d
test eax, eax
je 0x14000a63c
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.140099060
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.140099060
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.14008fcbc
mov qword [rdi + 0xb80], rax
test rax, rax
jne 0x14000a6b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1444
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rbx
xor ecx, ecx
call fcn.14009943c
mov eax, r13d
jmp 0x14000a7ba
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.14008fcbc
mov qword [rdi + 0xb88], rax
test rax, rax
jne 0x14000a6b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1448
jmp 0x14000a69c
mov ecx, gethostname
call fcn.1401cc40c
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.140090854
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 0x14000a73a
call fcn.14009c160
mov qword [rdi + 0x48], r13
mov edx, dword [rdi + 0xba8]
cmp edx, 0xa
je 0x14000a7ac
inc edx
lea rcx, str.Unable_to_open_database___d_10_..._r_n
call fcn.1400010e4
mov rcx, qword [rdi]
inc dword [rdi + 0xba8]
test rcx, rcx
jne 0x14000a766
mov rcx, r13
jmp 0x14000a76d
mov rcx, qword [rcx + 0x918]
mov qword [rsp + 0x38], r13
lea rax, [0x140006bfc]
mov dword [rsp + 0x30], 0x1219
lea rbx, str...meshcore_agentcore.c
mov qword [rsp + 0x28], rbx
lea r9, [0x140008748]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.140096fc4
jmp 0x140008dda
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.1401c3630
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.1401c5d28
int3
call fcn.1401c375c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
mov edi, 0x142c
mov r9d, esi
mov dword [rsp + 0x20], eax
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call fcn.14009943c
mov r8d, edi
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rbx
call fcn.1400010e4
mov ecx, esi
call fcn.1401c5d28
int3