Function at 0x140008734
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 [0x1402bcf00]
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 0x1400087e1
mov rcx, qword [r14 + rbx*8]
lea rdx, str._recovery
call fcn.1401d6760
test eax, eax
jne 0x1400087ae
or dword [rdi + 0x90], 0x40
mov dword [rbp + 0x18], r12d
mov rcx, qword [r14 + rbx*8]
lea rdx, str._nocertstore
call fcn.1401d6760
test eax, eax
jne 0x1400087d9
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 0x14000878f
mov ebx, r12d
test r15d, r15d
jle 0x14000887e
mov rsi, r14
mov rdx, qword [rsi]
lea rcx, str._finstall
call fcn.1401d6760
test eax, eax
je 0x140008870
mov rdx, qword [rsi]
lea rcx, str._funinstall
call fcn.1401d6760
test eax, eax
je 0x140008870
mov rdx, qword [rsi]
lea rcx, str._fullinstall
call fcn.1401d6760
test eax, eax
je 0x140008870
mov rdx, qword [rsi]
lea rcx, str._fulluninstall
call fcn.1401d6760
test eax, eax
je 0x140008870
mov rdx, qword [rsi]
lea rcx, str._install
call fcn.1401d6760
test eax, eax
je 0x140008870
mov rdx, qword [rsi]
lea rcx, str._uninstall
call fcn.1401d6760
test eax, eax
je 0x140008870
add ebx, r13d
add rsi, 8
cmp ebx, r15d
jl 0x1400087f0
jmp 0x14000887e
xor r8d, r8d
xor ecx, ecx
call fcn.14009adfc
mov qword [rdi + 0x48], rax
cmp qword [rdi + 0x48], r12
jne 0x1400088a3
mov rcx, qword [rdi + 0x38]
lea rdx, [0x1402521f4]
call fcn.140003504
mov rcx, rax
xor r8d, r8d
call fcn.14009adfc
mov qword [rdi + 0x48], rax
xor ecx, ecx
mov r13d, r12d
mov dword [rbp + 8], ecx
mov r14d, r12d
test r15d, r15d
jle 0x140008ad5
mov rbx, qword [rbp + 0x48]
mov qword [rbp], r15
lea r15d, [rcx + 1]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400088cf
xor esi, esi
jmp 0x1400088dc
mov edx, 0x1000
call fcn.1401ca9a8
mov rsi, rax
mov rdx, qword [rbx]
lea rcx, str._state
call fcn.1401d6760
mov rdx, qword [rbx]
lea rcx, str._finstall
test eax, eax
cmove r12d, r15d
call fcn.1401d6760
test eax, eax
je 0x140008917
mov rdx, qword [rbx]
lea rcx, str._fullinstall
call fcn.1401d6760
test eax, eax
jne 0x14000891a
mov r14d, r15d
mov rdx, qword [rbx]
lea rcx, str._install
call fcn.1401d6760
test eax, eax
jne 0x140008957
and qword [rsp + 0x28], 0
lea r9, [0x140251468]
mov rcx, qword [rdi + 0x48]
lea r8d, [rax + 0xd]
lea rdx, str._localService
mov qword [rsp + 0x20], r15
lea r14d, [rax + 5]
call fcn.14009a10c
mov rdx, qword [rbx]
lea rcx, str._funinstall
call fcn.1401d6760
test eax, eax
je 0x14000897d
mov rdx, qword [rbx]
lea rcx, str._fulluninstall
call fcn.1401d6760
test eax, eax
jne 0x1400089a9
and qword [rsp + 0x28], 0
lea r9, [0x140251468]
mov rcx, qword [rdi + 0x48]
lea rdx, str._deleteData
mov r14d, 2
mov qword [rsp + 0x20], r15
lea r8d, [r14 + 9]
call fcn.14009a10c
mov rdx, qword [rbx]
lea rcx, str._uninstall
call fcn.1401d6760
mov rcx, qword [rbx]
lea r8, [0x14025202c]
test eax, eax
movsxd rdx, esi
mov eax, 2
mov r9, r15
cmove r14d, eax
call fcn.140097434
movsxd r15, eax
mov eax, 2
cmp r15d, eax
jle 0x140008aba
mov rcx, qword [rbx]
lea rdx, [0x14025221c]
mov r8d, eax
call fcn.1401c9e70
test eax, eax
jne 0x140008aba
cmp r15d, 0xa
jne 0x140008a69
mov rcx, qword [rbx]
lea r8d, [rax + 8]
add rcx, 2
lea rdx, str.readonly
call fcn.1401c9e70
test eax, eax
jne 0x140008a69
mov rcx, qword [rbx]
lea r8d, [r15 - 9]
add rcx, 0xb
lea rdx, [0x140251468]
call fcn.1401c9e70
test eax, eax
jne 0x140008a69
cmp qword [rdi + 0x48], 0
mov dword [rbp + 8], 1
je 0x140008a70
mov rcx, qword [rdi + 0x38]
lea rdx, [0x1402521f4]
call fcn.140003504
mov rcx, qword [rdi + 0x48]
mov rdx, rax
call fcn.14009aea0
cmp qword [rdi + 0x48], 0
jne 0x140008a7e
xor r8d, r8d
xor ecx, ecx
call fcn.14009adfc
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.14009a10c
mov r15d, 1
add r13d, r15d
jmp 0x140008ac0
mov r15d, 1
add rbx, 8
sub qword [rbp], r15
jne 0x1400088c3
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 0x140008b44
mov rbx, qword [rdi]
call fcn.140082a50
mov rdx, qword [rdi + 0x38]
mov rcx, rax
mov qword [rsp + 0x48], rbx
lea rax, [0x14000863c]
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.140082b38
mov r9d, 0xe08
lea rdx, str.require__agentStatus_.start___
mov rcx, rax
call fcn.140019864
mov eax, 1
jmp 0x14000a51a
or r12, 0xffffffffffffffff
test r14d, r14d
je 0x140008cc7
mov rbx, qword [rdi]
call fcn.140082a50
mov qword [rsp + 0x48], rbx
mov rcx, rax
lea rax, [0x14000863c]
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.140082b38
mov r8, rdi
mov rcx, rax
mov rsi, rax
call fcn.140003488
mov ebx, 0xe08
lea rdx, str.require_user_sessions_.isRoot___
mov r9d, ebx
mov rcx, rsi
call fcn.140019864
mov edx, r12d
mov rcx, rsi
call fcn.14001ab4c
cmp dword [rax], 4
jne 0x140008bcc
mov eax, dword [rax + 8]
jmp 0x140008bcf
mov eax, r13d
test eax, eax
je 0x14000a543
sub r14d, 1
je 0x140008c11
sub r14d, 1
je 0x140008bf6
cmp r14d, 3
je 0x140008c11
mov rcx, rsi
call fcn.140060cdc
jmp 0x140008ce1
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019864
lea r8, str.fullUninstall
jmp 0x140008c2a
mov r9d, ebx
lea rdx, str.require_agent_installer__
mov rcx, rsi
call fcn.140019864
lea r8, str.fullInstall
mov edx, r12d
mov rcx, rsi
call fcn.140019f9c
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.14001af3c
mov rbx, qword [rdi + 0x48]
mov rcx, rsi
call fcn.14001cf78
mov r8, rsi
lea rdx, [0x140088794]
mov rcx, rbx
call fcn.14009a4a0
mov edx, r12d
mov rcx, rsi
call fcn.1400197b8
mov edx, 1
mov rcx, rsi
call fcn.140018d7c
test eax, eax
je 0x140008cba
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001be04
lea rdx, str.Process.exit___forced_script_termination
mov rcx, rax
call fcn.1401d6760
test eax, eax
je 0x140008cba
xor r8d, r8d
mov edx, r12d
mov rcx, rsi
call fcn.14001be04
mov rdx, rax
lea rcx, [0x140252304]
call fcn.1400010e4
mov rcx, rsi
call fcn.14001d8ac
jmp 0x140008b3a
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x14000a44f
cmp qword [rax], r13
jne 0x140008ce1
test ecx, ecx
je 0x14000a44f
mov rdx, qword [rdi]
call fcn.14009eaa0
mov qword [rdi + 0x40], rax
mov ebx, 0x400
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140008d52
lea rcx, [0x140008670]
mov qword [rax + 0x1060], rdi
mov qword [rax + 0x1058], rcx
mov edx, ebx
lea rcx, str.semaphoreTrack
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.semaphoreTrack
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.14009b480
test eax, eax
je 0x140008d52
lea rax, [0x1400086f4]
mov dword [0x1402c0468], r13d
mov qword [0x1402c0610], rax
lea rax, [rbp]
mov dword [rbp + 8], r13d
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140252370]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140008de1
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 0x140008dd7
cmp dword [rbp + 8], r13d
jbe 0x140008dd7
mov rcx, qword [rbp]
lea rdx, str.ResetNodeId
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x140008dd7
lea rcx, str.NodeID_will_reset__because_ResetNodeID_key_was_found_in_registry
call fcn.1400982a4
mov dword [rbp + 0x1c], 1
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140082a50
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.140082b38
mov r9d, 0xf88
lea rdx, str.require_linux_pathfix____
mov rcx, rax
mov rsi, rax
call fcn.140019864
lea r15, str.meshServiceName
mov qword [rdi + 0xbac], r13
mov rcx, r15
mov dword [rdi + 0xbb4], r13d
mov rdx, rbx
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.14009b480
movsxd r14, eax
mov r12d, 0xffffffff
mov eax, 0xffffffe7
test r14d, r14d
je 0x140008ee2
lea ecx, [r14 + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x140008e9b
cmp r12, rbx
je 0x140008e9b
cmp rbx, rax
jae 0x140008e9b
lea rcx, [rbx + 0x18]
call fcn.1401cb03c
jmp 0x140008e9e
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14008f710
mov ebx, 0x400
mov qword [rdi + 0xbc8], rax
mov edx, ebx
mov rcx, r15
call fcn.1401ca9a8
mov r9, qword [rdi + 0xbc8]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.14009b480
jmp 0x140008ef0
lea rax, str.Mesh_Agent
mov qword [rdi + 0xbc8], rax
lea r15, str.displayName
mov rdx, rbx
mov rcx, r15
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, r15
call fcn.14009b480
movsxd r14, eax
test eax, eax
je 0x140008f8b
lea ecx, [r14 + 1]
movsxd rbx, ecx
cmp rbx, r12
jae 0x140008f46
cmp r12, rbx
je 0x140008f46
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x140008f46
lea rcx, [rbx + 0x18]
call fcn.1401cb03c
jmp 0x140008f49
mov rax, r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14008f710
mov edx, 0x400
mov qword [rdi + 0xbd0], rax
mov rcx, r15
call fcn.1401ca9a8
mov r9, qword [rdi + 0xbd0]
mov r8, rax
mov rcx, qword [rdi + 0x48]
mov rdx, r15
mov qword [rsp + 0x20], r14
call fcn.14009b480
jmp 0x140008f99
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.14001ceac
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001ab4c
mov rcx, r13
cmp dword [rax], 8
jne 0x140008fc6
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.140019864
test eax, eax
jne 0x140009003
xor r9d, r9d
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001aa0c
mov dword [rdi + 0xbac], eax
mov r9d, r14d
mov rdx, rbx
mov rcx, rsi
call fcn.140019864
test eax, eax
jne 0x140009033
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001ab4c
cmp dword [rax], 4
jne 0x14000902a
mov eax, dword [rax + 8]
jmp 0x14000902d
mov eax, r13d
mov dword [rdi + 0xbb0], eax
mov r9d, r14d
lea rdx, str.require_user_sessions_.isRoot___
mov rcx, rsi
call fcn.140019864
test eax, eax
jne 0x140009067
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001ab4c
cmp dword [rax], 4
jne 0x14000905e
mov eax, dword [rax + 8]
jmp 0x140009061
mov eax, r13d
mov dword [rdi + 0xbb4], eax
mov r15d, 0xfffffffe
cmp dword [rdi + 0xbb0], r13d
jne 0x140009159
cmp dword [rdi + 0xbd8], r13d
je 0x140009159
mov r9d, r14d
lea rdx, str.require_util_service_check___
mov rcx, rsi
call fcn.140019864
test eax, eax
jne 0x140009159
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001ab4c
mov ecx, dword [rax]
lea rax, [0x140257c48]
test byte [rax + rcx*4], 6
jne 0x140009159
lea r8, [rbp]
or edx, edx
mov rcx, rsi
call fcn.14001be04
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.1400982a4
mov rcx, qword [rdi + 0xbc8]
call fcn.14008f7f8
mov rbx, qword [rbp]
lea rdx, [rbx + 1]
cmp rdx, r12
jae 0x14000911c
cmp r15, rbx
je 0x14000911c
mov eax, 0xffffffe7
cmp rdx, rax
jae 0x14000911c
lea rcx, [rbx + 0x19]
call fcn.1401cb03c
mov rcx, rax
jmp 0x14000911f
mov rcx, r13
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14008f710
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.140019864
test eax, eax
jne 0x140009359
lea r8, [rbp + 8]
or edx, 0xffffffff
mov rcx, rsi
call fcn.14001b2d8
mov r14, qword [rbp + 8]
mov r15, rax
mov qword [rbp], rax
cmp r14, 0x13
jb 0x140009353
lea rbx, str.LocalMacAddresses
mov edx, 0x400
mov rcx, rbx
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r13
mov rdx, rbx
call fcn.14009b480
movsxd r13, eax
test eax, eax
jne 0x1400091f1
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.14009af8c
jmp 0x140009353
xor ebx, ebx
test r14d, r14d
jle 0x140009345
movsxd rcx, ebx
lea rdx, str._00:00:00:00:00:00_
add rcx, r15
mov r8d, reloc.WS2_32.dll_send
call fcn.1401c9e70
test eax, eax
jne 0x140009220
add ebx, 0x13
cmp ebx, r14d
jl 0x1400091fc
cmp ebx, r14d
jge 0x140009345
lea eax, [r13 + 1]
xor ebx, ebx
movsxd rdx, eax
mov eax, 0xffffffc7
cmp rdx, rax
jae 0x140009269
lea rax, [rdx + 0x38]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140009253
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1401c27d0
sub rsp, rcx
lea rcx, [rsp + 0x50]
jmp 0x14000926b
xor ecx, ecx
mov r9d, 1
lea r8d, [r9 + 7]
call fcn.14008f710
mov edx, 0x400
mov r12, rax
lea rcx, [rax + 8]
mov qword [rax], rcx
lea rcx, str.LocalMacAddresses
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.LocalMacAddresses
mov r9, r12
mov qword [rsp + 0x20], r13
mov r8, rax
call fcn.14009b480
test r13d, r13d
jle 0x140009303
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.1401c9e70
test eax, eax
je 0x1400092f2
mov r8, r15
movsxd rdx, r14d
mov r15, qword [rbp]
mov r9d, reloc.WS2_32.dll_send
mov rcx, r15
call fcn.140097434
test eax, eax
jns 0x1400092fe
jmp 0x1400092f6
mov r15, qword [rbp]
add ebx, 0x13
cmp ebx, r13d
jl 0x1400092b5
cmp ebx, r13d
jl 0x14000934a
mov r8, r12
lea rcx, str.NodeID_will_reset__MAC_Address_Mismatch:__s_____s
mov rdx, r15
call fcn.1400982a4
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.14009af8c
jmp 0x14000934d
xor r13d, r13d
jmp 0x140009353
xor r13d, r13d
mov r12d, 0xffffffff
mov r15d, 0xfffffffe
mov rcx, rsi
call fcn.140060cdc
cmp dword [rbp + 0x1c], 1
je 0x140009373
mov rcx, rdi
call fcn.140003a1c
test eax, eax
je 0x14000938b
mov rcx, rdi
call fcn.140003684
test eax, eax
je 0x14000938b
lea rcx, str.Certificate_error_r_n
call fcn.1400010e4
mov rcx, rdi
call fcn.140003e18
test eax, eax
je 0x1400093a3
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.140003504
mov rcx, rax
lea rdx, [rbp]
mov r8d, 0x1000
call fcn.14008d988
mov rbx, qword [rbp]
mov r8d, 3
mov rcx, qword [rdi + 0x48]
test rbx, rbx
je 0x140009404
mov qword [rsp + 0x28], r13
mov r9, rbx
cdqe
lea r13, [0x140250c04]
mov rdx, r13
mov qword [rsp + 0x20], rax
call fcn.14009af8c
mov rcx, rbx
call fcn.1401ca9a0
jmp 0x140009413
lea r13, [0x140250c04]
mov rdx, r13
call fcn.14009bae0
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.14009b480
xor esi, esi
test eax, eax
jne 0x1400094a6
mov rcx, qword [rdi + 0x38]
lea rdx, str..proxy
mov qword [rbp], rsi
call fcn.140003504
mov r14d, 0x400
lea rdx, [rbp]
mov r8d, r14d
mov rcx, rax
call fcn.14008d988
mov rbx, qword [rbp]
test rbx, rbx
je 0x1400094ac
mov rcx, qword [rdi + 0x48]
lea r8d, [rsi + 8]
lea rdx, str.WebProxy
test eax, eax
jle 0x140009497
cdqe
mov r9, rbx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.14009af8c
jmp 0x14000949c
call fcn.14009bae0
mov rcx, rbx
call fcn.1401ca9a0
jmp 0x1400094ac
mov r14d, 0x400
mov rcx, qword [rdi + 0x38]
lea rdx, str..mshx
call fcn.140003504
mov rdx, rax
mov rcx, rdi
call fcn.140007ed0
test eax, eax
jne 0x140009535
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003504
mov rdx, rax
mov rcx, rdi
call fcn.140007ed0
test eax, eax
jne 0x140009535
lea rdx, str.mesh_linumshx
mov rcx, rdi
call fcn.140007ed0
test eax, eax
jne 0x140009535
lea rdx, str.mesh_limshx
mov rcx, rdi
call fcn.140007ed0
test eax, eax
jne 0x140009535
xor edx, edx
mov rcx, rdi
call fcn.140007cc8
mov rcx, qword [rdi + 0x38]
lea rdx, str..msh
call fcn.140003504
mov rdx, rax
mov rcx, rdi
call fcn.140007ed0
lea rbx, str.AgentCapabilities
mov dword [rbp + 8], esi
mov rcx, rbx
mov rdx, r14
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], rsi
mov rdx, rbx
call fcn.14009b480
cmp eax, 4
jne 0x14000959c
mov rdx, r14
mov rcx, rbx
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r9, [rbp + 8]
mov r8, rax
mov qword [rsp + 0x20], 4
mov rdx, rbx
call fcn.14009b480
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 0x1400095dd
cmp r15, rbx
mov r15d, 0xffffffe7
je 0x1400095e3
cmp rax, r15
jae 0x1400095e3
lea rcx, [rbx + 0x19]
call fcn.1401cb03c
mov rcx, rax
jmp 0x1400095e6
mov r15d, 0xffffffe7
mov rcx, rsi
lea eax, [rbx + 1]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14008f710
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 0x14000965f
cmp r12, rax
je 0x14000965f
cmp rax, r15
jae 0x14000965f
lea rcx, [rsi*2 + 0x18]
call fcn.1401cb03c
xor r12d, r12d
jmp 0x140009665
xor r12d, r12d
mov eax, r12d
mov rdx, rsi
xor r9d, r9d
add rdx, rdx
xor r8d, r8d
mov rcx, rax
call fcn.14008f710
mov r15, rax
mov eax, 0x7fffffff
cmp rsi, rax
jae 0x140009ba9
cmp rbx, rax
ja 0x140009ba9
lea r9d, [rsi + 1]
mov r8, r15
mov edx, ebx
mov rcx, r14
call fcn.14008f0c4
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 0x140009ba9
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 0x140009a8b
call fcn.140095a50
movsxd rdx, eax
test eax, eax
jle 0x14000975a
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14000975a
mov rcx, rdx
test eax, eax
jle 0x140009729
mov rax, rbx
cmp byte [rax], 0x2b
jne 0x140009718
mov byte [rax], 0x40
jmp 0x140009720
cmp byte [rax], 0x2f
jne 0x140009720
mov byte [rax], 0x24
inc rax
sub rcx, 1
jne 0x14000970e
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.1401ca9a0
mov qword [rbp + 8], r12
jmp 0x14000976b
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, [0x1402c4b20]
call fcn.14008d798
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], r12b
jne 0x140009785
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
lea rbx, [0x1402c5b20]
test eax, eax
je 0x14000988d
mov edx, 0x400
lea rcx, str.MeshID
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.MeshID
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
call fcn.14009b480
test eax, eax
jle 0x14000988d
lea r8, [rbp + 8]
mov edx, eax
mov rcx, rbx
call fcn.140095a50
test eax, eax
jle 0x14000988d
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14000988d
movsxd rdx, eax
test eax, eax
jle 0x140009860
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x14000984f
mov byte [rcx], 0x40
jmp 0x140009857
cmp byte [rcx], 0x2f
jne 0x140009857
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x140009845
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.1401ca9a0
jmp 0x14000989e
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rbx, [0x1402c5b20]
mov r9, rbx
mov qword [rsp + 0x20], 0x10000
mov r8, rax
lea rdx, str.MeshServer
call fcn.14009b480
test eax, eax
jne 0x1400098f1
mov rcx, qword [rbp + 0x10]
lea rdx, str.MeshServerUrl
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 1
jmp 0x140009923
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r12b
jne 0x1400098f5
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c5b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.ServerID
call fcn.14009b480
test eax, eax
jne 0x14000996e
mov rcx, qword [rbp + 0x10]
lea rdx, str.MeshServerId
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x1400099a2
or rax, 0xffffffffffffffff
lea rcx, [0x1402c5b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x140009979
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c5b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
lea rdx, str.WebProxy
call fcn.14009b480
test eax, eax
jne 0x1400099ed
mov rcx, qword [rbp + 0x10]
lea rdx, str.Proxy
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x140009a21
or rax, 0xffffffffffffffff
lea rcx, [0x1402c5b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400099f8
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c5b20]
mov r8, rax
mov qword [rsp + 0x20], 0x10000
mov rdx, r13
call fcn.14009b480
test eax, eax
jne 0x140009a59
mov rdx, r13
jmp 0x140009af6
or rax, 0xffffffffffffffff
lea rcx, [0x1402c5b20]
inc rax
cmp byte [rcx + rax], r12b
jne 0x140009a64
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 0x140009b00
call fcn.140095a50
test eax, eax
jle 0x140009aef
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x140009aef
movsxd rdx, eax
test eax, eax
jle 0x140009ac2
mov rcx, rbx
cmp byte [rcx], 0x2b
jne 0x140009ab1
mov byte [rcx], 0x40
jmp 0x140009ab9
cmp byte [rcx], 0x2f
jne 0x140009ab9
mov byte [rcx], 0x24
inc rcx
sub rdx, 1
jne 0x140009aa7
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.1401ca9a0
jmp 0x140009b00
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.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.SelfNodeCert
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
test eax, eax
jne 0x140009b9b
mov edx, ebx
lea rbx, str.NodeID
mov rcx, rbx
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r9, [0x1402c4b20]
mov r8, rax
mov qword [rsp + 0x20], 0x1000
mov rdx, rbx
call fcn.14009b480
cmp eax, esi
jne 0x140009b7c
mov r8, rsi
lea rdx, [0x1402c4b20]
mov rcx, r14
call fcn.1401c38e0
test eax, eax
je 0x140009b9b
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.14009af8c
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14, qword [rbp]
mov rcx, r14
call fcn.14008f7f8
mov rcx, r15
call fcn.14008f7f8
mov rcx, qword [rdi + 0x40]
lea rdx, [rdi + 0xa88]
cmp qword [rdx], r12
jne 0x140009bd0
xor r8d, r8d
xor edx, edx
jmp 0x140009bd7
mov r8, qword [rdi + 0xa70]
call fcn.14009f8b4
mov r13d, 1
cmp dword [rbp + 0x18], r12d
je 0x140009c2c
mov eax, dword [rbp + 0x20]
cmp eax, r13d
je 0x140009c2c
lea ecx, [r13 + 1]
cmp eax, ecx
jne 0x14000a518
mov rbx, qword [rbp + 0x48]
lea rdx, [0x140252868]
mov rcx, qword [rbx + 8]
call fcn.1401d6760
test eax, eax
je 0x140009c2c
mov rcx, qword [rbx + 8]
lea rdx, str.connect
call fcn.1401d6760
test eax, eax
jne 0x14000a518
mov rcx, qword [rdi + 0x38]
lea rdx, str..update.exe
call fcn.140003504
mov rcx, rax
call fcn.14008daac
mov rcx, qword [rdi + 0x38]
lea rdx, str..corereset
call fcn.140003504
lea rsi, [0x1402c1b20]
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.1401d4afc
lea rsi, str.CoreModule
mov r14d, 0x400
test eax, eax
jne 0x140009cbc
mov edx, r14d
mov rcx, rsi
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
mov r8, rax
mov rdx, rsi
call fcn.14009bae0
mov rcx, rbx
call fcn.14008daac
cmp dword [rdi + 0x84], r12d
jne 0x140009cec
mov rdx, r14
mov rcx, rsi
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009b480
mov r15d, eax
jmp 0x140009cef
mov r15d, r12d
mov rdx, r14
lea rcx, str.webSocketMaskOverride
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.webSocketMaskOverride
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
lea rbx, str.jsDebugPort
mov dword [rdi + 0x9f8], eax
mov rcx, rbx
mov rdx, r14
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rbx
call fcn.14009b480
test eax, eax
je 0x140009db1
mov rdx, r14
mov rcx, rbx
call fcn.1401ca9a8
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.14009b480
lea ecx, [rax - 1]
cmp ecx, 0xe
ja 0x140009db1
cdqe
cmp rax, 0x10
jae 0x14000a557
lea rcx, [rbp + 0x48]
mov byte [rbp + rax + 0x48], r12b
call fcn.14008f8b0
cmp rax, 0x7fffffff
ja 0x140009da8
lea rcx, [rbp + 0x48]
call fcn.14008f8e0
jmp 0x140009dab
mov eax, r12d
mov dword [rdi + 0x9fc], eax
mov rdx, r14
mov dword [rdi + 0x88], r13d
lea rcx, str.showModuleNames
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.showModuleNames
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
mov rcx, qword [rdi + 0x10]
mov r14d, 0xfffffffe
mov dword [0x1402c053c], eax
test rcx, rcx
je 0x140009e5c
mov rdx, qword [rdi]
call fcn.140002cb0
mov rcx, qword [rdi + 0x10]
lea r8, str.emit
or edx, 0xffffffff
call fcn.140019f9c
mov rcx, qword [rdi + 0x10]
mov edx, r14d
call fcn.14001af3c
mov rcx, qword [rdi + 0x10]
lea rdx, str.Ready
call fcn.14001ca68
mov rcx, qword [rdi + 0x10]
mov edx, r13d
call fcn.140018d7c
test eax, eax
je 0x140009e53
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140009e53
lea rdx, [0x140250148]
call fcn.140060a6c
mov rcx, qword [rdi + 0x10]
call fcn.14001d8ac
cmp dword [rdi + 0x84], r12d
jne 0x14000a149
call fcn.140082a50
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.140082b38
mov r8, rdi
mov qword [rdi + 0x10], rax
mov rcx, rax
call fcn.140003488
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400083f0]
mov r8, rdi
call fcn.140060924
mov ebx, 0x400
lea rcx, str.coreDumpEnabled
mov edx, ebx
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.coreDumpEnabled
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
mov dword [rdi + 0xa00], eax
test eax, eax
je 0x140009f18
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.140019864
cmp r15d, 4
jle 0x14000a149
mov rdx, rbx
lea rcx, str.noUpdateCoreModule
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.noUpdateCoreModule
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
test eax, eax
je 0x140009ff2
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.14008f9f4
mov edx, 0x400
lea rcx, str.CoreModule
mov rsi, rax
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.CoreModule
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8, rax
call fcn.14009b480
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.1400832b0
test eax, eax
jne 0x140009fdc
mov rcx, qword [rdi + 0x10]
xor edx, edx
call fcn.140018cd8
test eax, eax
je 0x140009fe5
mov rcx, qword [rdi + 0x10]
call fcn.14001d8ac
mov rcx, rsi
call fcn.1401ca9a0
jmp 0x14000a149
mov rbx, qword [rdi + 0x10]
mov rcx, rbx
mov qword [rbp + 0x48], rdi
call fcn.14001cc98
lea r8, str.setTimeout
or edx, 0xffffffff
mov rcx, rbx
call fcn.140019f9c
mov edx, r14d
mov rcx, rbx
call fcn.14001af3c
mov r9d, 0x18075380
mov dword [rsp + 0x20], 6
or r8d, 0xffffffff
lea rdx, [0x1400611b0]
mov rcx, rbx
call fcn.14001d190
mov edx, 0xea60
mov rcx, rbx
call fcn.14001c8d8
lea rdx, [0x1400084f0]
mov rcx, rbx
call fcn.14001cb7c
mov rcx, rbx
call fcn.14001cf78
mov rsi, r12
mov r15, qword [rbp + rsi*8 + 0x48]
test r15, r15
je 0x14000a0c7
lea r8, str.push
or edx, 0xffffffff
mov rcx, rbx
call fcn.140019f9c
mov edx, r14d
mov rcx, rbx
call fcn.14001af78
mov rdx, r15
mov rcx, rbx
call fcn.14001cb7c
mov edx, r13d
mov rcx, rbx
call fcn.140018d7c
test eax, eax
je 0x14000a0b7
lea rdx, str.ILibDuktape_Timeout___Array.push__:
mov rcx, rbx
call fcn.140060a6c
mov rcx, rbx
call fcn.14001d8ac
add rsi, r13
cmp rsi, r13
jl 0x14000a067
mov edx, 4
mov rcx, rbx
call fcn.140018d7c
mov rcx, rbx
test eax, eax
je 0x14000a0f4
lea rdx, str.ILibDuktape_Timeout___timeout__:
call fcn.140060a6c
mov rcx, rbx
call fcn.14001d8ac
mov rax, r12
jmp 0x14000a105
or edx, 0xffffffff
call fcn.14001ab4c
test byte [rax], 8
je 0x14000a0ef
mov rax, qword [rax + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x9f0], rax
call fcn.14001cd1c
mov rdx, qword [rdi + 0x9f0]
mov rcx, qword [rdi + 0x10]
call fcn.14001d638
mov rcx, qword [rdi + 0x9f0]
call fcn.140060080
mov rcx, qword [rdi + 0x10]
mov r8, rax
mov edx, r14d
call fcn.14001a150
mov rcx, qword [rdi + 0x10]
call fcn.14001d8ac
mov r15d, 0x400
lea rsi, str.exitPID
mov edx, r15d
mov rcx, rsi
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
mov r8, rax
mov qword [rsp + 0x20], r12
mov rdx, rsi
call fcn.14009b480
lea rbx, str...meshcore_agentcore.c
test eax, eax
jle 0x14000a1ff
mov edx, r15d
mov rcx, rsi
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea r14, [0x1402c4b20]
mov r9, r14
mov qword [rsp + 0x20], 0x1000
mov r8, rax
mov rdx, rsi
call fcn.14009b480
mov rcx, r14
call fcn.14008f8e0
mov r8d, eax
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000a206
mov edx, 0x13f5
mov rcx, rbx
call fcn.140091ea0
mov rcx, qword [rdi]
lea r9, [0x140008658]
mov qword [rsp + 0x28], rax
or r8d, 0xffffffff
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call fcn.140092894
jmp 0x14000a206
lea r14, [0x1402c4b20]
mov rdx, r15
lea rcx, str.hideConsole
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.hideConsole
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8, rax
call fcn.14009b480
test eax, eax
jle 0x14000a24f
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14000a24f
mov r9d, 0xf88
lea rdx, str.require_win_console_.hide__
call fcn.140019864
mov rcx, qword [rdi]
lea rdx, [0x1400083fc]
mov r8, rdi
call fcn.14008e38c
mov rcx, rdi
call fcn.1400078a8
mov rdx, r15
lea rcx, str.MeshServer
call fcn.1401ca9a8
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.14009b480
cmp eax, 5
jle 0x14000a410
mov eax, dword [0x1402c4b20]
cmp eax, dword [str.local]
jne 0x14000a410
mov al, byte [0x1402c4b24]
cmp al, byte [0x140251ad8]
jne 0x14000a410
mov rdx, r15
lea rcx, str.DiscoveryKey
call fcn.1401ca9a8
mov rcx, qword [rdi + 0x48]
lea rdx, str.DiscoveryKey
mov r9, r14
mov qword [rsp + 0x20], rsi
mov r8, rax
call fcn.14009b480
mov esi, eax
cmp eax, r13d
jle 0x14000a34c
lea rcx, [rbp + 0x60]
call fcn.1400b50f0
lea eax, [rsi - 1]
mov rdx, r14
movsxd r8, eax
lea rcx, [rbp + 0x60]
call fcn.1400b5180
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.1400b50d0
mov ecx, 0x20
call fcn.1401cb03c
mov qword [rdi + 0xb90], rax
test rax, rax
je 0x14000a55d
movups xmm0, xmmword [0x1402c4b20]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402c4b30]
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.140097b4c
mov r14d, 0x425d
test eax, eax
je 0x14000a39c
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.140097da0
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.140097da0
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.14008ec18
mov qword [rdi + 0xb80], rax
test rax, rax
jne 0x14000a418
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x1428
mov r9d, 0xdb
mov dword [rsp + 0x20], eax
mov rdx, rbx
xor ecx, ecx
call fcn.14009817c
mov eax, r13d
jmp 0x14000a51a
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.14008ec18
mov qword [rdi + 0xb88], rax
test rax, rax
jne 0x14000a410
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x142c
jmp 0x14000a3fc
mov ecx, gethostname
call fcn.1401cb03c
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.14008f710
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 0x14000a49a
call fcn.14009af28
mov qword [rdi + 0x48], r13
mov edx, dword [rdi + 0xba8]
cmp edx, 0xa
je 0x14000a50c
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 0x14000a4c6
mov rcx, r13
jmp 0x14000a4cd
mov rcx, qword [rcx + 0x918]
mov qword [rsp + 0x38], r13
lea rax, [0x140006954]
mov dword [rsp + 0x30], 0x11fd
lea rbx, str...meshcore_agentcore.c
mov qword [rsp + 0x28], rbx
lea r9, [0x1400084a8]
mov r8d, 0x7d0
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.140095d5c
jmp 0x140008b3a
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.1401c2260
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.1401c4958
int3
call fcn.1401c238c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfe
mov edi, 0x1410
mov r9d, esi
mov dword [rsp + 0x20], eax
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call fcn.14009817c
mov r8d, edi
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rbx
call fcn.1400010e4
mov ecx, esi
call fcn.1401c4958
int3