Function at 0x140003ae0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
lea rbp, [rsp + 0x30]
mov rax, qword [0x140271510]
xor rax, rbp
mov qword [rbp + 0x150], rax
mov r13, rcx
mov qword [rbp + 8], rcx
movzx ecx, word [r8]
mov r14, r8
movsxd r15, r9d
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_ntohs]
cmp dword [rsi + 0x5d8], 0
movzx r12d, ax
je 0x140003b50
movzx ebx, ax
lea rcx, str.ProcessCommand__u_..._n
mov edx, ebx
call fcn.140001090
mov edx, ebx
lea rcx, str.ProcessCommand__u_..._n
call fcn.14007decc
cmp dword [rsi + 0x720], 3
je 0x14000409c
mov rcx, qword [r13 + 0xe8]
mov rcx, qword [rcx + 0x2a0]
call fcn.140145360
movzx edx, r12w
mov rbx, rax
mov qword [rbp + 0x10], rax
sub edx, 1
je 0x140003dff
sub edx, 1
je 0x140003bd7
cmp edx, 2
jne 0x140004082
cmp dword [rsi + 0x5d8], 0
je 0x140003bb3
lea rcx, str.Authentication_Complete..._n
call fcn.140001090
lea rcx, str.Authentication_Complete..._n
call fcn.14007decc
add dword [rsi + 0x720], 2
cmp dword [rsi + 0x720], 3
jne 0x140004082
mov rdx, rsi
mov rcx, r13
call fcn.14000383c
jmp 0x140004082
cmp r15d, 8
jle 0x140004082
cmp dword [rsi + 0x5d8], 0
je 0x140003bf6
lea rcx, str.Processing_Authentication_Verification..._n
call fcn.14007decc
mov eax, dword [rsp]
sub rsp, 0x20
lea r12, [rsp + 0x30]
mov eax, dword [r12]
lea rax, [r14 + 4]
mov qword [r12], rax
movzx ecx, word [r14 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
lea rax, [r14 + 4]
add rax, rdx
mov word [r12 + 8], dx
mov qword [r12 + 0xa], rax
movzx eax, r15w
sub ax, dx
sub ax, 4
mov word [r12 + 0x12], ax
lea eax, [rdx + 4]
cmp r15d, eax
jle 0x140004082
and qword [rbp + 8], 0
lea rcx, [rbp + 8]
mov r8d, edx
mov ebx, 0x30
mov rdx, r12
mov dword [rbp], ebx
call fcn.14009b5c0
test rax, rax
jne 0x140003c7d
lea rcx, str.Invalid_server_certificate_r_n
call fcn.140001090
jmp 0x140004082
call fcn.14009c960
mov rcx, qword [rbp + 8]
lea r14, [0x140275180]
mov r8, r14
lea r9, [rbp]
mov rdx, rax
call fcn.14009da90
lea rdi, [rsi + 0x620]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.14016ee60
test eax, eax
je 0x140003ceb
call fcn.14009c950
mov rcx, qword [rbp + 8]
lea r9, [rbp]
mov rdx, rax
mov r8, r14
call fcn.14009da90
mov r8d, 0x20
mov rdx, rdi
mov rcx, r14
call fcn.14016ee60
test eax, eax
je 0x140003ceb
lea rcx, str.Server_certificate_mismatch_r_n
jmp 0x140003c73
lea rcx, [rbp + 0x20]
call fcn.140098fb0
mov rcx, qword [rbp + 0x10]
lea rdi, [0x140276180]
mov rdx, rdi
call fcn.140076e28
mov r8, rbx
lea rcx, [rbp + 0x20]
mov rdx, rdi
call fcn.140099040
lea rdx, [rsi + 0x6f0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.140099040
lea rdx, [rsi + 0x6c0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.140099040
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.140098f90
mov rcx, qword [rbp + 8]
call fcn.14009e820
mov rcx, rax
mov r15, rax
call fcn.14009baf0
movzx ecx, word [r12 + 0x12]
mov r8d, ebx
mov r9, qword [r12 + 0xa]
mov rdx, r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov ecx, 0x2a1
mov qword [rbp + 0x18], rax
call fcn.14009c200
mov r12d, 1
cmp eax, r12d
jne 0x140003dbf
mov rcx, qword [rsi + 0x48]
lea r8d, [r12 + 0x10]
add dword [rsi + 0x720], r12d
lea rdx, str.ServerTlsCertHash
mov r9, rdi
mov dword [rsp + 0x20], ebx
call fcn.140080bd0
mov rdx, r13
mov rcx, rsi
call fcn.140003970
jmp 0x140003de0
lea rcx, str.Invalid_server_signature_r_n
call fcn.140001090
cmp dword [rsi + 0x5d8], 0
je 0x140003de0
lea rcx, str.Invalid_Server_Signature_n
call fcn.14007decc
mov rcx, qword [rbp + 0x18]
call fcn.14009dcf0
mov rcx, r15
call fcn.14009b980
mov rcx, qword [rbp + 8]
call fcn.14009b4f0
jmp 0x140004082
cmp r15d, 0x62
jne 0x140004082
cmp dword [rsi + 0x5d8], 0
je 0x140003e1e
lea rcx, str.Processing_Authentication_Request..._n
call fcn.14007decc
lea rdi, [0x140276180]
mov rcx, rbx
mov rdx, rdi
call fcn.140076e28
lea r12, [r14 + 2]
mov ebx, 0x30
mov r8d, ebx
mov rdx, r12
mov rcx, rdi
call fcn.14016ee60
test eax, eax
je 0x140003eaa
mov r15, qword [rbp + 0x10]
mov dword [rbp + 8], ebx
test r15, r15
je 0x140003e6e
call fcn.14009c960
mov rdx, rax
lea r9, [rbp + 8]
mov r8, rdi
mov rcx, r15
call fcn.14009da90
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.14016ee60
test eax, eax
je 0x140003eaa
lea rcx, str.Bad_server_certificate_hash_r_n
call fcn.140001090
cmp dword [rsi + 0x5d8], 0
je 0x140004082
lea rcx, str.Bad_server_certificate_hash_n
call fcn.14007decc
jmp 0x140004082
lea rcx, [rsi + 0x6c0]
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, [0x140276184]
mov word [0x140276180], ax
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
mov rcx, qword [rsi + 0x660]
call fcn.14009b6a0
movsxd r15, eax
movzx ecx, r15w
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140276182], ax
cmp qword [rsi + 0x668], 0
je 0x140003fd6
lea rcx, [rbp + 0x20]
call fcn.140098fb0
mov r8, rbx
lea rcx, [rbp + 0x20]
mov rdx, r12
call fcn.140099040
mov r8, rbx
lea rdx, [rsi + 0x6c0]
lea rcx, [rbp + 0x20]
call fcn.140099040
lea rdx, [rsi + 0x6f0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.140099040
lea r14, [0x140275180]
mov rcx, r14
lea rdx, [rbp + 0x20]
call fcn.140098f90
mov rcx, qword [rsi + 0x668]
call fcn.14009baf0
mov qword [rsp + 0x28], rax
lea r9, [rdi + 4]
mov edx, 0xfffc
movsx r15, r15w
sub edx, r15d
mov rsi, rax
mov dword [rbp], edx
lea rax, [rbp]
mov rdx, r14
mov qword [rsp + 0x20], rax
add r9, r15
mov r8d, ebx
mov ecx, 0x2a1
call fcn.14009c0b0
mov r12d, 1
cmp eax, r12d
jne 0x140003fc9
mov r9d, dword [rbp]
lea edx, [r12 + 1]
add r9d, 4
mov r8, rdi
add r9d, r15d
mov rcx, r13
call fcn.1400822b8
mov rcx, rsi
call fcn.14009dcf0
jmp 0x140004082
mov r9, rbx
lea rcx, [0x140275180]
mov r8, r12
mov edx, 0x1000
call section..text
mov r9, rbx
lea r8, [rsi + 0x6c0]
mov edx, 0xfd0
lea rcx, [0x1402751b0]
call section..text
lea r8, [rsi + 0x6f0]
mov r9, rbx
mov edx, 0xfa0
lea rcx, [0x1402751e0]
call section..text
mov rcx, qword [rsi + 0x658]
lea r9, [rbp + 8]
and qword [rbp + 8], 0
call fcn.14000c288
mov dword [rbp], eax
test eax, eax
jle 0x140004082
mov r8, qword [rbp + 8]
lea rcx, [rdi + 4]
movsx rbx, r15w
mov edx, 0xfffc
sub rdx, rbx
movsxd r9, eax
add rcx, rbx
call section..text
mov r9d, dword [rbp]
mov r8, rdi
add r9d, 4
mov edx, 2
add r9d, ebx
mov rcx, r13
call fcn.1400822b8
mov rcx, qword [rbp + 8]
call fcn.140174cc8
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x140004aa6
mov rcx, rax
call fcn.14009b4f0
jmp 0x140004aa6
mov eax, 0xa
cmp r12w, ax
jb 0x140004aa6
cmp byte [r14], 0x7b
je 0x140004947
mov eax, 0x3e8
cmp r12w, ax
jae 0x140004947
mov edi, 4
cmp r15d, edi
jl 0x140004aa6
movzx ecx, word [r14 + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
cmp dword [rsi + 0x5d8], 0
movzx ebx, ax
mov word [rbp], ax
je 0x14000411f
movzx ebx, ax
lea rcx, str.BinaryCommand__u___u_..._n
movzx edi, r12w
mov r8d, ebx
mov edx, edi
call fcn.140001090
mov r8d, ebx
lea rcx, str.BinaryCommand__u___u_..._n
mov edx, edi
call fcn.14007decc
movzx ebx, word [rbp]
mov edi, 4
movzx ecx, r12w
sub ecx, 0xa
je 0x14000472e
sub ecx, 1
je 0x140004694
sub ecx, 1
je 0x1400045f9
sub ecx, 1
je 0x1400043bd
sub ecx, 1
je 0x140004324
cmp ecx, 2
jne 0x140004aa6
lea rcx, str.Server_verified_meshcore...
call fcn.140001090
cmp qword [rsi + 0x5e0], 0
je 0x140004313
mov rcx, qword [rsi + 0x10]
call fcn.140011ad8
mov rcx, qword [rsi + 0x10]
lea r8, str.clearTimeout
or edi, 0xffffffff
mov edx, edi
call fcn.14000ed80
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
mov r8d, edi
call fcn.14000fd74
mov rdx, qword [rsi + 0x5e0]
mov rcx, qword [rsi + 0x10]
call fcn.140012460
mov rcx, qword [rsi + 0x10]
lea edx, [rdi + 2]
call fcn.14000db60
mov rcx, qword [rsi + 0x10]
call fcn.1400126d4
and qword [rsi + 0x5e0], 0
lea r12, str.CoreModule
mov r13d, 0x400
mov rcx, r12
mov edx, r13d
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, eax
mov rdx, r12
call fcn.140080d44
mov r15d, eax
test eax, eax
jg 0x14000420f
lea rcx, str._meshcore_not_found..._n
jmp 0x14000431a
lea rcx, str._Launching_meshcore..._n
call fcn.140001090
mov r9d, dword [rsi + 0x5ec]
test r9d, r9d
je 0x140004297
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 + 0x20]
call fcn.1400010e4
movsxd rbx, eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea edi, [rbx + r15]
mov ecx, edi
call fcn.1400780d8
mov rdx, r13
mov rcx, r12
mov r14, rax
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
lea r9, [r14 - 4]
add r9, rbx
mov dword [rsp + 0x20], edi
mov r8d, eax
mov rdx, r12
call fcn.140080d44
lea ecx, [r15 - 4]
mov r9, rbx
movsxd rdx, ecx
lea r8, [rbp + 0x20]
lea rcx, [r14 + 4]
call section..text
lea r15d, [rdi - 4]
jmp 0x1400042cc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r15d
call fcn.1400780d8
mov rdx, r13
mov rcx, r12
mov r14, rax
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r9, r14
mov r8d, eax
mov dword [rsp + 0x20], r15d
mov rdx, r12
call fcn.140080d44
mov rcx, qword [rsi + 0x10]
lea r8d, [r15 - 4]
lea rdx, [r14 + 4]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea r9, str.CoreModule.js
call fcn.14006c828
test eax, eax
jne 0x1400042fd
mov rcx, qword [rsi + 0x10]
call fcn.14006c8ec
test eax, eax
je 0x140004306
mov rcx, qword [rsi + 0x10]
call fcn.1400126d4
mov rcx, r14
call fcn.140174cc8
jmp 0x140004aa6
lea rcx, str._meshcore_already_running..._n
call fcn.140001090
jmp 0x140004aa6
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.140002b90
mov rsi, rax
mov r12d, 1
and qword [rbp + 0x10], 0
lea r8, [0x1402537ac]
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.140174c70
mov r9, qword [rbp + 0x10]
test r9, r9
je 0x140004382
lea ecx, [r15 - 4]
mov r8, r12
movsxd rdx, ecx
lea rcx, [r14 + 4]
call fcn.1401748f0
mov rcx, qword [rbp + 0x10]
mov rbx, rax
call fcn.140170800
test rbx, rbx
jne 0x14000438f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000433d
mov ecx, reloc.WS2_32.dll_ntohl
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x140276180], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140276182], ax
mov r9d, edi
mov rcx, r13
jmp 0x14000482b
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.140002b90
mov ecx, 4
mov rdi, rax
cmp r15d, ecx
jne 0x1400043f8
cmp dword [rsi + 0x5d0], 0
je 0x1400045e3
and dword [rsp + 0x20], 0
lea rcx, str.SelfUpdate____Starting_download...
jmp 0x1400045d6
cmp r15d, 0x34
jne 0x140004aa6
lea rdx, [rbp + 0x120]
mov rcx, rdi
call fcn.140003494
xor r15d, r15d
test eax, eax
jne 0x1400045c1
lea rdx, [r14 + 4]
lea r8d, [r15 + 0x30]
lea rcx, [rbp + 0x120]
call fcn.14016ee60
test eax, eax
jne 0x1400045c1
cmp dword [rsi + 0x5d0], r15d
je 0x14000445a
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.SelfUpdate____Download_Complete..._Hash_verified
xor edx, edx
call fcn.14007ddcc
cmp dword [rsi + 0x5d4], r15d
je 0x1400044aa
mov rdx, qword [rsi + 0x38]
lea rcx, [rbp + 0x18]
call fcn.14007d548
mov rdx, qword [rbp + 0x18]
mov r8d, eax
mov rcx, rdi
call fcn.14007d640
cmp dword [rsi + 0x5d0], r15d
je 0x1400044a1
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.SelfUpdate____Overriding_update_with_same_version...
xor edx, edx
call fcn.14007ddcc
cmp dword [rsi + 0x5d4], r15d
jne 0x1400044b3
cmp dword [rsi + 0x5cc], r15d
je 0x140004518
mov edx, 0x4000
lea rcx, [0x1401e8838]
call fcn.140175a7c
mov edx, 0x400
lea rcx, str.disableUpdate
mov rbx, rax
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
lea r9, [0x1401e8838]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea rdx, str.disableUpdate
call fcn.140080bd0
cmp dword [rsi + 0x5d0], r15d
je 0x140004518
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.SelfUpdate____Disabling_future_updates...
xor edx, edx
call fcn.14007ddcc
mov rcx, qword [rsi + 0x10]
lea rdx, str.require_service_manager_.manager.getService_meshagentDiagnostic_.start___
mov r12d, 1
mov r9d, 0xf88
mov dword [rsi + 0x5c4], r12d
call fcn.14000e648
test eax, eax
jne 0x140004551
cmp dword [rsi + 0x5d0], r15d
je 0x1400045ae
lea rcx, str.SelfUpdate____Starting_Diagnostic_Agent__to_assist_with_self_update
jmp 0x140004561
cmp dword [rsi + 0x5d0], r15d
je 0x1400045ae
lea rcx, str.SelfUpdate____Diagnostic_Agent_unavailable_to_assist_with_self_update
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
xor edx, edx
call fcn.14007ddcc
cmp dword [rsi + 0x5d0], r15d
je 0x1400045ae
mov r9d, dword [rsi + 0x5c4]
lea r8, str.SelfUpdate____Stopping_Chain___d_
mov edx, 0xff
lea rcx, [rbp + 0x20]
call fcn.1400010e4
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rbp + 0x20]
xor edx, edx
call fcn.14007ddcc
mov rcx, qword [rsi]
mov dword [rcx], 2
call fcn.140078658
jmp 0x140004aa6
cmp dword [rsi + 0x5d0], r15d
je 0x1400045e3
mov dword [rsp + 0x20], r15d
lea rcx, str.SelfUpdate____Download_Complete..._Hash_FAILED__aborting_update...
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.14007ddcc
test rdi, rdi
je 0x140004aa6
mov rcx, rdi
call fcn.14017c938
jmp 0x140004aa6
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
mov word [0x140276180], ax
call qword [sym.imp.WS2_32.dll_htons]
xor edi, edi
mov word [0x140276182], ax
lea rcx, [0x140276184]
cmp dword [rsi + 0x5c8], edi
je 0x140004639
xor edx, edx
lea r8d, [rdi + 0x30]
call fcn.14016ef40
jmp 0x140004689
cmp dword [rsi + 0x5cc], edi
je 0x140004673
mov edx, 0xffff
mov r8d, 0x30
call fcn.14016ef40
cmp dword [rsi + 0x5d0], edi
je 0x140004689
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, str.SelfUpdate____Forcing_Update...
xor edx, edx
call fcn.14007ddcc
jmp 0x140004689
mov ebx, 0x30
lea r8, [rsi + 0x5f0]
mov r9d, ebx
mov edx, ebx
call section..text
mov r9d, gethostname
jmp 0x1400043b5
mov edx, 0x400
lea rcx, str.CoreModule
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.140080e38
mov ecx, dword [rsi + 0x70]
mov ebx, 0x30
neg ecx
mov r15, rax
sbb r14d, r14d
xor edx, edx
and r14d, ebx
lea r8d, [rbx + 4]
add r14d, edi
lea rdi, [0x140276180]
mov rcx, rdi
call fcn.14016ef40
lea ecx, [rbx - 0x25]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x140276180], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140276182], ax
cmp dword [rsi + 0x70], 0
jne 0x140004720
test r15, r15
je 0x140004720
mov r9d, ebx
lea rcx, [0x140276184]
mov r8, r15
mov edx, ebx
call section..text
lea r14d, [rbx + 4]
mov r9d, r14d
mov r8, rdi
mov rcx, r13
jmp 0x140004832
cmp dword [rsi + 0x70], 0
jne 0x140004aa6
cmp r15, 0x34
jbe 0x140004900
mov r13d, 0x400
lea r12, str.CoreModule
mov edx, r13d
mov rcx, r12
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.140080e38
mov qword [rbp + 0x10], rax
mov ebx, 0x30
test rax, rax
je 0x14000478b
lea rdx, [r14 + 4]
mov r8d, ebx
mov rcx, rax
call fcn.14016ee60
test eax, eax
je 0x1400048ba
mov rcx, qword [rsi + 0x48]
lea eax, [r15 - 0x34]
and qword [rsi + 0x5e0], 0
lea r9, [r14 + 0x34]
mov r8d, 0xa
mov dword [rsp + 0x20], eax
mov rdx, r12
call fcn.140080bd0
mov rdx, r13
mov rcx, r12
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.140080e38
lea rdx, [r14 + 4]
mov qword [rbp + 0x10], rax
mov r8, rbx
mov rcx, rax
call fcn.14016ee60
test eax, eax
je 0x140004841
mov rdx, r13
mov rcx, r12
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r12
call fcn.140080e7c
mov rcx, rsi
call fcn.140003390
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x140276180], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140276182], ax
mov r9d, edi
mov rcx, qword [rbp + 8]
lea r8, [0x140276180]
mov edx, 2
call fcn.1400822b8
jmp 0x140004aa6
mov rcx, rsi
call fcn.140003390
mov r12, rax
test rax, rax
je 0x1400048b1
lea r8d, [r15 - 0x38]
mov dword [rsp + 0x20], reloc.WS2_32.dll_listen
lea rdx, [r14 + 0x38]
mov rcx, rax
lea r9, str.CoreModule.js
call fcn.14006c828
test eax, eax
jne 0x140004880
mov rcx, r12
call fcn.14006c8ec
test eax, eax
je 0x1400048b1
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r12
call fcn.140010c48
mov r9, rax
lea r8, [0x1401e846c]
mov edx, 0x1000
lea rcx, [0x140275180]
call fcn.1400010e4
mov rcx, r12
call fcn.1400126d4
mov rcx, qword [rsi + 0x48]
call fcn.140081064
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x140276180], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, qword [rbp + 0x10]
lea rcx, [0x140276184]
mov r9, rbx
mov word [0x140276182], ax
mov edx, 0xfffc
call section..text
mov r9d, gethostname
jmp 0x140004827
cmp r15d, edi
jne 0x140004aa6
lea r12, str.CoreModule
mov edx, 0x400
mov rcx, r12
call fcn.140175a7c
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r12
call fcn.140080e7c
mov rcx, rsi
call fcn.140003390
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
jmp 0x14000439e
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x10]
call fcn.140002584
mov rcx, qword [rsi + 0x10]
lea r8, str.emit
or edi, 0xffffffff
mov edx, edi
call fcn.14000ed80
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
mov r8d, edi
call fcn.14000fd74
mov rcx, qword [rsi + 0x10]
lea rdx, str.Command
call fcn.1400118a8
cmp byte [r14], 0x7b
mov rcx, qword [rsi + 0x10]
jne 0x140004a2c
call fcn.140011ad8
mov rcx, qword [rsi + 0x10]
lea r8, str.JSON
mov edx, edi
call fcn.14000ed80
mov rcx, qword [rsi + 0x10]
lea r8, str.parse
mov edx, edi
call fcn.14000ed80
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 2]
mov r8d, edi
call fcn.14000fd74
mov rcx, qword [rsi + 0x10]
call fcn.140012770
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.1400117f4
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 2]
and dword [rbp + 0x14], 0
lea r9d, [rdi + 3]
lea r8, [rbp + 0x10]
mov dword [rbp + 0x10], r12d
lea rdx, [0x14000da94]
mov dword [rsp + 0x20], r12d
call fcn.14000dbac
test eax, eax
je 0x140004a73
mov rcx, qword [rsi + 0x10]
call fcn.1400126d4
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.1400117f4
jmp 0x140004a73
xor edx, edx
lea r8d, [rdx + 3]
call fcn.1400123bc
mov rcx, qword [rsi + 0x10]
mov edi, 0xfffffffc
mov edx, edi
call fcn.14000fe8c
mov rcx, qword [rsi + 0x10]
mov r9, r15
mov r8, r14
mov edx, edi
call fcn.14000d9ac
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 5]
mov r9, r15
mov dword [rsp + 0x20], r12d
mov edx, edi
call fcn.140012128
lea r12d, [rdi + 6]
mov rcx, qword [rsi + 0x10]
mov edx, 2
call fcn.14000db60
test eax, eax
je 0x140004a9a
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140004a9a
lea rdx, [0x1401e7638]
call fcn.140050df8
mov rcx, qword [rsi + 0x10]
mov edx, r12d
call fcn.1400125b4
mov rcx, qword [rbp + 0x150]
xor rcx, rbp
call fcn.14016d990
lea rsp, [rbp + 0x168]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret