Function at 0x1400043f8
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
mov rax, qword [0x1402aaed0]
xor rax, rbp
mov qword [rbp + 0x160], rax
mov r13, rcx
mov qword [rbp + 0x20], rcx
movzx ecx, word [r8]
mov r14, r8
movsxd r15, r9d
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_ntohs]
xor r12d, r12d
mov word [rbp + 8], ax
movzx edi, ax
cmp dword [rsi + 0x9e4], r12d
je 0x14000446e
movzx ebx, ax
lea rcx, str.ProcessCommand__u_..._n
mov edx, ebx
call fcn.140001090
mov edx, ebx
lea rcx, str.ProcessCommand__u_...
call fcn.140093eb0
cmp dword [rsi + 0xb28], 3
je 0x1400049b8
mov rcx, qword [r13 + 0xe8]
mov rcx, qword [rcx + 0x2a8]
call fcn.140180a80
movzx edx, di
mov r12, rax
mov qword [rbp], rax
sub edx, 1
je 0x14000471e
sub edx, 1
je 0x1400044f4
cmp edx, 2
jne 0x1400049a2
cmp dword [rsi + 0x9e4], 0
je 0x1400044d0
lea rcx, str.Authentication_Complete..._n
call fcn.140001090
lea rcx, str.Authentication_Complete...
call fcn.140093eb0
or dword [rsi + 0xb28], 2
cmp dword [rsi + 0xb28], 3
jne 0x1400049a2
mov rdx, rsi
mov rcx, r13
call fcn.140003e28
jmp 0x1400049a2
cmp r15d, 8
jle 0x1400049a2
cmp dword [rsi + 0x9e4], 0
je 0x140004513
lea rcx, str.Processing_Authentication_Verification...
call fcn.140093eb0
mov eax, dword [rsp]
sub rsp, 0x20
lea rdi, [rsp + 0x30]
mov eax, dword [rdi]
mov qword [rbp + 0x18], rdi
lea rax, [r14 + 4]
mov qword [rdi], rax
movzx ecx, word [r14 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
lea rax, [r14 + 4]
add rax, rcx
mov word [rdi + 8], cx
mov qword [rdi + 0xa], rax
movzx eax, r15w
sub ax, cx
sub ax, 4
mov word [rdi + 0x12], ax
lea eax, [rcx + 4]
cmp r15d, eax
jle 0x1400049a2
and qword [rbp + 0x10], 0
mov r8d, ecx
mov ebx, 0x30
lea rcx, [rbp + 0x10]
mov rdx, rdi
mov dword [rbp + 8], ebx
call fcn.1400b2e50
test rax, rax
jne 0x140004596
lea rcx, str.Invalid_server_certificate_r_n
call fcn.140001090
jmp 0x1400049a2
call fcn.1400b4610
mov rcx, qword [rbp + 0x10]
lea r14, [0x1402b2820]
mov r8, r14
lea r9, [rbp + 8]
mov rdx, rax
call fcn.1400b57e0
lea rdi, [rsi + 0xa2c]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1401baf40
test eax, eax
je 0x140004604
call fcn.1400b4600
mov rcx, qword [rbp + 0x10]
lea r9, [rbp + 8]
mov rdx, rax
mov r8, r14
call fcn.1400b57e0
mov r8d, 0x20
mov rdx, rdi
mov rcx, r14
call fcn.1401baf40
test eax, eax
je 0x140004604
lea rcx, str.Server_certificate_mismatch_r_n
jmp 0x14000458c
lea rcx, [rbp + 0x30]
call fcn.1400b02f0
lea rdi, [0x1402b3820]
mov rcx, r12
mov rdx, rdi
call fcn.14008a67c
mov r8, rbx
lea rcx, [rbp + 0x30]
mov rdx, rdi
call fcn.1400b0380
lea rdx, [rsi + 0xaf8]
mov r8, rbx
lea rcx, [rbp + 0x30]
call fcn.1400b0380
lea rdx, [rsi + 0xac8]
mov r8, rbx
lea rcx, [rbp + 0x30]
call fcn.1400b0380
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.1400b02d0
mov rcx, qword [rbp + 0x10]
call fcn.1400b6620
mov rcx, rax
mov r15, rax
call fcn.1400b3430
mov r9, qword [rbp + 0x18]
mov r8d, ebx
mov qword [rsp + 0x28], rax
mov rdx, r14
mov r13, rax
movzx ecx, word [r9 + 0x12]
mov r9, qword [r9 + 0xa]
mov dword [rsp + 0x20], ecx
mov ecx, 0x2a1
call fcn.1400b3d30
mov r12d, 1
cmp eax, r12d
jne 0x1400046df
and qword [rsp + 0x28], 0
lea r8d, [r12 + 0x10]
mov rcx, qword [rsi + 0x48]
lea rdx, str.ServerTlsCertHash
or dword [rsi + 0xb28], r12d
mov r9, rdi
mov dword [rsp + 0x20], ebx
call fcn.140096e04
mov rdx, qword [rbp + 0x20]
mov rcx, rsi
call fcn.140003f58
jmp 0x140004700
lea rcx, str.Invalid_server_signature_r_n
call fcn.140001090
cmp dword [rsi + 0x9e4], 0
je 0x140004700
lea rcx, str.Invalid_Server_Signature
call fcn.140093eb0
mov rcx, r13
call fcn.1400b5a40
mov rcx, r15
call fcn.1400b31f0
mov rcx, qword [rbp + 0x10]
call fcn.1400b2d80
jmp 0x1400048ec
cmp r15d, 0x62
jne 0x1400049a2
cmp dword [rsi + 0x9e4], 0
je 0x14000473d
lea rcx, str.Processing_Authentication_Request...
call fcn.140093eb0
lea rdi, [0x1402b3820]
mov rcx, r12
mov rdx, rdi
call fcn.14008a67c
lea r15, [r14 + 2]
mov ebx, 0x30
mov r8d, ebx
mov rdx, r15
mov rcx, rdi
call fcn.1401baf40
test eax, eax
je 0x1400047c5
mov dword [rbp + 0x10], ebx
test r12, r12
je 0x140004789
call fcn.1400b4610
mov rdx, rax
lea r9, [rbp + 0x10]
mov r8, rdi
mov rcx, r12
call fcn.1400b57e0
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1401baf40
test eax, eax
je 0x1400047c5
lea rcx, str.Bad_server_certificate_hash_r_n
call fcn.140001090
cmp dword [rsi + 0x9e4], 0
je 0x1400049a2
lea rcx, str.Bad_server_certificate_hash
call fcn.140093eb0
jmp 0x1400049a2
lea rcx, [rsi + 0xac8]
mov r9, rbx
lea r8, [r14 + 0x32]
mov rdx, rbx
call section..text
mov ecx, 2
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [0x1402b3824]
mov word [0x1402b3820], ax
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
mov rcx, qword [rsi + 0xa68]
call fcn.1400b2f30
movzx ecx, ax
mov dword [rbp + 0x10], eax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402b3822], ax
cmp qword [rsi + 0xa70], 0
je 0x1400048f5
lea rcx, [rbp + 0x30]
call fcn.1400b02f0
mov r8, rbx
lea rcx, [rbp + 0x30]
mov rdx, r15
call fcn.1400b0380
mov r8, rbx
lea rdx, [rsi + 0xac8]
lea rcx, [rbp + 0x30]
call fcn.1400b0380
lea rdx, [rsi + 0xaf8]
mov r8, rbx
lea rcx, [rbp + 0x30]
call fcn.1400b0380
lea r14, [0x1402b2820]
mov rcx, r14
lea rdx, [rbp + 0x30]
call fcn.1400b02d0
mov rcx, qword [rsi + 0xa70]
call fcn.1400b3430
movsx r15, word [rbp + 0x10]
lea r9, [rdi + 4]
mov qword [rsp + 0x28], rax
mov edx, 0xfffc
sub edx, r15d
mov rsi, rax
mov dword [rbp + 8], edx
lea rax, [rbp + 8]
mov rdx, r14
mov qword [rsp + 0x20], rax
add r9, r15
mov r8d, ebx
mov ecx, 0x2a1
call fcn.1400b3be0
mov r12d, 1
cmp eax, r12d
jne 0x1400048e4
mov r9d, dword [rbp + 8]
lea edx, [r12 + 1]
add r9d, 4
mov r8, rdi
add r9d, r15d
mov rcx, r13
call fcn.140098f18
mov rcx, rsi
call fcn.1400b5a40
mov r12, qword [rbp]
jmp 0x1400049a2
mov r9, rbx
lea rcx, [0x1402b2820]
mov r8, r15
mov edx, 0x1000
call section..text
mov r9, rbx
lea r8, [rsi + 0xac8]
mov edx, 0xfd0
lea rcx, [0x1402b2850]
call section..text
lea r8, [rsi + 0xaf8]
mov r9, rbx
mov edx, 0xfa0
lea rcx, [0x1402b2880]
call section..text
mov rcx, qword [rsi + 0xa60]
lea r9, [rbp]
and qword [rbp], 0
call fcn.14000fea8
mov dword [rbp + 8], eax
test eax, eax
jle 0x1400049a2
movsx rbx, word [rbp + 0x10]
lea rcx, [rdi + 4]
mov r8, qword [rbp]
mov edx, 0xfffc
sub rdx, rbx
movsxd r9, eax
add rcx, rbx
call section..text
mov r9d, dword [rbp + 8]
mov r8, rdi
add r9d, 4
mov edx, 2
add r9d, ebx
mov rcx, r13
call fcn.140098f18
mov rcx, qword [rbp]
call fcn.1401c141c
test r12, r12
je 0x1400055b7
mov rcx, r12
call fcn.1400b2d80
jmp 0x1400055b7
mov eax, 0xa
cmp di, ax
jb 0x1400055b7
cmp byte [r14], 0x7b
je 0x140005478
mov eax, 0x3e8
cmp di, ax
jae 0x140005478
mov r13d, 4
cmp r15d, r13d
jl 0x1400055b7
movzx ecx, word [r14 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
mov word [rbp + 0x10], ax
cmp dword [rsi + 0x9e4], r12d
je 0x140004a38
movzx ebx, ax
lea rcx, str.BinaryCommand__u___u_..._n
movzx edi, di
mov r8d, ebx
mov edx, edi
call fcn.140001090
mov r8d, ebx
lea rcx, str.BinaryCommand__u___u_...
mov edx, edi
call fcn.140093eb0
movzx edi, word [rbp + 8]
movzx ebx, word [rbp + 0x10]
movzx ecx, di
sub ecx, 0xa
je 0x140004a76
sub ecx, 1
je 0x140005227
sub ecx, 1
je 0x14000518a
sub ecx, 1
je 0x140004dc7
sub ecx, 1
je 0x140004d21
sub ecx, 2
je 0x140004b57
cmp ecx, r13d
jne 0x1400055b7
lea rax, [r14 + 0x34]
mov qword [rbp + 0x18], rax
lea rax, [r15 - 0x34]
mov qword [rbp + 8], rax
cmp dword [rsi + 0x7c], r12d
jne 0x1400055b7
cmp r15, 0x34
jbe 0x140005431
mov r12d, 0x400
lea r15, str.CoreModule
mov edx, r12d
mov rcx, r15
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400976e4
mov qword [rbp], rax
mov ebx, 0x30
test rax, rax
je 0x140004ae3
lea rdx, [r14 + 4]
mov r8d, ebx
mov rcx, rax
call fcn.1401baf40
test eax, eax
je 0x1400053f9
and qword [rsi + 0x9e8], 0
cmp di, 0x14
jne 0x1400052c9
mov rdx, qword [rbp + 8]
lea r9, [rbp]
and qword [rbp], 0
lea rcx, [r14 + 0x34]
xor r8d, r8d
call fcn.14004cb48
test eax, eax
jne 0x1400055b7
mov rdx, qword [rbp]
mov rcx, qword [rsi]
call fcn.14008bbe8
mov rdx, qword [rbp + 8]
lea r9, [rbp]
mov r8, rax
mov qword [rbp + 0x28], rax
lea rcx, [r14 + 0x34]
call fcn.14004cb48
test eax, eax
jne 0x1400052be
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp]
mov qword [rbp + 0x18], rcx
mov qword [rbp + 8], rax
jmp 0x1400052c0
lea rcx, str.Server_verified_meshcore...
call fcn.140001090
cmp qword [rsi + 0x9e8], r12
je 0x140004d10
mov rcx, qword [rsi + 0x10]
call fcn.14001b8e4
mov rcx, qword [rsi + 0x10]
lea r8, str.clearTimeout
or edx, 0xffffffff
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
mov edx, 0xfffffffe
call fcn.140019b88
mov rdx, qword [rsi + 0x9e8]
mov rcx, qword [rsi + 0x10]
call fcn.14001c284
mov rcx, qword [rsi + 0x10]
mov edx, 1
call fcn.1400179c8
mov rcx, qword [rsi + 0x10]
call fcn.14001c4f8
and qword [rsi + 0x9e8], r12
lea r15, str.CoreModule
mov r12d, 0x400
mov rcx, r15
mov edx, r12d
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, eax
mov rdx, r15
call fcn.1400972a4
mov dword [rbp + 8], eax
mov edi, eax
cmp eax, r13d
jg 0x140004c0d
lea rcx, str._meshcore_not_found..._n
jmp 0x140004d17
lea rcx, str._Launching_meshcore..._n
call fcn.140001090
mov r9d, dword [rsi + 0x9f4]
test r9d, r9d
je 0x140004c94
lea r8, str.attachDebugger__webport:__d__wait:_1__.then_function__prt___console.log_Point_Browser_for_Debug_to_port:___prt______n
mov edx, 0xff
lea rcx, [rbp + 0x30]
call fcn.1400010e4
movsxd rbx, eax
xor r9d, r9d
add edi, ebx
xor r8d, r8d
mov ecx, edi
xor edx, edx
call fcn.14008bc74
mov rdx, r12
mov rcx, r15
mov r14, rax
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
lea r9, [r14 - 4]
add r9, rbx
mov dword [rsp + 0x20], edi
mov r8d, eax
mov rdx, r15
call fcn.1400972a4
mov ecx, dword [rbp + 8]
lea r8, [rbp + 0x30]
add ecx, 0xfffffffc
mov r9, rbx
movsxd rdx, ecx
lea rcx, [r14 + 4]
call section..text
add edi, 0xfffffffc
jmp 0x140004cc7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, edi
call fcn.14008bc74
mov rdx, r12
mov rcx, r15
mov r14, rax
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r9, r14
mov r8d, eax
mov dword [rsp + 0x20], edi
mov rdx, r15
call fcn.1400972a4
mov rcx, qword [rsi + 0x10]
lea r8d, [rdi - 4]
lea rdx, [r14 + 4]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
call fcn.14007f9c4
test eax, eax
jne 0x140004cfa
mov rcx, qword [rsi + 0x10]
xor edx, edx
call fcn.140017924
test eax, eax
je 0x140004d03
mov rcx, qword [rsi + 0x10]
call fcn.14001c4f8
mov rcx, r14
call fcn.1401c141c
jmp 0x1400055b7
lea rcx, str._meshcore_already_running..._n
call fcn.140001090
jmp 0x1400055b7
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.14000301c
mov rsi, rax
lea rbx, [0x1402af820]
or edi, 0xffffffff
mov r12d, 1
and qword [rbp], 0
mov r9d, edi
mov dword [rsp + 0x28], 0x1000
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x140287cd8]
mov rdx, rbx
lea rcx, [rbp]
call fcn.1401bc86c
mov r9, qword [rbp]
test r9, r9
je 0x140004db0
lea eax, [r15 - 4]
mov r8, r12
movsxd rdx, eax
lea rcx, [r14 + 4]
call fcn.1401c12c0
mov rcx, qword [rbp]
mov rbx, rax
call fcn.1401bc954
test rbx, rbx
jne 0x140004dbd
lea rbx, [0x1402af820]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004d44
mov ecx, reloc.WS2_32.dll_ntohl
jmp 0x14000533f
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.14000301c
mov qword [rbp + 0x18], rax
mov rdi, rax
cmp r15d, r13d
jne 0x140004dfc
cmp dword [rsi + 0x9dc], r12d
je 0x14000517d
lea rcx, str.SelfUpdate____Starting_download...
jmp 0x14000516b
cmp r15d, 0x34
jne 0x1400055b7
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.140003a24
test eax, eax
jne 0x14000515b
lea rdx, [r14 + 4]
lea r8d, [r15 - 4]
lea rcx, [rbp + 0x130]
call fcn.1401baf40
test eax, eax
jne 0x14000515b
mov rax, qword [rsi + 0x10]
mov r15, qword [rax + 0x70]
sub r15, qword [rax + 0x68]
sar r15, 4
cmp dword [rsi + 0x9dc], r12d
je 0x140004e6b
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____Download_Complete..._Hash_verified
xor edx, edx
call fcn.140093d88
lea r14, [0x1402b2820]
cmp dword [rsi + 0x9e0], r12d
je 0x140004f04
mov r9, qword [rsi + 0x38]
lea r8, str._s.zip
mov edx, 0x1000
mov rcx, r14
call fcn.1400010e4
mov rdx, r14
lea rcx, [rbp]
call fcn.140093374
mov ebx, eax
test eax, eax
jne 0x140004eca
mov rdx, qword [rsi + 0x38]
lea rcx, [rbp]
call fcn.140093374
mov ebx, eax
cmp dword [rsi + 0x9dc], r12d
je 0x140004eec
lea rcx, str.SelfUpdate____Overriding_update_with_same_version...
jmp 0x140004eda
cmp dword [rsi + 0x9dc], r12d
je 0x140004eec
lea rcx, str.SelfUpdate____Overriding_update_with_provided_zip...
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
call fcn.140093d88
mov rdx, qword [rbp]
mov r8d, ebx
mov rcx, rdi
call fcn.14009349c
cmp dword [rsi + 0x9e0], r12d
jne 0x140004f0d
cmp dword [rsi + 0x9d8], r12d
je 0x140004f7c
mov edx, 0x4000
lea rcx, [0x1402451a8]
call fcn.1401c21d0
mov edx, 0x400
lea rcx, str.disableUpdate
mov rbx, rax
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
lea r9, [0x1402451a8]
xor r13d, r13d
lea rdx, str.disableUpdate
mov qword [rsp + 0x28], r13
mov r8d, eax
mov dword [rsp + 0x20], ebx
call fcn.140096e04
cmp dword [rsi + 0x9dc], r13d
je 0x140004f7f
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.SelfUpdate____Disabling_future_updates...
xor edx, edx
call fcn.140093d88
jmp 0x140004f7f
xor r13d, r13d
mov rcx, qword [rsi + 0x10]
lea rdx, str.require_zip_reader_
mov r9d, 0xe08
call fcn.1400184b0
mov rcx, qword [rsi + 0x10]
or edi, 0xffffffff
mov edx, edi
call fcn.140019bc4
mov rcx, qword [rsi + 0x10]
lea r8, str.isZip
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
call fcn.140019b88
mov rbx, qword [rbp + 0x18]
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call fcn.14001b6b4
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 2]
mov edx, r12d
call fcn.1400179c8
mov rcx, qword [rsi + 0x10]
mov edx, edi
call fcn.14001a6f0
test eax, eax
je 0x140005142
cmp dword [rsi + 0x9dc], r13d
je 0x140005016
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.SelfUpdate____Unzipping_update...
xor edx, edx
call fcn.140093d88
mov rcx, qword [rsi + 0x10]
lea rdx, str.require_update_helper_
mov r9d, 0xe08
call fcn.1400184b0
mov rcx, qword [rsi + 0x10]
mov edx, edi
call fcn.140019bc4
mov rcx, qword [rsi + 0x10]
lea r8, str.start
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
mov edx, 0xfffffffe
call fcn.140019b88
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
call fcn.14001b6b4
mov rcx, qword [rsi + 0x10]
mov edx, r12d
call fcn.1400179c8
test eax, eax
jne 0x1400050ee
mov rcx, qword [rsi + 0x10]
mov edx, edi
call fcn.140019bc4
mov rcx, qword [rsi + 0x10]
lea r8, str.then
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
mov edx, 0xfffffffe
call fcn.140019b88
mov rcx, qword [rsi + 0x10]
lea rdx, [0x140004308]
mov ebx, 0x18075380
mov r14d, 6
mov r9d, ebx
mov dword [rsp + 0x20], r14d
mov r8d, edi
call fcn.14001bddc
mov rcx, qword [rsi + 0x10]
lea rdx, [0x14000436c]
mov r9d, ebx
mov dword [rsp + 0x20], r14d
mov r8d, edi
call fcn.14001bddc
mov rcx, qword [rsi + 0x10]
lea edx, [r14 - 4]
call fcn.1400179c8
jmp 0x140005131
cmp dword [rsi + 0x9dc], r13d
je 0x140005131
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
mov edx, edi
call fcn.14001aa50
mov r9, rax
lea r8, str.SelfUpdate____Error_Unzipping:__s
mov edx, 0x1000
mov rcx, r14
call fcn.1400010e4
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140093d88
mov rcx, qword [rsi + 0x10]
mov edx, r15d
call fcn.140019870
jmp 0x1400055b7
mov rcx, qword [rsi + 0x10]
mov edx, r15d
call fcn.140019870
mov rcx, rsi
call fcn.14000422c
jmp 0x1400055b7
cmp dword [rsi + 0x9dc], r12d
je 0x14000517d
lea rcx, str.SelfUpdate____Download_Complete..._Hash_FAILED__aborting_update...
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
call fcn.140093d88
mov rcx, rdi
call fcn.140089e84
jmp 0x1400055b7
mov ecx, ntohs
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
mov word [0x1402b3820], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402b3822], ax
lea rcx, [0x1402b3824]
cmp dword [rsi + 0x9d4], r12d
je 0x1400051c9
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.1401bad90
jmp 0x14000521c
cmp dword [rsi + 0x9d8], r12d
je 0x140005206
mov edx, 0xffff
mov r8d, 0x30
call fcn.1401bad90
cmp dword [rsi + 0x9dc], r12d
je 0x14000521c
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea rcx, str.SelfUpdate____Forcing_Update...
xor edx, edx
call fcn.140093d88
jmp 0x14000521c
mov ebx, 0x30
lea r8, [rsi + 0x9fc]
mov edx, ebx
mov r9, rbx
call section..text
mov r9d, gethostname
jmp 0x140005360
mov edx, 0x400
lea rcx, str.CoreModule
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400976e4
mov ecx, dword [rsi + 0x7c]
lea rdi, [0x1402b3820]
neg ecx
mov ebx, 0x30
mov rcx, rdi
mov r15, rax
sbb r14d, r14d
xor edx, edx
and r14d, ebx
lea r8d, [rbx + 4]
add r14d, r13d
call fcn.1401bad90
lea ecx, [rbx - 0x25]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp + 0x10]
mov word [0x1402b3820], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402b3822], ax
cmp dword [rsi + 0x7c], r12d
jne 0x1400052b3
test r15, r15
je 0x1400052b3
mov r9d, ebx
lea rcx, [0x1402b3824]
mov r8, r15
mov edx, ebx
call section..text
lea r14d, [rbx + 4]
mov r9d, r14d
mov r8, rdi
jmp 0x140005367
xor ecx, ecx
test rcx, rcx
je 0x1400055b7
mov rax, qword [rbp + 8]
mov r8d, 0xa
mov rdi, qword [rbp + 0x18]
mov rdx, r15
mov rcx, qword [rsi + 0x48]
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.140097128
mov rdx, r12
mov rcx, r15
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400976e4
lea rdx, [r14 + 4]
mov qword [rbp], rax
mov r8, rbx
mov rcx, rax
call fcn.1401baf40
test eax, eax
je 0x14000537a
mov rdx, r12
mov rcx, r15
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r15
call fcn.1400978dc
mov rcx, rsi
call fcn.140003884
mov ecx, ntohs
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp + 0x10]
mov word [0x1402b3820], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402b3822], ax
mov r9d, r13d
lea r8, [0x1402b3820]
mov rcx, qword [rbp + 0x20]
mov edx, 2
call fcn.140098f18
jmp 0x1400055b7
mov rcx, rsi
call fcn.140003884
mov r15, rax
test rax, rax
je 0x1400053f0
mov r8, qword [rbp + 8]
lea rdx, [rdi + 4]
add r8d, 0xfffffffc
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
mov rcx, rax
call fcn.14007f9c4
test eax, eax
jne 0x1400053bf
xor edx, edx
mov rcx, r15
call fcn.140017924
test eax, eax
je 0x1400053f0
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r15
call fcn.14001aa50
mov r9, rax
lea r8, [0x14024431c]
mov edx, 0x1000
lea rcx, [0x1402b2820]
call fcn.1400010e4
mov rcx, r15
call fcn.14001c4f8
mov rcx, qword [rsi + 0x48]
call fcn.140097c3c
mov ecx, ntohs
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp + 0x10]
mov word [0x1402b3820], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, qword [rbp]
lea rcx, [0x1402b3824]
mov word [0x1402b3822], ax
mov edx, 0xfffc
jmp 0x140005214
cmp r15d, r13d
jne 0x1400055b7
lea r15, str.CoreModule
mov edx, 0x400
mov rcx, r15
call fcn.1401c21d0
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r15
call fcn.1400978dc
mov rcx, rsi
call fcn.140003884
mov ecx, ntohs
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
jmp 0x140005349
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x10]
call fcn.140002908
mov rcx, qword [rsi + 0x10]
lea r8, str.emit
or edi, 0xffffffff
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
call fcn.140019b88
mov rcx, qword [rsi + 0x10]
lea rdx, str.Command
call fcn.14001b6b4
cmp byte [r14], 0x7b
mov rcx, qword [rsi + 0x10]
jne 0x14000553a
call fcn.14001b8e4
mov rcx, qword [rsi + 0x10]
lea r8, str.JSON
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
lea r8, str.parse
mov edx, edi
call fcn.140018be8
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 2]
call fcn.140019b88
mov rcx, qword [rsi + 0x10]
call fcn.14001c594
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.14001b600
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 2]
mov edx, r12d
call fcn.140017924
test eax, eax
je 0x140005584
mov rcx, qword [rsi + 0x10]
call fcn.14001c4f8
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.14001b600
jmp 0x140005584
xor edx, edx
lea r8d, [rdx + 3]
call fcn.14001c1e0
mov rcx, qword [rsi + 0x10]
mov edi, 0xfffffffc
mov edx, edi
call fcn.140019c94
mov rcx, qword [rsi + 0x10]
mov r9, r15
mov r8, r14
mov edx, edi
call fcn.1400177e4
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 5]
mov r9, r15
mov dword [rsp + 0x20], r12d
xor r8d, r8d
mov edx, edi
call fcn.14001bf34
lea r12d, [rdi + 6]
mov rcx, qword [rsi + 0x10]
mov edx, 2
call fcn.1400179c8
test eax, eax
je 0x1400055ab
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400055ab
lea rdx, [0x140244268]
call fcn.14005e714
mov rcx, qword [rsi + 0x10]
mov edx, r12d
call fcn.14001c3d8
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.1401b98c0
lea rsp, [rbp + 0x178]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret