Function at 0x1400a2c00
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, [0x1402b9b70]
lea rcx, [rsp + 0x48]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.jsonrpc
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
mov rdx, r14
mov rcx, r12
call fcn.1400a1820
test al, al
je 0x1400a30a6
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.1400a0f20
mov rdi, qword [rsp + 0x198]
mov r15, qword [rsp + 0x1b0]
test al, al
je 0x1400a5400
lea rax, [rsp + 0x198]
cmp r15, 0x10
cmovae rax, rdi
cmp qword [rsp + 0x1a8], 3
jne 0x1400a5400
cmp byte [rax], 0x32
jne 0x1400a2d43
cmp byte [rax + 1], 0x2e
jne 0x1400a2d43
cmp byte [rax + 2], 0x30
jne 0x1400a2d43
mov eax, esi
jmp 0x1400a2d48
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400a5400
mov qword [rsp + 0x20], r14
mov r8, r12
lea rdx, [rsp + 0xf0]
lea rcx, str.method
call fcn.1400a0f20
test al, al
je 0x1400a5400
mov rbx, qword [rsp + 0xf0]
cmp byte [r13 + 0x250], 0
je 0x1400a4ea0
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, rbx
cmp qword [rsp + 0x100], 0xd
jne 0x1400a2dc4
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.api_authorize
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400a4ea0
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x210]
call fcn.140094f70
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 0x1400a2ea9
mov r8, r12
lea rdx, str.miner_getstat1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2ea9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
call fcn.1400a7740
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e8b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x13
jne 0x1400a2efa
mov r8, r12
lea rdx, str.miner_getstatdetail
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2efa
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x48]
call fcn.1400aab50
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e8b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xd
jne 0x1400a2f69
mov r8, r12
lea rdx, str.miner_shuffle
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2f69
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
mov rcx, qword [0x140311b38]
call fcn.1400575c0
jmp 0x1400a4bae
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xa
jne 0x1400a2fc1
mov r8, r12
lea rdx, str.miner_ping
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a2fc1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, str.pong
lea rcx, [rsp + 0x48]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4e8b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xd
jne 0x1400a31ab
mov r8, r12
lea rdx, str.miner_restart
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a31ab
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a30c9
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3053
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a304e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a54cd
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a552c
mov rcx, rdi
call fcn.1402193dc
mov rcx, qword [rsp + 0x610]
xor rcx, rsp
call fcn.140218dc0
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
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 0x1400a4bae
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xc
jne 0x1400a3313
mov r8, r12
lea rdx, str.miner_reboot
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3313
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
je 0x1400a3010
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.140219078
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
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.1402190b4
jmp 0x1400a4bae
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x14
jne 0x1400a336b
mov r8, r12
lea rdx, str.miner_getconnections
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a336b
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 0x1400a4e8b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x13
jne 0x1400a3743
mov r8, r12
lea rdx, str.miner_addconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3743
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a3455
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a33fd
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a33f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a355c
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a35bb
jmp 0x1400a309e
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
call fcn.1400a0730
test al, al
jne 0x1400a3489
lea rcx, [rsp + 0x48]
call fcn.1400cc700
jmp 0x1400a33ba
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, [0x1402b8b74]
call fcn.1400a0f20
test al, al
jne 0x1400a35c2
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3517
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3511
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a372c
call fcn.1402193dc
nop
lea rcx, [rsp + 0x48]
call fcn.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3568
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3563
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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.140219078
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.140219078
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 0x1400a3686
mov qword [rdx], rdi
mov qword [rdx + 8], rax
add qword [rbx + 8], 0x10
jmp 0x1400a369e
lea r8, [rsp + 0x178]
mov rcx, rbx
call fcn.14003bff0
mov rsi, qword [rsp + 0x180]
test rsi, rsi
je 0x1400a36ac
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400cc7b0
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3739
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3733
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3733
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
nop
lea rcx, [rsp + 0x48]
jmp 0x1400a4ba8
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x19
jne 0x1400a3ecb
mov r8, r12
lea rdx, str.miner_setactiveconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a3ecb
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a382d
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a37d5
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a37d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a38a4
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a3903
jmp 0x1400a309e
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0730
test al, al
jne 0x1400a390a
lea rcx, [rsp + 0x150]
call fcn.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a38b0
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a38ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a38ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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.1400cea60
test al, al
je 0x1400a3bb7
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f8a0
test al, al
je 0x1400a3a70
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 0x1400a5533
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
jmp 0x1400a4ba0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_index
lea rcx, [rsp + 0x1b8]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
lea rcx, [rsp + 0x150]
call fcn.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3b5d
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3b58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3b58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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, [0x1402bbd80]
call fcn.1400a0f20
test al, al
jne 0x1400a555c
jmp 0x1400a3d22
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_index
lea rcx, [rsp + 0x1b8]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a3e01
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3dfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3dfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
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.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3e71
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a3e6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a3e6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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 0x1400a417c
mov r8, r12
lea rdx, str.miner_removeconnection
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a417c
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a3fb5
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a3f5d
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a3f58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4105
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4175
jmp 0x1400a309e
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0730
test al, al
jne 0x1400a3ff2
lea rcx, [rsp + 0x150]
call fcn.1400cc700
jmp 0x1400a3f1a
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f8a0
test al, al
je 0x1400a3fe0
mov rbx, qword [0x140311b48]
movzx eax, byte [rbx + 0x62]
test al, al
jne 0x1400a5572
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 0x1400a559a
cmp edi, dword [rbx + 0x8c]
je 0x1400a55c2
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 0x1400a4080
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
nop
mov rdx, rbx
mov rcx, rax
call fcn.1400cc7b0
nop
jmp 0x1400a4ba0
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 0x1400a41d4
mov r8, r12
lea rdx, str.miner_getscramblerinfo
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a41d4
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 0x1400a4e8b
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0x16
jne 0x1400a4956
mov r8, r12
lea rdx, str.miner_setscramblerinfo
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4956
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a42be
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a4266
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a4261
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4881
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a48e0
jmp 0x1400a309e
xor edx, edx
lea rcx, [rsp + 0x1b8]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x1b8]
call fcn.1400a0730
test al, al
jne 0x1400a42fb
lea rcx, [rsp + 0x1b8]
call fcn.1400cc700
jmp 0x1400a4223
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.1400cea60
test al, al
je 0x1400a4740
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.1400cce80
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.1400cd9b0
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 0x1400a4454
cmp byte [rax], 0x30
jne 0x1400a4445
cmp byte [rax + 1], 0x78
jne 0x1400a4445
mov eax, esi
jmp 0x1400a444a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400a4454
movzx r12d, r13b
jmp 0x1400a4457
xor r12b, r12b
test r8b, r8b
je 0x1400a448c
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4487
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4487
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
test r12b, r12b
je 0x1400a45c9
mov r8d, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x110]
call fcn.140069220
mov r12d, eax
jmp 0x1400a46fa
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x70]
call fcn.1400a00a0
test al, al
jne 0x1400a46f5
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a462b
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4734
call fcn.1402193dc
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.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a469b
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4696
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4696
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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 0x1400a4740
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a473b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a473b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
lea rdx, str.segmentwidth
lea rcx, [rsp + 0x1b8]
call fcn.1400cea60
test al, al
je 0x1400a479b
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x178]
lea rcx, str.segmentwidth
call fcn.14009f8a0
test al, al
je 0x1400a42e9
mov ebx, dword [rsp + 0x178]
cmp ebx, 0xa
jae 0x1400a48e7
mov ecx, 0xa
jmp 0x1400a48f4
test r13b, r13b
jne 0x1400a4788
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xffff80a6
lea rcx, [rsp + 0x48]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Missing_parameters
lea rcx, [rsp + 0x150]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
lea rcx, [rsp + 0x1b8]
call fcn.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a488d
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4888
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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 0x1400a4912
mov dword [rax + 0x3a8], ecx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
lea rcx, [rsp + 0x1b8]
jmp 0x1400a4ba8
lea rcx, [rsp + 0xf0]
test r13b, r13b
cmovne rcx, rbx
cmp r12, 0xe
jne 0x1400a4bce
mov r8, r12
lea rdx, str.miner_pausegpu
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4bce
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
jne 0x1400a4a15
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a49e7
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a49e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a49e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
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 0x1400a30a6
xor edx, edx
lea rcx, [rsp + 0x150]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x150]
call fcn.1400a0730
test al, al
je 0x1400a4ba0
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x178]
lea rcx, str.index
call fcn.14009f8a0
test al, al
je 0x1400a4ba0
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x150]
lea rdx, [rsp + 0x40]
call fcn.14009f0c0
test al, al
je 0x1400a4ba0
mov r8d, dword [rsp + 0x178]
lea rdx, [rsp + 0x1e0]
mov rcx, qword [0x140311b38]
call fcn.14009f060
nop
mov rcx, qword [rsp + 0x1e0]
test rcx, rcx
je 0x1400a4af9
mov edx, 1
cmp byte [rsp + 0x40], 0
je 0x1400a4ac9
call fcn.14005e220
jmp 0x1400a4ace
call fcn.14005e6d0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
jmp 0x1400a4b81
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x48]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x130], rax
lea rdx, str.Index_out_of_bounds
lea rcx, [rsp + 0x1b8]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
lea rcx, [rsp + 0x1e0]
call fcn.14002fbe0
nop
lea rcx, [rsp + 0x150]
call fcn.1400cc700
nop
lea rcx, [rsp + 0xf0]
call fcn.140034440
nop
lea rcx, [rsp + 0x198]
call fcn.140034440
jmp 0x1400a30a6
lea rdx, str.miner_setverbosity
lea rcx, [rsp + 0xf0]
call fcn.140036ac0
test al, al
je 0x1400a4e03
mov rdx, r14
mov rax, qword [rsp + 0x178]
movzx ecx, byte [rax + 0x228]
call fcn.1400a1750
test al, al
je 0x1400a4bae
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x48]
call fcn.1400a0730
test al, al
je 0x1400a4d6c
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x178]
lea rcx, str.verbosity
call fcn.14009f8a0
test al, al
je 0x1400a4d6c
mov ebx, dword [rsp + 0x178]
cmp ebx, 4
jb 0x1400a4d76
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe5a
lea rcx, [rsp + 0x150]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
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, [0x1402b36bc]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1400366c0
nop
mov rdx, rax
lea rcx, [rsp + 0x1e0]
call fcn.1400cc300
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
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 0x1400a4ba8
lea rdx, str.e_94m_i
lea rcx, [rsp + 0x210]
call fcn.140094f70
nop
lea rcx, [rsp + 0x210]
call fcn.1400abbe0
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.1400cc580
mov rbx, rax
lea rdx, str.result
mov rcx, r14
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
lea rcx, [rsp + 0x48]
jmp 0x1400a4ba8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
mov edx, 0xffff80a7
lea rcx, [rsp + 0x48]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Method_not_found
lea rcx, [rsp + 0x150]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
jmp 0x1400a4bae
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 0x10
cmovae rcx, rbx
cmp qword [rsp + 0x100], 0xd
jne 0x1400a52c1
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.api_authorize
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a52c1
mov byte [r13 + 0x250], al
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400cc430
nop
mov qword [rsp + 0x20], r14
mov r8, r12
lea rdx, [rsp + 0x48]
call fcn.1400a0730
test al, al
jne 0x1400a4fb2
lea rcx, [rsp + 0x48]
call fcn.1400cc700
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a4f5a
inc rdx
mov rcx, qword [rsp + 0xf0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400a4f55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a539a
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a53f9
jmp 0x1400a309e
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, [0x1402bbbe0]
call fcn.1400a0f20
test al, al
jne 0x1400a5044
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x1400a4f0c
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a503a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a52ad
call fcn.1402193dc
jmp 0x1400a4f0c
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 0x1400a50d7
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 0x1400a50f2
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 0x1400a5190
test r8d, r8d
jne 0x1400a51c3
mov byte [r13 + 0x250], 1
jmp 0x1400a527c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe6f
lea rcx, [rsp + 0x150]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_password
lea rcx, [rsp + 0x150]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
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 0x1400a4f0c
lea rdx, [rbx + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400a52b4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a52b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.1402193dc
jmp 0x1400a4f0c
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
mov edx, 0xfffffe6d
lea rcx, [rsp + 0x150]
call fcn.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x130], rax
lea rdx, str.Authorization_needed
lea rcx, [rsp + 0x150]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a53a6
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a53a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a53a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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.1400cc350
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.code
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x130], rax
lea rdx, str.Invalid_Request
lea rcx, [rsp + 0x48]
call fcn.1400cc3e0
mov rbx, rax
lea rdx, str.error
mov rcx, r14
call fcn.1400cce80
lea rdx, str.message
mov rcx, rax
call fcn.1400cce80
mov rcx, rax
mov rdx, rbx
call fcn.1400cc7b0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 0x10
jb 0x1400a54d9
inc rdx
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a54d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a54d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402193dc
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
cmp r15, 0x10
jb 0x1400a30a6
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a309e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a309e
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, [0x1402f8980]
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, [0x1402f8980]
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, [0x1402f8980]
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, [0x1402f8980]
lea rcx, [rsp + 0xd8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3