Function at 0x1400b4ddc
Capabilities:
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc40
mov rax, qword [0x1402c2ed0]
xor rax, rsp
mov qword [rsp + 0xc30], rax
mov r15, rdx
movsxd r14, ecx
mov dword [rsp + 0x68], r14d
lea eax, [r14 + 1]
mov dword [rsp + 0x58], eax
movsxd rdi, eax
shl rdi, 3
mov eax, 0xffffffff
cmp rdi, rax
jae 0x1400b4e48
cmp rax, rdi
je 0x1400b4e48
mov eax, 0xffffffe7
cmp rdi, rax
jae 0x1400b4e48
lea rcx, [rdi + 0x18]
call fcn.1401d12fc
xor ebx, ebx
jmp 0x1400b4e4c
xor ebx, ebx
mov eax, ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.14009704c
mov rdi, rax
mov qword [rsp + 0x78], rax
mov r12, r14
mov esi, 1
test r14d, r14d
jle 0x1400b4f38
sub rax, r15
mov qword [rsp + 0x50], r14
or r13, 0xffffffffffffffff
mov r14d, 0xffffffe7
mov rdi, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, r13d
mov r8, qword [r15]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x60], eax
movsxd r12, eax
mov eax, 0xffffffff
cmp r12, rax
jae 0x1400b4ed8
cmp rax, r12
je 0x1400b4ed8
cmp r12, r14
jae 0x1400b4ed8
lea rcx, [r12 + 0x18]
call fcn.1401d12fc
jmp 0x1400b4edb
mov rax, rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, rax
call fcn.14009704c
mov qword [rdi + r15], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [r15]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add r15, 8
sub qword [rsp + 0x50], rsi
jne 0x1400b4e8b
mov rdi, qword [rsp + 0x78]
movsxd r14, dword [rsp + 0x68]
mov r12, r14
jmp 0x1400b4f3c
or r13, 0xffffffffffffffff
cmp r14d, esi
jle 0x1400b5316
lea rdx, str._finstall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._funinstall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._fulluninstall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._fullinstall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._install
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._uninstall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b4fd1
lea rdx, str._state
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5011
mov rax, qword [rdi + 8]
mov qword [rdi + r12*8], rax
mov ecx, 0x1c
call fcn.1401d12fc
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
call fcn.14009704c
mov qword [rdi + 8], rax
lea r8, [0x140256d60]
mov rdx, qword [rax - 0x18]
mov rcx, rax
call fcn.140001138
mov r14d, dword [rsp + 0x58]
cmp r14d, esi
jle 0x1400b5316
lea rdx, str._licenses
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5316
lea r12, str._n
mov rcx, r12
call fcn.1400010e4
lea rcx, str._MeshCentral_MeshAgent:_Copyright_2006___2020_Intel_Corporation_n
call fcn.1400010e4
lea rcx, str.________________________https:__github.com_Ylianst_MeshAgent__n
call fcn.1400010e4
lea r15, str._________________________________________________________________________________________n
mov rcx, r15
call fcn.1400010e4
lea rcx, str.___Licensed_under_the_Apache_License__Version_2.0__the__License____n
call fcn.1400010e4
lea rcx, str.___you_may_not_use_this_file_except_in_compliance_with_the_License._n
call fcn.1400010e4
lea rcx, str.___You_may_obtain_a_copy_of_the_License_at_n
call fcn.1400010e4
lea r14, str.____n
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___http:__www.apache.org_licenses_LICENSE_2.0_n
call fcn.1400010e4
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___Unless_required_by_applicable_law_or_agreed_to_in_writing__software_n
call fcn.1400010e4
lea rcx, str.___distributed_under_the_License_is_distributed_on_an__AS_IS__BASIS__n
call fcn.1400010e4
lea rcx, str.___WITHOUT_WARRANTIES_OR_CONDITIONS_OF_ANY_KIND__either_express_or_implied._n
call fcn.1400010e4
lea rcx, str.___See_the_License_for_the_specific_language_governing_permissions_and_n
call fcn.1400010e4
lea rcx, str.___limitations_under_the_License._n_n
call fcn.1400010e4
mov rcx, r12
call fcn.1400010e4
lea rcx, str._Duktape_Javascript_Engine:_Copyright__c__2013_2019_by_Duktape_authors__see_AUTHORS.rst__n
call fcn.1400010e4
lea rcx, str.________________________https:__github.com_svaarala_duktape__n
call fcn.1400010e4
lea rcx, str.________________________http:__opensource.org_licenses_MIT__n
call fcn.1400010e4
mov rcx, r15
call fcn.1400010e4
lea rcx, str.___Permission_is_hereby_granted__free_of_charge__to_any_person_obtaining_a_copy_n
call fcn.1400010e4
lea rcx, str.___of_this_software_and_associated_documentation_files_the__Software____to_deal_n
call fcn.1400010e4
lea rcx, str.___in_the_Software_without_restriction__including_without_limitation_the_rights_n
call fcn.1400010e4
lea rcx, str.___to_use__copy__modify__merge__publish__distribute__sublicense__and___or_sell_n
call fcn.1400010e4
lea rcx, str.___copies_of_the_Software__and_to_permit_persons_to_whom_the_Software_is_n
call fcn.1400010e4
lea rcx, str.___furnished_to_do_so__subject_to_the_following_conditions_:_n
call fcn.1400010e4
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___The_above_copyright_notice_and_this_permission_notice_shall_be_included_in_n
call fcn.1400010e4
lea rcx, str.___all_copies_or_substantial_portions_of_the_Software._n
call fcn.1400010e4
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___THE_SOFTWARE_IS_PROVIDED__AS_IS___WITHOUT_WARRANTY_OF_ANY_KIND__EXPRESS_OR_n
call fcn.1400010e4
lea rcx, str.___IMPLIED__INCLUDING_BUT_NOT_LIMITED_TO_THE_WARRANTIES_OF_MERCHANTABILITY__n
call fcn.1400010e4
lea rcx, str.___FITNESS_FOR_A_PARTICULAR_PURPOSE_AND_NONINFRINGEMENT.IN_NO_EVENT_SHALL_THE_n
call fcn.1400010e4
lea rcx, str.___AUTHORS_OR_COPYRIGHT_HOLDERS_BE_LIABLE_FOR_ANY_CLAIM__DAMAGES_OR_OTHER_n
call fcn.1400010e4
lea rcx, str.___LIABILITY__WHETHER_IN_AN_ACTION_OF_CONTRACT__TORT_OR_OTHERWISE__ARISING_FROM__n
call fcn.1400010e4
lea rcx, str.___OUT_OF_OR_IN_CONNECTION_WITH_THE_SOFTWARE_OR_THE_USE_OR_OTHER_DEALINGS_IN_n
call fcn.1400010e4
lea rcx, str.___THE_SOFTWARE._n
call fcn.1400010e4
mov rcx, r12
call fcn.1400010e4
lea rcx, str.ZLIB_Data_Compression_Library:_Copyright__c__1995_2017_Jean_loup_Gailly_and_Mark_Adler_n
call fcn.1400010e4
lea rcx, str._______________________________http:__www.zlib.net__n
call fcn.1400010e4
mov rcx, r15
call fcn.1400010e4
lea rcx, str.___This_software_is_provided_as_is__without_any_express_or_implied_n
call fcn.1400010e4
lea rcx, str.___warranty.In_no_event_will_the_authors_be_held_liable_for_any_damages_n
call fcn.1400010e4
lea rcx, str.___arising_from_the_use_of_this_software._n
call fcn.1400010e4
lea r14, [0x1402564e0]
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___Permission_is_granted_to_anyone_to_use_this_software_for_any_purpose__n
call fcn.1400010e4
lea rcx, str.___including_commercial_applications__and_to_alter_it_and_redistribute_it_n
call fcn.1400010e4
lea rcx, str.___freely__subject_to_the_following_restrictions_:_n
call fcn.1400010e4
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___1._The_origin_of_this_software_must_not_be_misrepresented__you_must_not_n
call fcn.1400010e4
lea rcx, str.______claim_that_you_wrote_the_original_software.If_you_use_this_software_n
call fcn.1400010e4
lea rcx, str.______in_a_product__an_acknowledgment_in_the_product_documentation_would_be_n
call fcn.1400010e4
lea rcx, str.______appreciated_but_is_not_required._n
call fcn.1400010e4
lea rcx, str.___2._Altered_source_versions_must_be_plainly_marked_as_such__and_must_not_be_n
call fcn.1400010e4
lea rcx, str.______misrepresented_as_being_the_original_software._n
call fcn.1400010e4
lea rcx, str.___3._This_notice_may_not_be_removed_or_altered_from_any_source_distribution._n
call fcn.1400010e4
mov rcx, r14
call fcn.1400010e4
lea rcx, str.___Jean___loup_Gailly________Mark_Adler_n
call fcn.1400010e4
lea rcx, str.___jloup_gzip.org____________madler_alumni.caltech.edu_n
call fcn.1400010e4
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b52ed
mov rcx, rdi
call fcn.140097134
xor eax, eax
jmp 0x1400b6777
mov r12, rbx
mov qword [rsp + 0x58], rbx
mov r15d, ebx
mov dword [rsp + 0x60], ebx
cmp r14d, esi
jle 0x1400b5437
lea rdx, str._info
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5437
lea r8, str.Aug_30_2021
lea rdx, str.13:53:22
lea rcx, str.Compiled_on:__s___s_n
call fcn.1400010e4
lea rdx, str.f4b1a7daa7bad99bda1eb62d0756d80792327a44
lea rcx, str.___Commit_Hash:__s_n
call fcn.1400010e4
lea rdx, str.2021_Aug_30_12:40:28_0700
lea rcx, str.___Commit_Date:__s_n
call fcn.1400010e4
xor ecx, ecx
call fcn.1400d3470
mov rdx, rax
lea rcx, str.Using__s_n
call fcn.1400010e4
mov edx, 4
lea rcx, str.Agent_ARCHID:__d_n
call fcn.1400010e4
movaps xmm0, xmmword [str.console.log_Detected_OS:___require_os_.Name_______require_os_.arch____process.exit___]
movaps xmmword [rsp + 0x600], xmm0
movaps xmm1, xmmword [0x1402a10d0]
movaps xmmword [rsp + 0x610], xmm1
movaps xmm0, xmmword [0x1402a10e0]
movaps xmmword [rsp + 0x620], xmm0
movaps xmm1, xmmword [0x1402a10f0]
movaps xmmword [rsp + 0x630], xmm1
movaps xmm0, xmmword [0x1402a1100]
movaps xmmword [rsp + 0x640], xmm0
movaps xmm1, xmmword [0x1402a1110]
movaps xmmword [rsp + 0x650], xmm1
mov al, byte [0x1402a1120]
mov byte [rsp + 0x660], al
mov r15d, 0x60
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], r15d
cmp r14d, 2
jle 0x1400b5550
lea rdx, str._faddr
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b54c2
mov qword [rsp + 0x50], rbx
mov rcx, qword [rdi + 0x10]
add rcx, 2
lea r8, [rsp + 0x50]
lea rdx, str._016llx
call fcn.14000d62c
mov r8, qword [rsp + 0x50]
call fcn.140098ae4
lea rdx, [0x1402caa40]
lea rcx, [0x14025431c]
call fcn.1400010e4
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b54a3
jmp 0x1400b5307
cmp r14d, 2
jle 0x1400b5550
lea rdx, str._fdelta
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5550
mov qword [rsp + 0x50], rbx
lea r8, [rsp + 0x50]
lea rdx, str._lld
mov rcx, qword [rdi + 0x10]
call fcn.14000d62c
lea r8, [0x14009791c]
sub r8, qword [rsp + 0x50]
call fcn.140098ae4
lea rdx, [0x1402caa40]
lea rcx, [0x14025431c]
call fcn.1400010e4
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b5531
jmp 0x1400b5307
test r12, r12
je 0x1400b555a
test r15d, r15d
jne 0x1400b55c8
mov r8d, 0x104
lea rdx, [rsp + 0x600]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x208
lea rax, [rsp + 0xa20]
mov qword [rsp + 0x20], rax
mov r9d, r13d
lea r8, [rsp + 0x600]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xa20]
call fcn.140087098
mov r12, qword [rsp + 0x58]
mov r15d, dword [rsp + 0x60]
cmp r14d, 2
jle 0x1400b5667
lea rdx, str._exec
mov rcx, qword [rdi + 8]
call fcn.1401dc080
test eax, eax
jne 0x1400b5618
test r15d, r15d
jne 0x1400b5618
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.14009f228
mov r12, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400b5608
mov r15d, ebx
jmp 0x1400b5618
mov edx, 0x1000
mov rcx, rax
call fcn.1401d0c68
mov r15, rax
cmp r14d, 2
jle 0x1400b5667
lea rdx, str._b64exec
mov rcx, qword [rdi + 8]
call fcn.1401dc080
test eax, eax
jne 0x1400b5667
test r15d, r15d
jne 0x1400b5667
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400b5645
mov rax, rbx
jmp 0x1400b564f
mov edx, 0x10000
call fcn.1401d0c68
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, qword [rdi + 0x10]
call fcn.14009d66c
mov r15d, eax
mov r12, qword [rsp + 0x58]
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str._nodeid
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b56f3
movups xmm0, xmmword [str.console.log_require__agentNodeId_____process.exit___]
movups xmmword [rsp + 0x600], xmm0
movups xmm1, xmmword [0x1402a1178]
movups xmmword [rsp + 0x610], xmm1
movups xmm0, xmmword [0x1402a1188]
movups xmmword [rsp + 0x620], xmm0
mov eax, dword [0x1402a1198]
mov dword [rsp + 0x630], eax
movzx eax, word [0x1402a119c]
mov word [rsp + 0x634], ax
mov al, byte [0x1402a119e]
mov byte [rsp + 0x636], al
mov r15d, gethostname
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str._name
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5781
movaps xmm0, xmmword [str.console.log_require__agentNodeId_.serviceName____process.exit___]
movaps xmmword [rsp + 0x600], xmm0
movaps xmm1, xmmword [0x1402a11c0]
movaps xmmword [rsp + 0x610], xmm1
movaps xmm0, xmmword [0x1402a11d0]
movaps xmmword [rsp + 0x620], xmm0
movaps xmm1, xmmword [0x1402a11e0]
movaps xmmword [rsp + 0x630], xmm1
movzx eax, word [0x1402a11f0]
mov word [rsp + 0x640], ax
mov al, byte [0x1402a11f2]
mov byte [rsp + 0x642], al
mov r15d, 0x42
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str.state
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5836
lea rdx, [rsp + 0x600]
lea rax, [0x140000000]
lea rcx, [rax + 0x2a1200]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov eax, 0x80
add rdx, rax
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm0
add rcx, rax
movups xmm1, xmmword [rcx]
movups xmmword [rdx], xmm1
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x20], rax
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x28], eax
mov r15d, 0xab
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str.start
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b586b
lea rdx, str._start
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5907
lea rcx, [rsp + 0x600]
lea rax, [0x140000000]
lea rax, [rax + 0x2a12c0]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov edx, 0x80
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movzx eax, word [rax + 0x40]
mov word [rcx + 0x40], ax
lea r15d, [rdx + 0x41]
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str.stop
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b593c
lea rdx, str._stop
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b59bd
lea rax, [rsp + 0x600]
lea rcx, str.tryrequire_service_manager_.manager.getService_require__agentNodeId_.serviceName___.stop__.then_function_m_console.log_Service_Stopped__process.exit_____function_m_console.log_m__process.exit_____catch_z_console.log_Failed_to_stop_service__process.exit___
mov edx, 0x80
lea r8d, [rdx - 0x7e]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, rdx
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, rdx
sub r8, 1
jne 0x1400b5954
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
mov r15d, 0x10f
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str.restart
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b59f2
lea rdx, str._restart
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5a7b
lea rcx, [rsp + 0x600]
lea rax, str.tryrequire_service_manager_.manager.getService_require__agentNodeId_.serviceName___.restart__.then_function_m_console.log_Service_Restarted__process.exit_____function_m_console.log_m__process.exit_____catch_z_console.log_Failed_to_restart_service__process.exit___
mov edx, 0x80
lea r8d, [rdx - 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
sub r8, 1
jne 0x1400b5a0a
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rax, qword [rax + 0x10]
mov qword [rcx + 0x10], rax
mov r15d, 0x117
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str._agentHash
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5b25
test r15d, r15d
jne 0x1400b5b25
movaps xmm0, xmmword [str.console.log_getSHA384FileHash_process.execPath_.toString_hex_.substring_0_16___process.exit___]
movaps xmmword [rsp + 0x600], xmm0
movaps xmm1, xmmword [0x1402a1610]
movaps xmmword [rsp + 0x610], xmm1
movaps xmm0, xmmword [0x1402a1620]
movaps xmmword [rsp + 0x620], xmm0
movaps xmm1, xmmword [0x1402a1630]
movaps xmmword [rsp + 0x630], xmm1
movaps xmm0, xmmword [0x1402a1640]
movaps xmmword [rsp + 0x640], xmm0
movaps xmm1, xmmword [0x1402a1650]
movaps xmmword [rsp + 0x650], xmm1
mov al, byte [0x1402a1660]
mov byte [rsp + 0x660], al
mov r15d, 0x60
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
cmp r14d, esi
jle 0x1400b5bb8
lea rdx, str._agentFullHash
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5bb8
test r15d, r15d
jne 0x1400b5bb8
movaps xmm0, xmmword [str.console.log_getSHA384FileHash_process.execPath_.toString_hex___process.exit___]
movaps xmmword [rsp + 0x600], xmm0
movaps xmm1, xmmword [0x1402a1690]
movaps xmmword [rsp + 0x610], xmm1
movaps xmm0, xmmword [0x1402a16a0]
movaps xmmword [rsp + 0x620], xmm0
movaps xmm1, xmmword [0x1402a16b0]
movaps xmmword [rsp + 0x630], xmm1
movaps xmm0, xmmword [0x1402a16c0]
movaps xmmword [rsp + 0x640], xmm0
mov al, byte [0x1402a16d0]
mov byte [rsp + 0x650], al
mov r15d, 0x50
mov edx, r15d
lea rcx, [rsp + 0x600]
call fcn.14009f228
mov r12, rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp r14d, esi
jle 0x1400b5ebe
lea rdx, str._updaterversion
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5c3f
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x58]
mov r8d, 2
lea rdx, [0x1402a16e8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b5c20
jmp 0x1400b5307
cmp r14d, esi
jle 0x1400b5ebe
lea rdx, str._kvm0
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5d7c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x20]
call fcn.140097330
mov r12, rax
lea rax, [0x1400b4d64]
mov qword [r12], rax
mov dword [r12 + 0x10], ebx
cmp r14d, 2
jle 0x1400b5c9f
lea rdx, str._coredump
mov rcx, qword [rdi + 0x10]
call fcn.1401dbb60
test eax, eax
mov eax, esi
je 0x1400b5ca1
mov eax, ebx
mov dword [r12 + 0x18], eax
cmp r14d, 2
jle 0x1400b5cc0
lea rdx, str._remotecursor
mov rcx, qword [rdi + 0x10]
call fcn.1401dbb60
test eax, eax
je 0x1400b5cda
cmp r14d, 3
jle 0x1400b5ce0
lea rdx, str._remotecursor
mov rcx, qword [rdi + 0x18]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5ce0
mov dword [0x1402c6370], esi
xor edx, edx
mov r8d, 0x800
lea rcx, str.Shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r14, rax
mov r15, rbx
test rax, rax
je 0x1400b5d24
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x1400b5d24
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, rbx
test r15, r15
je 0x1400b5d3c
mov ecx, 2
call r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400b5d42
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov rcx, r12
call fcn.14000f3b8
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b5d5d
jmp 0x1400b5307
cmp r14d, esi
jle 0x1400b5ebe
lea rdx, str._kvm1
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5ebe
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x20]
call fcn.140097330
mov r12, rax
lea rax, [0x1400b4d64]
mov qword [r12], rax
mov dword [r12 + 0x10], esi
cmp r14d, 2
jle 0x1400b5ddc
lea rdx, str._coredump
mov rcx, qword [rdi + 0x10]
call fcn.1401dbb60
test eax, eax
mov eax, esi
je 0x1400b5dde
mov eax, ebx
mov dword [r12 + 0x18], eax
cmp r14d, 2
jle 0x1400b5dfd
lea rdx, str._remotecursor
mov rcx, qword [rdi + 0x10]
call fcn.1401dbb60
test eax, eax
je 0x1400b5e17
cmp r14d, 3
jle 0x1400b5e1d
lea rdx, str._remotecursor
mov rcx, qword [rdi + 0x18]
call fcn.1401dbb60
test eax, eax
jne 0x1400b5e1d
mov dword [0x1402c6370], esi
xor edx, edx
mov r8d, 0x800
lea rcx, str.Shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r14, rax
mov r15, rbx
test rax, rax
je 0x1400b5e61
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x1400b5e61
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, rbx
test r15, r15
je 0x1400b5e79
mov ecx, 2
call r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400b5e7f
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov rcx, r12
call fcn.14000f3b8
mov r15d, ebx
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b675d
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add r15d, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp r15d, eax
jl 0x1400b5e9d
jmp 0x1400b675d
test r12, r12
jne 0x1400b6675
test r14d, r14d
jle 0x1400b5ee3
lea rdx, str.__slave
mov rcx, qword [rdi]
call fcn.1401dbb60
test eax, eax
je 0x1400b6675
cmp r14d, esi
jle 0x1400b6184
lea rdx, [0x140256d60]
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b6675
lea rdx, str.connect
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b6675
lea rdx, str.__slave
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b6675
cmp r14d, esi
jle 0x1400b6184
mov rax, qword [rdi + 8]
mov rcx, qword [rax]
cmp rcx, qword [str._update:]
jne 0x1400b6091
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov r12d, 0x400
mov ecx, r12d
call fcn.140097330
mov r15, rax
mov rcx, qword [rdi + 8]
cmp byte [rcx + 8], 0x2a
jne 0x1400b5fb6
cmp r14d, 2
jle 0x1400b5f80
mov rax, qword [rdi + 0x10]
jmp 0x1400b5f87
lea rax, str.null
lea r8, str.true
lea r9, str.false
cmp byte [rcx + 9], 0x53
cmove r9, r8
mov qword [rsp + 0x20], rax
lea r8, str.require_agent_installer_.update__s___s__
mov rdx, r12
mov rcx, r15
call fcn.140001138
jmp 0x1400b600e
cmp r14d, 2
jle 0x1400b5ffc
lea rdx, [0x140256d60]
mov rcx, qword [rdi + 0x10]
call fcn.1401dc080
test eax, eax
je 0x1400b5fe4
lea rdx, str.connect
mov rcx, qword [rdi + 0x10]
call fcn.1401dc080
test eax, eax
jne 0x1400b5ffc
mov r9, qword [rdi + 0x10]
lea r8, str.require_agent_installer_.update_false____s___
mov rdx, r12
mov rcx, r15
call fcn.140001138
jmp 0x1400b600e
lea r8, str.require_agent_installer_.update_true__
mov rdx, r12
mov rcx, r15
call fcn.140001138
mov r12d, eax
xor ecx, ecx
call fcn.140008504
mov qword [0x1402c6588], rax
mov qword [rax + 0x20], r15
mov dword [rax + 0x28], r12d
mov r8, rdi
mov edx, r14d
call fcn.14000c210
mov rax, qword [0x1402c6588]
mov r15d, dword [rax + 0xbac]
mov dword [rsp + 0x74], r15d
call fcn.14000c91c
mov qword [0x1402c6588], rbx
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b675a
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b6064
jmp 0x1400b675a
cmp r14d, esi
jle 0x1400b6184
lea rdx, str._netinfo
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b60cf
lea rcx, [rsp + 0x78]
call fcn.1400110c0
test eax, eax
jle 0x1400b663d
mov rcx, qword [rsp + 0x78]
call fcn.1400b4990
jmp 0x1400b663d
cmp r14d, esi
jle 0x1400b6184
lea rdx, str._setfirewall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b6133
mov r8d, 0x104
lea rdx, [rsp + 0x810]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.1400b49e4
test eax, eax
jne 0x1400b6117
lea rcx, str.Must_run_as_administrator
jmp 0x1400b65a9
lea rcx, [rsp + 0x810]
call fcn.1400b470c
lea rcx, [rsp + 0x810]
call fcn.1400b4280
jmp 0x1400b6178
cmp r14d, esi
jle 0x1400b6184
lea rdx, str._clearfirewall
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b6184
mov r8d, 0x104
lea rdx, [rsp + 0x810]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.1400b49e4
test eax, eax
je 0x1400b610b
lea rcx, [rsp + 0x810]
call fcn.1400b470c
lea rcx, str.Done
jmp 0x1400b65a9
mov r12d, 2
cmp r14d, r12d
jne 0x1400b6266
lea rdx, str._resetnodeid
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b6266
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, [0x140256870]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400b6223
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 2]
xor r8d, r8d
lea rdx, str.ResetNodeId
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400b6216
lea rcx, str.NodeID_will_be_reset_next_time_the_Mesh_Agent_service_is_started.
call fcn.1400010e4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400b622f
lea rcx, str.Error_writing_to_registry__try_running_as_administrator.
call fcn.1400010e4
mov r15d, ebx
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b675d
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add r15d, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp r15d, eax
jl 0x1400b6245
jmp 0x1400b675d
mov r15d, ebx
lea rax, str.Mesh_Agent_background_service
mov qword [rsp + 0x600], rax
lea rax, [0x1400b4bd8]
mov qword [rsp + 0x608], rax
mov qword [rsp + 0x610], rbx
mov qword [rsp + 0x618], rbx
mov dword [0x1402c67f0], r14d
mov qword [0x1402c67e8], rdi
lea rcx, [rsp + 0x600]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x1400b663d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x427
jne 0x1400b663d
cmp r14d, r12d
jl 0x1400b64c1
mov dword [rsp + 0x20], esi
mov r9d, 3
lea r8, [0x140257064]
mov rdx, r13
mov rcx, qword [rdi + 8]
call fcn.14009ee6c
test eax, eax
jne 0x1400b6315
mov dword [rsp + 0x20], esi
lea r9d, [rax + 4]
lea r8, str..zip
mov rdx, r13
mov rcx, qword [rdi + 8]
call fcn.14009ee6c
test eax, eax
je 0x1400b6363
mov edx, esi
lea rcx, [0x1400b4da8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
nop
xor ecx, ecx
call fcn.140008504
mov qword [0x1402c6588], rax
mov dword [rax + 0xbe4], esi
mov r8, rdi
mov edx, r14d
call fcn.14000c210
call fcn.14000c91c
mov qword [0x1402c6588], rbx
jmp 0x1400b663d
cmp r14d, r12d
jne 0x1400b64c1
lea rdx, [0x1402a18a4]
mov rcx, qword [rdi + 8]
call fcn.1401dc080
test eax, eax
jne 0x1400b645f
mov r8d, 0x104
lea rdx, [rsp + 0xa20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r9d, 0x104
lea r8, [rsp + 0x600]
mov edx, r13d
lea rcx, [rsp + 0xa20]
call fcn.140096914
xor ecx, ecx
call fcn.140097784
mov r14, rax
mov rcx, rax
call fcn.14009a590
call fcn.140089b90
mov rcx, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x600]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov r9, r14
xor r8d, r8d
xor edx, edx
call fcn.14008a0fc
mov r15, rax
mov r9d, 0xe88
lea rdx, str.require_util_language_.current.toUpperCase__.split___.join____
mov rcx, rax
call fcn.14001a28c
test eax, eax
jne 0x1400b643e
xor r8d, r8d
mov edx, r13d
mov rcx, r15
call fcn.14001c930
mov rdx, rax
lea rcx, str.Current_Language:__s_n
call fcn.1400010e4
mov rcx, r15
call fcn.1400655b8
mov dword [r14], r12d
mov rcx, r14
call fcn.1400979a8
mov rcx, r14
call fcn.14009a644
mov r14d, esi
mov r15d, esi
cmp r14d, r12d
jne 0x1400b64c1
mov rcx, qword [rdi + 8]
mov rax, r13
inc rax
cmp byte [rcx + rax], bl
jne 0x1400b646b
mov r8d, 6
cmp rax, r8
jbe 0x1400b64c1
lea rdx, str._lang
call fcn.1401cf370
test eax, eax
jne 0x1400b64c1
mov rcx, qword [rdi + 8]
inc r13
cmp byte [rcx + r13], bl
jne 0x1400b6492
mov rdx, r13
mov r9, rsi
lea r8, [0x1402564e4]
call fcn.14009ef30
movsxd rcx, eax
inc rcx
add rcx, qword [rdi + 8]
mov qword [0x1402c6598], rcx
mov r14d, esi
cmp r14d, esi
je 0x1400b65b3
lea rcx, str.Mesh_Agent_available_switches:_r_n
call fcn.1400010e4
lea rcx, str.__run_______________Start_as_a_console_agent._r_n
call fcn.1400010e4
lea rcx, str.__connect___________Start_as_a_temporary_console_agent._r_n
call fcn.1400010e4
lea rcx, str.__start_____________Start_the_service._r_n
call fcn.1400010e4
lea rcx, str.__restart___________Restart_the_service._r_n
call fcn.1400010e4
lea rcx, str.__stop______________Stop_the_service._r_n
call fcn.1400010e4
lea rcx, str.__state_____________Display_the_running_state_of_the_service._r_n
call fcn.1400010e4
lea rcx, str.___signcheck________Perform_self___check._r_n
call fcn.1400010e4
lea rcx, str.___install__________Install_the_service_from_this_location._r_n
call fcn.1400010e4
lea rcx, str.___uninstall________Remove_the_service_from_this_location._r_n
call fcn.1400010e4
lea rcx, str.___nodeid_t_t_tReturn_the_current_agent_identifier._r_n
call fcn.1400010e4
lea rcx, str.___resetnodeid______Reset_the_NodeID_next_time_the_service_is_started._r_n
call fcn.1400010e4
lea rcx, str.___fulluninstall____Stop_agent_and_clean_up_the_program_files_location._r_n
call fcn.1400010e4
lea rcx, str.___fullinstall______Copy_agent_into_program_files__install_and_launch._r_n
call fcn.1400010e4
lea rcx, [0x140263d0c]
call fcn.1400010e4
lea rcx, str.____________________The_following_switches_can_be_specified_after__fullinstall:_r_n
call fcn.1400010e4
lea rcx, [0x140263d0c]
call fcn.1400010e4
lea rcx, str._______WebProxy_http:__proxyhost:port_______Specify_an_HTTPS_proxy._r_n
call fcn.1400010e4
lea rcx, str._______agentName_alternate_name_____________Specify_an_alternate_name_to_be_provided_by_the_agent._r_n
call fcn.1400010e4
jmp 0x1400b663d
test r15d, r15d
jne 0x1400b663d
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov r8d, 0x800
lea rcx, str.Shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov r14, rax
mov r15, rbx
test rax, rax
je 0x1400b6606
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
jne 0x1400b6606
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r14, rbx
test r15, r15
je 0x1400b661c
mov ecx, r12d
call r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400b6622
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov qword [rsp + 0x20], rbx
lea r9, [0x1400b6910]
xor r8d, r8d
lea edx, [r8 + 0x67]
xor ecx, ecx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b5307
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b6656
jmp 0x1400b5307
mov edx, esi
lea rcx, [0x1400b4da8]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
nop
mov r13d, ebx
mov dword [rsp + 0x70], ebx
cmp r14d, esi
jle 0x1400b66b1
lea rdx, str.connect
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
mov ecx, 0x20
test eax, eax
cmove r13d, ecx
mov dword [rsp + 0x70], r13d
mov ecx, r13d
call fcn.140008504
mov qword [0x1402c6588], rax
mov qword [rax + 0x20], r12
mov dword [rax + 0x28], r15d
test r12, r12
jne 0x1400b6701
cmp r14d, esi
jle 0x1400b6707
lea rdx, [0x140256d60]
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
je 0x1400b66fa
lea rdx, str.connect
mov rcx, qword [rdi + 8]
call fcn.1401dbb60
test eax, eax
jne 0x1400b6707
mov rax, qword [0x1402c6588]
mov dword [rax + 0xbe4], esi
mov r8, rdi
mov edx, r14d
call fcn.14000c210
mov rax, qword [0x1402c6588]
mov r15d, dword [rax + 0xbac]
mov dword [rsp + 0x74], r15d
call fcn.14000c91c
mov qword [0x1402c6588], rbx
mov rax, qword [rdi - 0x18]
shr rax, 3
test eax, eax
jle 0x1400b675a
mov r14, rdi
mov rcx, qword [r14]
call fcn.140097134
add ebx, esi
lea r14, [r14 + 8]
mov rax, qword [rdi - 0x18]
shr rax, 3
cmp ebx, eax
jl 0x1400b6740
mov ebx, r15d
mov rcx, rdi
call fcn.140097134
mov eax, ebx
jmp 0x1400b6777
mov rcx, qword [rsp + 0xc30]
xor rcx, rsp
call fcn.1401c7760
lea r11, [rsp + 0xc40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret