Function at 0x1400a2bf0
Capabilities:
Encode data using xor
Get thread local storage value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x620
mov rax, qword [0x140304470]
xor rax, rsp
mov qword [rsp + 0x610], rax
mov r14, r8
mov r12, rdx
mov qword [rsp + 0x70], rdx
mov r13, rcx
mov qword [rsp + 0x178], rcx
mov qword [rsp + 0x1e0], r8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [0x1402b9ba4]
lea rcx, [rsp + 0x48]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.jsonrpc
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
mov rdx, r14
mov rcx, r12
call fcn.1400a1810
test al, al
je 0x1400a3096
xor esi, esi
mov qword [rsp + 0x198], rsi
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1b0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x198], sil
mov qword [rsp + 0xf0], rsi
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], sil
mov qword [rsp + 0x20], r14
mov r8, r12
lea rdx, [rsp + 0x198]
lea rcx, str.jsonrpc
call fcn.1400a0f10
mov rdi, qword [rsp + 0x198]
mov r15, qword [rsp + 0x1b0]
test al, al
je 0x1400a53f0
lea rax, [rsp + 0x198]
cmp r15, 0x10
cmovae rax, rdi
cmp qword [rsp + 0x1a8], 3
jne 0x1400a53f0
cmp byte [rax], 0x32
jne 0x1400a2d33
cmp byte [rax + 1], 0x2e
jne 0x1400a2d33
cmp byte [rax + 2], 0x30
jne 0x1400a2d33
mov eax, esi
jmp 0x1400a2d38
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400a53f0
mov qword [rsp + 0x20], r14
mov r8, r12
lea rdx, [rsp + 0xf0]
lea rcx, str.method
call fcn.1400a0f10
test al, al
je 0x1400a53f0
mov rbx, qword [rsp + 0xf0]
cmp byte [r13 + 0x250], 0
je 0x1400a4e90
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, rbx
cmp qword [rsp + 0x100], 0xd
jne 0x1400a2db4
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.api_authorize
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400a4e90
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x210]
call fcn.140094f60
nop
lea rdx, str.API_:_Method
lea rcx, [rsp + 0x220]
call fcn.140035d70
lea rdx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rdx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
lea rcx, [rsp + 0x220]
call fcn.140043600
lea rdx, str._requested
lea rcx, [rsp + 0x220]
call fcn.140035d70
nop
lea rcx, [rsp + 0x210]
call fcn.14002fa40
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
setae r13b
mov rbx, qword [rsp + 0xf0]
cmovae rcx, rbx
mov r12, qword [rsp + 0x100]
cmp r12, 0xe
jne 0x1400a2e99
mov r8, r12
lea rdx, str.miner_getstat1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2e99
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
call fcn.1400a7730
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e7b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x13
jne 0x1400a2eea
mov r8, r12
lea rdx, str.miner_getstatdetail
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2eea
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
call fcn.1400aab40
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e7b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xd
jne 0x1400a2f59
mov r8, r12
lea rdx, str.miner_shuffle
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2f59
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
mov rcx, qword [0x140311b38]
call fcn.1400575c0
jmp 0x1400a4b9e
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xa
jne 0x1400a2fb1
mov r8, r12
lea rdx, str.miner_ping
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2fb1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, str.pong
lea rcx, [rsp + 0x48]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e7b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xd
jne 0x1400a319b
mov r8, r12
lea rdx, str.miner_restart
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a319b
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a30b9
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3043
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a303e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a54bd
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a551c
mov rcx, rdi
call fcn.14021962c
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.140219010
add rsp, 0x620
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
mov rax, qword [0x140311b38]
lea rcx, [0x1400582f0]
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x138], rax
movups xmm0, xmmword [rax + 0x318]
movups xmmword [rsp + 0x110], xmm0
movups xmm1, xmmword [rsp + 0x130]
movups xmmword [rsp + 0x120], xmm1
mov ecx, dword [0x140312360]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rdx, [rsp + 0x120]
mov ecx, 0x58
call fcn.1400227f0
mov qword [rax + 0x20], rsi
lea rcx, [0x14005b920]
mov qword [rax + 0x28], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov dword [rax + 0x30], esi
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x120]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x140311f88]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.1400235c0
jmp 0x1400a4b9e
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xc
jne 0x1400a3303
mov r8, r12
lea rdx, str.miner_reboot
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3303
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
je 0x1400a3000
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
lea ecx, [r12 + 0x14]
call fcn.1402192c8
mov qword [rsp + 0x120], reloc.WS2_32.dll_recv
mov qword [rsp + 0x128], 0x1f
movups xmm0, xmmword [str.api_miner_reboot]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x1e0], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x1e8], rax
movaps xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x1e0], xmm0
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x178]
call fcn.1400324c0
nop
lea r8, [rsp + 0x178]
call fcn.1400597d0
movzx edx, al
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x178]
call fcn.1400342d0
nop
lea r9, [fcn.14000db20]
lea edx, [r12 + 0x14]
lea r8d, [r12 - 0xb]
lea rcx, [rsp + 0x110]
call fcn.140219304
jmp 0x1400a4b9e
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x14
jne 0x1400a335b
mov r8, r12
lea rdx, str.miner_getconnections
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a335b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140311b48]
call fcn.140060d20
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e7b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x13
jne 0x1400a3733
mov r8, r12
lea rdx, str.miner_addconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3733
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a3445
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a33ed
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a33e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a354c
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a35ab
jmp 0x1400a308e
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
call fcn.1400a0720
test al, al
jne 0x1400a3479
lea rcx, [rsp + 0x48]
call fcn.1400cc860
jmp 0x1400a33aa
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x110]
lea rcx, [0x1402b8bf0]
call fcn.1400a0f10
test al, al
jne 0x1400a35b2
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3507
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a371c
call fcn.14021962c
nop
lea rcx, [rsp + 0x48]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3558
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3553
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3553
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [0x140311b48]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x1b8]
call fcn.140032db0
mov r15, rax
mov qword [rsp + 0x130], rax
mov ecx, 0x1d8
call fcn.1402192c8
mov rdi, rax
mov qword [rsp + 0x70], rax
mov rdx, r15
lea rcx, [rsp + 0x150]
call fcn.140032db0
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140062cd0
mov rdi, rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x178], xmm0
mov qword [rsp + 0x70], rax
mov ecx, 0x18
call fcn.1402192c8
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_class_dev::URI_.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], rax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400a3676
mov qword [rdx], rdi
mov qword [rdx + 8], rax
add qword [rbx + 8], 0x10
jmp 0x1400a368e
lea r8, [rsp + 0x178]
mov rcx, rbx
call fcn.14003bff0
mov rsi, qword [rsp + 0x180]
test rsi, rsi
je 0x1400a369c
mov rcx, rsi
call fcn.140003a80
nop
mov rcx, r15
call fcn.140034440
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x150]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400cc910
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3729
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3723
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
nop
lea rcx, [rsp + 0x48]
jmp 0x1400a4b98
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x19
jne 0x1400a3ebb
mov r8, r12
lea rdx, str.miner_setactiveconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3ebb
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a381d
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a37c5
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a37c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3894
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a38f3
jmp 0x1400a308e
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0720
test al, al
jne 0x1400a38fa
lea rcx, [rsp + 0x150]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a38a0
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a389b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a389b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.index
lea rcx, [rsp + 0x150]
call fcn.1400cebc0
test al, al
je 0x1400a3ba7
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f890
test al, al
je 0x1400a3a60
mov r8, qword [0x140311b48]
mov rcx, qword [r8 + 8]
sub rcx, qword [r8]
sar rcx, 4
mov edx, dword [rsp + 0x178]
cmp rdx, rcx
jae 0x1400a5523
mov rcx, r8
call fcn.140060a90
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
jmp 0x1400a4b90
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_index
lea rcx, [rsp + 0x1b8]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x150]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3b4d
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3b48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3b48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x110]
lea rcx, [0x1402bbde0]
call fcn.1400a0f10
test al, al
jne 0x1400a554c
jmp 0x1400a3d12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_index
lea rcx, [rsp + 0x1b8]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3df1
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3dec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3dec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
lea rcx, [rsp + 0x150]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3e61
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3e5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3e5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x16
jne 0x1400a416c
mov r8, r12
lea rdx, str.miner_removeconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a416c
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a3fa5
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3f4d
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a3f48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a40f5
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4165
jmp 0x1400a308e
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0720
test al, al
jne 0x1400a3fe2
lea rcx, [rsp + 0x150]
call fcn.1400cc860
jmp 0x1400a3f0a
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f890
test al, al
je 0x1400a3fd0
mov rbx, qword [0x140311b48]
movzx eax, byte [rbx + 0x62]
test al, al
jne 0x1400a5562
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rax
sar rcx, 4
mov edi, dword [rsp + 0x178]
mov r8d, edi
cmp rdi, rcx
jae 0x1400a558a
cmp edi, dword [rbx + 0x8c]
je 0x1400a55b2
shl r8, 4
add r8, rax
lea rdx, [rsp + 0x130]
mov rcx, rbx
call fcn.140061de0
mov eax, dword [rbx + 0x8c]
cmp eax, edi
jbe 0x1400a4070
dec eax
mov dword [rbx + 0x8c], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400cc910
nop
jmp 0x1400a4b90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x16
jne 0x1400a41c4
mov r8, r12
lea rdx, str.miner_getscramblerinfo
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a41c4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140311b38]
call fcn.1400585c0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e7b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x16
jne 0x1400a4946
mov r8, r12
lea rdx, str.miner_setscramblerinfo
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4946
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a42ae
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a4256
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a4251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4871
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a48d0
jmp 0x1400a308e
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x1b8]
call fcn.1400a0720
test al, al
jne 0x1400a42eb
lea rcx, [rsp + 0x1b8]
call fcn.1400cc860
jmp 0x1400a4213
xor r13b, r13b
mov rcx, qword [0x140311b38]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r12, rax
mov qword [rsp + 0x70], rax
mov rcx, qword [0x140311b38]
mov rdx, qword [rcx]
call qword [rdx + gethostname]
mov ebx, eax
mov dword [rsp + 0x178], eax
lea rdx, str.noncescrambler
lea rcx, [rsp + 0x1b8]
call fcn.1400cebc0
test al, al
je 0x1400a4730
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], r13b
mov r13b, 1
lea rdx, str.noncescrambler
lea rcx, [rsp + 0x1b8]
call fcn.1400ccfe0
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.1400cdb10
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.140032cf0
lea rcx, [rsp + 0x150]
call fcn.140034440
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0x148], reloc.WS2_32.dll_ntohs
mov r8d, 2
cmp qword [rsp + 0x120], r8
cmovb r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x130]
call fcn.1400347b0
lea rax, [rsp + 0x130]
mov rdx, qword [rsp + 0x148]
cmp rdx, 0x10
setae r8b
mov rcx, qword [rsp + 0x130]
cmovae rax, rcx
cmp qword [rsp + 0x140], 2
jne 0x1400a4444
cmp byte [rax], 0x30
jne 0x1400a4435
cmp byte [rax + 1], 0x78
jne 0x1400a4435
mov eax, esi
jmp 0x1400a443a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400a4444
movzx r12d, r13b
jmp 0x1400a4447
xor r12b, r12b
test r8b, r8b
je 0x1400a447c
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4477
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
test r12b, r12b
je 0x1400a45b9
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
call fcn.140069220
mov r12d, eax
jmp 0x1400a46ea
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x70]
call fcn.1400a0090
test al, al
jne 0x1400a46e5
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a461b
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4616
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4724
call fcn.14021962c
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
lea rcx, [rsp + 0x1b8]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a468b
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4686
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4686
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a4730
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a472b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a472b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
lea rdx, str.segmentwidth
lea rcx, [rsp + 0x1b8]
call fcn.1400cebc0
test al, al
je 0x1400a478b
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x178]
lea rcx, str.segmentwidth
call fcn.14009f890
test al, al
je 0x1400a42d9
mov ebx, dword [rsp + 0x178]
cmp ebx, 0xa
jae 0x1400a48d7
mov ecx, 0xa
jmp 0x1400a48e4
test r13b, r13b
jne 0x1400a4778
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xffff80a6
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Missing_parameters
lea rcx, [rsp + 0x150]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x1b8]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a487d
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4878
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 0x28
cmp ebx, 0x32
cmova ebx, eax
mov ecx, ebx
mov rax, qword [0x140311b38]
mov qword [rax + 0x3a0], r12
cmp word [rax + 0x158], 0
jne 0x1400a4902
mov dword [rax + 0x3a8], ecx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x1b8]
jmp 0x1400a4b98
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xe
jne 0x1400a4bbe
mov r8, r12
lea rdx, str.miner_pausegpu
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4bbe
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
jne 0x1400a4a05
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a49d7
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a49d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a49d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
lea rcx, [rsp + 0x198]
call fcn.140034440
jmp 0x1400a3096
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0720
test al, al
je 0x1400a4b90
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f890
test al, al
je 0x1400a4b90
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x40]
call fcn.14009f0b0
test al, al
je 0x1400a4b90
mov r8d, dword [rsp + 0x178]
lea rdx, [rsp + 0x1e0]
mov rcx, qword [0x140311b38]
call fcn.14009f050
nop
mov rcx, qword [rsp + 0x1e0]
test rcx, rcx
je 0x1400a4ae9
mov edx, 1
cmp byte [rsp + 0x40], 0
je 0x1400a4ab9
call fcn.14005e220
jmp 0x1400a4abe
call fcn.14005e6d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4b71
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Index_out_of_bounds
lea rcx, [rsp + 0x1b8]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x1e0]
call fcn.14002fbe0
nop
lea rcx, [rsp + 0x150]
call fcn.1400cc860
nop
lea rcx, [rsp + 0xf0]
call fcn.140034440
nop
lea rcx, [rsp + 0x198]
call fcn.140034440
jmp 0x1400a3096
lea rdx, str.miner_setverbosity
lea rcx, [rsp + 0xf0]
call fcn.140036ac0
test al, al
je 0x1400a4df3
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1740
test al, al
je 0x1400a4b9e
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
call fcn.1400a0720
test al, al
je 0x1400a4d5c
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x178]
lea rcx, str.verbosity
call fcn.14009f890
test al, al
je 0x1400a4d5c
mov ebx, dword [rsp + 0x178]
cmp ebx, 4
jb 0x1400a4d66
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x150]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x130], rax
mov edx, 3
lea rcx, [rsp + 0x110]
call fcn.140003d50
nop
mov r8, rax
lea rdx, str.Verbosity_out_of_bounds__0_
lea rcx, [rsp + 0x1b8]
call fcn.140035cf0
nop
lea r8, [0x1402b373c]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1400366c0
nop
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400cc460
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x150]
call fcn.140034440
nop
lea rcx, [rsp + 0x1b8]
call fcn.140034440
nop
lea rcx, [rsp + 0x110]
call fcn.140034440
nop
lea rcx, [rsp + 0x48]
jmp 0x1400a4b98
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x210]
call fcn.140094f60
nop
lea rcx, [rsp + 0x210]
call fcn.1400abbd0
lea rdx, [rsp + 0x178]
mov rcx, rax
call fcn.140061fe0
nop
lea rcx, [rsp + 0x210]
call fcn.14002fa40
mov dword [0x140311b50], ebx
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x150]
call fcn.1400cc6e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
lea rcx, [rsp + 0x48]
jmp 0x1400a4b98
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xffff80a7
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Method_not_found
lea rcx, [rsp + 0x150]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
jmp 0x1400a4b9e
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, rbx
cmp qword [rsp + 0x100], 0xd
jne 0x1400a52b1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.api_authorize
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a52b1
mov byte [r13 + 0x250], al
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc590
nop
mov qword [rsp + 0x20], r14
mov r8, r12
lea rdx, [rsp + 0x48]
call fcn.1400a0720
test al, al
jne 0x1400a4fa2
lea rcx, [rsp + 0x48]
call fcn.1400cc860
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a4f4a
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a4f45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a538a
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a53e9
jmp 0x1400a308e
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x110], 0
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x110]
lea rcx, [0x1402bbc40]
call fcn.1400a0f10
test al, al
jne 0x1400a5034
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a4efc
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a502a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a529d
call fcn.14021962c
jmp 0x1400a4efc
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rsp + 0x410]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x1f4
cmp qword [rsp + 0x120], r8
cmovb r8, qword [rsp + 0x120]
lea rdx, [rsp + 0x110]
mov rbx, qword [rsp + 0x128]
cmp rbx, 0x10
setae byte [rsp + 0x40]
mov r12, qword [rsp + 0x110]
cmovae rdx, r12
lea rcx, [rsp + 0x410]
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r13 + 0x230]
mov r8d, 0x1f4
cmp qword [rdx + 0x10], r8
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400a50c7
mov rdx, qword [rdx]
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140.dll_memcpy
xorps xmm2, xmm2
xorps xmm3, xmm3
mov rax, rsi
mov edx, 0x1f0
movd xmm1, dword [rsp + rax + 0x210]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rsp + rax + 0x410]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm2, xmm1
movd xmm1, dword [rsp + rax + 0x414]
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
psrad xmm1, 0x18
movd xmm0, dword [rsp + rax + 0x214]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
pxor xmm1, xmm0
por xmm1, xmm3
movdqa xmm3, xmm1
add rax, 8
cmp rax, rdx
jl 0x1400a50e2
por xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd r8d, xmm2
nop word [rax + rax]
movsx ecx, byte [rsp + rdx + 0x210]
movsx eax, byte [rsp + rdx + 0x410]
xor ecx, eax
or r8d, ecx
inc rdx
cmp rdx, 0x1f4
jl 0x1400a5180
test r8d, r8d
jne 0x1400a51b3
mov byte [r13 + 0x250], 1
jmp 0x1400a526c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe6f
lea rcx, [rsp + 0x150]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_password
lea rcx, [rsp + 0x150]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rdx, str.API_:_Invalid_password_provided.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140035d70
mov rbx, qword [rsp + 0x128]
cmp byte [rsp + 0x40], 0
je 0x1400a4efc
lea rdx, [rbx + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a52a4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a52a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14021962c
jmp 0x1400a4efc
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe6d
lea rcx, [rsp + 0x150]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Authorization_needed
lea rcx, [rsp + 0x150]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a5396
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5391
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a5391
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xffff80a8
lea rcx, [rsp + 0x48]
call fcn.1400cc4b0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.code
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_Request
lea rcx, [rsp + 0x48]
call fcn.1400cc540
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400ccfe0
lea rdx, str.message
mov rcx, rax
call fcn.1400ccfe0
mov rcx, rax
mov rdx, rbx
call fcn.1400cc910
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a54c9
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a54c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a54c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14021962c
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a3096
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a308e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a308e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.Index_out_of_bounds.
lea rcx, [rsp + 0x90]
call fcn.140003960
lea rdx, [0x1402f89a0]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140027570
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.140060b00
nop
lea rdx, str.Outstanding_operations._Retry_...
lea rcx, [rsp + 0xa8]
call fcn.140003960
lea rdx, [0x1402f89a0]
lea rcx, [rsp + 0xa8]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Index_out_of_bounds.
lea rcx, [rsp + 0xc0]
call fcn.140003960
lea rdx, [0x1402f89a0]
lea rcx, [rsp + 0xc0]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Cant_remove_active_connection
lea rcx, [rsp + 0xd8]
call fcn.140003960
lea rdx, [0x1402f89a0]
lea rcx, [rsp + 0xd8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3