Function at 0x140003bec
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 [0x1402ccee0]
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 0x140003c5c
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.14007f4d4
cmp dword [rsi + 0x720], 3
je 0x1400041a8
mov rcx, qword [r13 + 0xe8]
mov rcx, qword [rcx + 0x2a0]
call fcn.14016d0e0
movzx edx, r12w
mov rbx, rax
mov qword [rbp + 0x10], rax
sub edx, 1
je 0x140003f0b
sub edx, 1
je 0x140003ce3
cmp edx, 2
jne 0x14000418e
cmp dword [rsi + 0x5d8], 0
je 0x140003cbf
lea rcx, str.Authentication_Complete..._n
call fcn.140001090
lea rcx, str.Authentication_Complete..._n
call fcn.14007f4d4
add dword [rsi + 0x720], 2
cmp dword [rsi + 0x720], 3
jne 0x14000418e
mov rdx, rsi
mov rcx, r13
call fcn.1400038ec
jmp 0x14000418e
cmp r15d, 8
jle 0x14000418e
cmp dword [rsi + 0x5d8], 0
je 0x140003d02
lea rcx, str.Processing_Authentication_Verification..._n
call fcn.14007f4d4
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 0x14000418e
and qword [rbp + 8], 0
lea rcx, [rbp + 8]
mov r8d, edx
mov ebx, 0x30
mov rdx, r12
mov dword [rbp], ebx
call fcn.14009d3f0
test rax, rax
jne 0x140003d89
lea rcx, str.Invalid_server_certificate_r_n
call fcn.140001090
jmp 0x14000418e
call fcn.14009eb50
mov rcx, qword [rbp + 8]
lea r14, [0x1402cffc0]
mov r8, r14
lea r9, [rbp]
mov rdx, rax
call fcn.14009fd40
lea rdi, [rsi + 0x624]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.1401a71d0
test eax, eax
je 0x140003df7
call fcn.14009eb40
mov rcx, qword [rbp + 8]
lea r9, [rbp]
mov rdx, rax
mov r8, r14
call fcn.14009fd40
mov r8d, 0x20
mov rdx, rdi
mov rcx, r14
call fcn.1401a71d0
test eax, eax
je 0x140003df7
lea rcx, str.Server_certificate_mismatch_r_n
jmp 0x140003d7f
lea rcx, [rbp + 0x20]
call fcn.14009a890
mov rcx, qword [rbp + 0x10]
lea rdi, [0x1402d0fc0]
mov rdx, rdi
call fcn.140077f38
mov r8, rbx
lea rcx, [rbp + 0x20]
mov rdx, rdi
call fcn.14009a920
lea rdx, [rsi + 0x6f0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.14009a920
lea rdx, [rsi + 0x6c0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.14009a920
lea rdx, [rbp + 0x20]
mov rcx, r14
call fcn.14009a870
mov rcx, qword [rbp + 8]
call fcn.1400a0b50
mov rcx, rax
mov r15, rax
call fcn.14009d9d0
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.14009e2a0
mov r12d, 1
cmp eax, r12d
jne 0x140003ecb
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.140082240
mov rdx, r13
mov rcx, rsi
call fcn.140003a20
jmp 0x140003eec
lea rcx, str.Invalid_server_signature_r_n
call fcn.140001090
cmp dword [rsi + 0x5d8], 0
je 0x140003eec
lea rcx, str.Invalid_Server_Signature_n
call fcn.14007f4d4
mov rcx, qword [rbp + 0x18]
call fcn.14009ffa0
mov rcx, r15
call fcn.14009d790
mov rcx, qword [rbp + 8]
call fcn.14009d320
jmp 0x14000418e
cmp r15d, 0x62
jne 0x14000418e
cmp dword [rsi + 0x5d8], 0
je 0x140003f2a
lea rcx, str.Processing_Authentication_Request..._n
call fcn.14007f4d4
lea rdi, [0x1402d0fc0]
mov rcx, rbx
mov rdx, rdi
call fcn.140077f38
lea r12, [r14 + 2]
mov ebx, 0x30
mov r8d, ebx
mov rdx, r12
mov rcx, rdi
call fcn.1401a71d0
test eax, eax
je 0x140003fb6
mov r15, qword [rbp + 0x10]
mov dword [rbp + 8], ebx
test r15, r15
je 0x140003f7a
call fcn.14009eb50
mov rdx, rax
lea r9, [rbp + 8]
mov r8, rdi
mov rcx, r15
call fcn.14009fd40
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.1401a71d0
test eax, eax
je 0x140003fb6
lea rcx, str.Bad_server_certificate_hash_r_n
call fcn.140001090
cmp dword [rsi + 0x5d8], 0
je 0x14000418e
lea rcx, str.Bad_server_certificate_hash_n
call fcn.14007f4d4
jmp 0x14000418e
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, [0x1402d0fc4]
mov word [0x1402d0fc0], ax
mov qword [rbp + 0x18], rcx
lea rdx, [rbp + 0x18]
mov rcx, qword [rsi + 0x660]
call fcn.14009d4d0
movsxd r15, eax
movzx ecx, r15w
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402d0fc2], ax
cmp qword [rsi + 0x668], 0
je 0x1400040e2
lea rcx, [rbp + 0x20]
call fcn.14009a890
mov r8, rbx
lea rcx, [rbp + 0x20]
mov rdx, r12
call fcn.14009a920
mov r8, rbx
lea rdx, [rsi + 0x6c0]
lea rcx, [rbp + 0x20]
call fcn.14009a920
lea rdx, [rsi + 0x6f0]
mov r8, rbx
lea rcx, [rbp + 0x20]
call fcn.14009a920
lea r14, [0x1402cffc0]
mov rcx, r14
lea rdx, [rbp + 0x20]
call fcn.14009a870
mov rcx, qword [rsi + 0x668]
call fcn.14009d9d0
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.14009e150
mov r12d, 1
cmp eax, r12d
jne 0x1400040d5
mov r9d, dword [rbp]
lea edx, [r12 + 1]
add r9d, 4
mov r8, rdi
add r9d, r15d
mov rcx, r13
call fcn.140083928
mov rcx, rsi
call fcn.14009ffa0
jmp 0x14000418e
mov r9, rbx
lea rcx, [0x1402cffc0]
mov r8, r12
mov edx, 0x1000
call section..text
mov r9, rbx
lea r8, [rsi + 0x6c0]
mov edx, 0xfd0
lea rcx, [0x1402cfff0]
call section..text
lea r8, [rsi + 0x6f0]
mov r9, rbx
mov edx, 0xfa0
lea rcx, [0x1402d0020]
call section..text
mov rcx, qword [rsi + 0x658]
lea r9, [rbp + 8]
and qword [rbp + 8], 0
call fcn.14000c9b4
mov dword [rbp], eax
test eax, eax
jle 0x14000418e
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.140083928
mov rcx, qword [rbp + 8]
call fcn.1401ad038
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x140004bb2
mov rcx, rax
call fcn.14009d320
jmp 0x140004bb2
mov eax, 0xa
cmp r12w, ax
jb 0x140004bb2
cmp byte [r14], 0x7b
je 0x140004a53
mov eax, 0x3e8
cmp r12w, ax
jae 0x140004a53
mov edi, 4
cmp r15d, edi
jl 0x140004bb2
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 0x14000422b
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.14007f4d4
movzx ebx, word [rbp]
mov edi, 4
movzx ecx, r12w
sub ecx, 0xa
je 0x14000483a
sub ecx, 1
je 0x1400047a0
sub ecx, 1
je 0x140004705
sub ecx, 1
je 0x1400044c9
sub ecx, 1
je 0x140004430
cmp ecx, 2
jne 0x140004bb2
lea rcx, str.Server_verified_meshcore...
call fcn.140001090
cmp qword [rsi + 0x5e0], 0
je 0x14000441f
mov rcx, qword [rsi + 0x10]
call fcn.140012204
mov rcx, qword [rsi + 0x10]
lea r8, str.clearTimeout
or edi, 0xffffffff
mov edx, edi
call fcn.14000f4ac
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
mov r8d, edi
call fcn.1400104a0
mov rdx, qword [rsi + 0x5e0]
mov rcx, qword [rsi + 0x10]
call fcn.140012b8c
mov rcx, qword [rsi + 0x10]
lea edx, [rdi + 2]
call fcn.14000e28c
mov rcx, qword [rsi + 0x10]
call fcn.140012e00
and qword [rsi + 0x5e0], 0
lea r12, str.CoreModule
mov r13d, 0x400
mov rcx, r12
mov edx, r13d
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov r8d, eax
mov rdx, r12
call fcn.1400823b4
mov r15d, eax
test eax, eax
jg 0x14000431b
lea rcx, str._meshcore_not_found..._n
jmp 0x140004426
lea rcx, str._Launching_meshcore..._n
call fcn.140001090
mov r9d, dword [rsi + 0x5ec]
test r9d, r9d
je 0x1400043a3
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.1400791e8
mov rdx, r13
mov rcx, r12
mov r14, rax
call fcn.1401ade00
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.1400823b4
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 0x1400043d8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r15d
call fcn.1400791e8
mov rdx, r13
mov rcx, r12
mov r14, rax
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r9, r14
mov r8d, eax
mov dword [rsp + 0x20], r15d
mov rdx, r12
call fcn.1400823b4
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.14006d72c
test eax, eax
jne 0x140004409
mov rcx, qword [rsi + 0x10]
call fcn.14006d7f0
test eax, eax
je 0x140004412
mov rcx, qword [rsi + 0x10]
call fcn.140012e00
mov rcx, r14
call fcn.1401ad038
jmp 0x140004bb2
lea rcx, str._meshcore_already_running..._n
call fcn.140001090
jmp 0x140004bb2
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.140002bf4
mov rsi, rax
mov r12d, 1
and qword [rbp + 0x10], 0
lea r8, [0x1402ab00c]
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.1401acfe0
mov r9, qword [rbp + 0x10]
test r9, r9
je 0x14000448e
lea ecx, [r15 - 4]
mov r8, r12
movsxd rdx, ecx
lea rcx, [r14 + 4]
call fcn.1401acc60
mov rcx, qword [rbp + 0x10]
mov rbx, rax
call fcn.1401a8b70
test rbx, rbx
jne 0x14000449b
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140004449
mov ecx, reloc.WS2_32.dll_ntohl
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x1402d0fc0], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402d0fc2], ax
mov r9d, edi
mov rcx, r13
jmp 0x140004937
mov rcx, qword [rsi + 0x38]
lea rdx, str..update.exe
call fcn.140002bf4
mov ecx, 4
mov rdi, rax
cmp r15d, ecx
jne 0x140004504
cmp dword [rsi + 0x5d0], 0
je 0x1400046ef
and dword [rsp + 0x20], 0
lea rcx, str.SelfUpdate____Starting_download...
jmp 0x1400046e2
cmp r15d, 0x34
jne 0x140004bb2
lea rdx, [rbp + 0x120]
mov rcx, rdi
call fcn.140003544
xor r15d, r15d
test eax, eax
jne 0x1400046cd
lea rdx, [r14 + 4]
lea r8d, [r15 + 0x30]
lea rcx, [rbp + 0x120]
call fcn.1401a71d0
test eax, eax
jne 0x1400046cd
cmp dword [rsi + 0x5d0], r15d
je 0x140004566
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.SelfUpdate____Download_Complete..._Hash_verified
xor edx, edx
call fcn.14007f3d4
cmp dword [rsi + 0x5d4], r15d
je 0x1400045b6
mov rdx, qword [rsi + 0x38]
lea rcx, [rbp + 0x18]
call fcn.14007eb50
mov rdx, qword [rbp + 0x18]
mov r8d, eax
mov rcx, rdi
call fcn.14007ec48
cmp dword [rsi + 0x5d0], r15d
je 0x1400045ad
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.14007f3d4
cmp dword [rsi + 0x5d4], r15d
jne 0x1400045bf
cmp dword [rsi + 0x5cc], r15d
je 0x140004624
mov edx, 0x4000
lea rcx, [0x140231598]
call fcn.1401ade00
mov edx, 0x400
lea rcx, str.disableUpdate
mov rbx, rax
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
lea r9, [0x140231598]
mov r8d, eax
mov dword [rsp + 0x20], ebx
lea rdx, str.disableUpdate
call fcn.140082240
cmp dword [rsi + 0x5d0], r15d
je 0x140004624
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, str.SelfUpdate____Disabling_future_updates...
xor edx, edx
call fcn.14007f3d4
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.14000ed74
test eax, eax
jne 0x14000465d
cmp dword [rsi + 0x5d0], r15d
je 0x1400046ba
lea rcx, str.SelfUpdate____Starting_Diagnostic_Agent__to_assist_with_self_update
jmp 0x14000466d
cmp dword [rsi + 0x5d0], r15d
je 0x1400046ba
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.14007f3d4
cmp dword [rsi + 0x5d0], r15d
je 0x1400046ba
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.14007f3d4
mov rcx, qword [rsi]
mov dword [rcx], 2
call fcn.140079768
jmp 0x140004bb2
cmp dword [rsi + 0x5d0], r15d
je 0x1400046ef
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.14007f3d4
test rdi, rdi
je 0x140004bb2
mov rcx, rdi
call fcn.1401b4cc8
jmp 0x140004bb2
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
mov word [0x1402d0fc0], ax
call qword [sym.imp.WS2_32.dll_htons]
xor edi, edi
mov word [0x1402d0fc2], ax
lea rcx, [0x1402d0fc4]
cmp dword [rsi + 0x5c8], edi
je 0x140004745
xor edx, edx
lea r8d, [rdi + 0x30]
call fcn.1401a72b0
jmp 0x140004795
cmp dword [rsi + 0x5cc], edi
je 0x14000477f
mov edx, 0xffff
mov r8d, 0x30
call fcn.1401a72b0
cmp dword [rsi + 0x5d0], edi
je 0x140004795
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rcx, str.SelfUpdate____Forcing_Update...
xor edx, edx
call fcn.14007f3d4
jmp 0x140004795
mov ebx, 0x30
lea r8, [rsi + 0x5f4]
mov r9d, ebx
mov edx, ebx
call section..text
mov r9d, gethostname
jmp 0x1400044c1
mov edx, 0x400
lea rcx, str.CoreModule
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400824a8
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, [0x1402d0fc0]
mov rcx, rdi
call fcn.1401a72b0
lea ecx, [rbx - 0x25]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x1402d0fc0], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402d0fc2], ax
cmp dword [rsi + 0x70], 0
jne 0x14000482c
test r15, r15
je 0x14000482c
mov r9d, ebx
lea rcx, [0x1402d0fc4]
mov r8, r15
mov edx, ebx
call section..text
lea r14d, [rbx + 4]
mov r9d, r14d
mov r8, rdi
mov rcx, r13
jmp 0x14000493e
cmp dword [rsi + 0x70], 0
jne 0x140004bb2
cmp r15, 0x34
jbe 0x140004a0c
mov r13d, 0x400
lea r12, str.CoreModule
mov edx, r13d
mov rcx, r12
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400824a8
mov qword [rbp + 0x10], rax
mov ebx, 0x30
test rax, rax
je 0x140004897
lea rdx, [r14 + 4]
mov r8d, ebx
mov rcx, rax
call fcn.1401a71d0
test eax, eax
je 0x1400049c6
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.140082240
mov rdx, r13
mov rcx, r12
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r8d, eax
call fcn.1400824a8
lea rdx, [r14 + 4]
mov qword [rbp + 0x10], rax
mov r8, rbx
mov rcx, rax
call fcn.1401a71d0
test eax, eax
je 0x14000494d
mov rdx, r13
mov rcx, r12
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r12
call fcn.1400824ec
mov rcx, rsi
call fcn.1400033f4
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x1402d0fc0], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1402d0fc2], ax
mov r9d, edi
mov rcx, qword [rbp + 8]
lea r8, [0x1402d0fc0]
mov edx, 2
call fcn.140083928
jmp 0x140004bb2
mov rcx, rsi
call fcn.1400033f4
mov r12, rax
test rax, rax
je 0x1400049bd
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.14006d72c
test eax, eax
jne 0x14000498c
mov rcx, r12
call fcn.14006d7f0
test eax, eax
je 0x1400049bd
xor r8d, r8d
or edx, 0xffffffff
mov rcx, r12
call fcn.140011374
mov r9, rax
lea r8, [0x1402311bc]
mov edx, 0x1000
lea rcx, [0x1402cffc0]
call fcn.1400010e4
mov rcx, r12
call fcn.140012e00
mov rcx, qword [rsi + 0x48]
call fcn.1400826d4
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rbp]
mov word [0x1402d0fc0], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, qword [rbp + 0x10]
lea rcx, [0x1402d0fc4]
mov r9, rbx
mov word [0x1402d0fc2], ax
mov edx, 0xfffc
call section..text
mov r9d, gethostname
jmp 0x140004933
cmp r15d, edi
jne 0x140004bb2
lea r12, str.CoreModule
mov edx, 0x400
mov rcx, r12
call fcn.1401ade00
mov rcx, qword [rsi + 0x48]
mov r8d, eax
mov rdx, r12
call fcn.1400824ec
mov rcx, rsi
call fcn.1400033f4
mov ecx, listen
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
jmp 0x1400044aa
mov rdx, qword [rsi]
mov rcx, qword [rsi + 0x10]
call fcn.1400025c0
mov rcx, qword [rsi + 0x10]
lea r8, str.emit
or edi, 0xffffffff
mov edx, edi
call fcn.14000f4ac
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 1]
mov r8d, edi
call fcn.1400104a0
mov rcx, qword [rsi + 0x10]
lea rdx, str.Command
call fcn.140011fd4
cmp byte [r14], 0x7b
mov rcx, qword [rsi + 0x10]
jne 0x140004b38
call fcn.140012204
mov rcx, qword [rsi + 0x10]
lea r8, str.JSON
mov edx, edi
call fcn.14000f4ac
mov rcx, qword [rsi + 0x10]
lea r8, str.parse
mov edx, edi
call fcn.14000f4ac
mov rcx, qword [rsi + 0x10]
lea edx, [rdi - 2]
mov r8d, edi
call fcn.1400104a0
mov rcx, qword [rsi + 0x10]
call fcn.140012e9c
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.140011f20
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, [0x14000e1c0]
mov dword [rsp + 0x20], r12d
call fcn.14000e2d8
test eax, eax
je 0x140004b7f
mov rcx, qword [rsi + 0x10]
call fcn.140012e00
mov rcx, qword [rsi + 0x10]
mov r8, r15
mov rdx, r14
call fcn.140011f20
jmp 0x140004b7f
xor edx, edx
lea r8d, [rdx + 3]
call fcn.140012ae8
mov rcx, qword [rsi + 0x10]
mov edi, 0xfffffffc
mov edx, edi
call fcn.1400105b8
mov rcx, qword [rsi + 0x10]
mov r9, r15
mov r8, r14
mov edx, edi
call fcn.14000e0d8
mov rcx, qword [rsi + 0x10]
lea r12d, [rdi + 5]
mov r9, r15
mov dword [rsp + 0x20], r12d
mov edx, edi
call fcn.140012854
lea r12d, [rdi + 6]
mov rcx, qword [rsi + 0x10]
mov edx, 2
call fcn.14000e28c
test eax, eax
je 0x140004ba6
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140004ba6
lea rdx, [0x140230378]
call fcn.140051748
mov rcx, qword [rsi + 0x10]
mov edx, r12d
call fcn.140012ce0
mov rcx, qword [rbp + 0x150]
xor rcx, rbp
call fcn.1401a5d00
lea rsp, [rbp + 0x168]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret