Function at 0x1402bdc50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor esi, esi
lea r15, [rcx + 0x80]
mov dword [rcx], esi
lea r12, [rcx + 0x90]
mov byte [rcx + 4], sil
mov eax, 0xd05
mov qword [rcx + 8], rsi
mov rdi, rcx
mov dword [rcx + 0x10], esi
mov rbx, rdx
mov byte [rcx + 0x18], sil
mov r13d, 0x1000
mov dword [rcx + 0x1c], esi
movabs r14, 0xffffffffffff
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov word [rcx + 0x40], si
mov dword [rcx + 0x48], 1
mov qword [rcx + 0x50], rsi
mov qword [rcx + 0x58], rsi
mov qword [rcx + 0x60], rsi
mov qword [rcx + 0x68], rsi
mov qword [rcx + 0x70], rsi
mov qword [rcx + 0x78], rsi
mov qword [r15], rsi
mov qword [r15 + 8], rsi
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [rcx + 0xa0], 0x3e8
mov qword [rcx + 0xa8], 0x3a98
mov word [rcx + 0xd8], ax
mov eax, 0x405
mov byte [rcx + 0xb0], sil
mov dword [rcx + 0xb4], esi
mov qword [rcx + 0xb8], rsi
mov qword [rcx + 0xc0], rsi
mov qword [rcx + 0xc8], rsi
mov qword [rcx + 0xd0], rsi
movabs rcx, 0xffff000000000000
cmp word [rdx + 0xe], 3
jne 0x1402bddc4
cmp dword [rdx], esi
je 0x1402bddc4
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
and rax, rcx
mov dword [rbp - 0x60], 3
lea rcx, [0x1403c9544]
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov eax, dword [rbx]
mov rcx, qword [rbx + 8]
and rcx, r14
shl rax, 5
add rax, rcx
mov rcx, qword [rbp + 0x30]
cmp rcx, rax
je 0x1402bddc4
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1402bddc4
test word [rcx + 0x1e], r13w
lea rdx, [rcx + 0x10]
jne 0x1402bddc7
mov rdx, qword [rdx + 8]
and rdx, r14
jmp 0x1402bddc7
mov rdx, rsi
lea rax, [rdi + 0xe0]
mov ecx, 0xd05
mov word [rax + 0x28], cx
mov rcx, rax
mov byte [rax], sil
mov dword [rax + 4], esi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
call fcn.1402c0860
mov r13, 0xffffffffffffffff
mov dword [rdi + 0x110], r13d
cmp qword [rdi + 0xe8], rsi
je 0x1402bec5c
cmp word [rdi + 0x108], si
jbe 0x1402bec5c
cmp word [rbx + 0xe], 3
jne 0x1402bdefc
cmp dword [rbx], esi
je 0x1402bdefc
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov eax, 0x405
mov dword [rbp - 0x60], 4
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.user
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov eax, dword [rbx]
mov rcx, qword [rbx + 8]
and rcx, r14
shl rax, 5
add rax, rcx
mov rcx, qword [rbp + 0x30]
cmp rcx, rax
je 0x1402bdefc
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1402bdefc
lea r14, [rcx + 0x10]
mov eax, 0x1000
test word [r14 + 0xe], ax
jne 0x1402bdebc
mov r14, qword [r14 + 8]
movabs rax, 0xffffffffffff
and r14, rax
mov rcx, qword [r15]
call fcn.14026e6c0
test r14, r14
je 0x1402bdf04
mov rcx, r13
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], sil
jne 0x1402bded0
mov qword [r15 + 8], rcx
inc rcx
call fcn.14026ebac
mov r8, qword [r15 + 8]
mov rdx, r14
inc r8
mov qword [r15], rax
mov rcx, rax
call fcn.14026f9d0
jmp 0x1402bdf0b
mov rcx, qword [r15]
call fcn.14026e6c0
mov qword [r15 + 8], rsi
mov qword [r15], rsi
cmp word [rbx + 0xe], 3
jne 0x1402bdffa
cmp dword [rbx], esi
je 0x1402bdffa
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
movabs rcx, 0xffff000000000000
mov dword [rbp - 0x60], reloc.WS2_32.dll_recv
mov r15d, 0x405
lea rdx, [rbp + 0x30]
mov word [rbp - 0x52], r15w
mov rax, qword [rbp - 0x58]
and rax, rcx
lea rcx, str.spend_secret_key
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov eax, dword [rbx]
movabs rdx, 0xffffffffffff
mov rcx, qword [rbx + 8]
and rcx, rdx
shl rax, 5
add rax, rcx
mov rcx, qword [rbp + 0x30]
cmp rcx, rax
je 0x1402bdfef
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1402bdfef
lea r14, [rcx + 0x10]
mov eax, 0x1000
test word [r14 + 0xe], ax
jne 0x1402bdfac
mov r14, qword [r14 + 8]
and r14, rdx
mov rcx, qword [r12]
call fcn.14026e6c0
test r14, r14
je 0x1402be009
mov rcx, r13
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], sil
jne 0x1402bdfc0
mov qword [r12 + 8], rcx
inc rcx
call fcn.14026ebac
mov r8, qword [r12 + 8]
mov rdx, r14
inc r8
mov qword [r12], rax
mov rcx, rax
call fcn.14026f9d0
jmp 0x1402be012
mov rcx, qword [r12]
call fcn.14026e6c0
jmp 0x1402be009
mov rcx, qword [r12]
call fcn.14026e6c0
mov r15d, 0x405
mov qword [r12 + 8], rsi
mov qword [r12], rsi
cmp word [rbx + 0xe], 3
jne 0x1402be0fd
cmp dword [rbx], esi
je 0x1402be0fd
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r15w
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
mov dword [rbp - 0x60], 4
lea rcx, str.pass
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov eax, dword [rbx]
movabs r12, 0xffffffffffff
mov rcx, qword [rbx + 8]
and rcx, r12
shl rax, 5
add rax, rcx
mov rcx, qword [rbp + 0x30]
cmp rcx, rax
je 0x1402be0ee
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1402be0ee
lea r14, [rcx + 0x10]
mov eax, 0x1000
test word [r14 + 0xe], ax
jne 0x1402be0ad
mov r14, qword [r14 + 8]
and r14, r12
mov rcx, qword [rdi + 0x60]
lea r15, [rdi + 0x60]
call fcn.14026e6c0
test r14, r14
je 0x1402be114
mov rcx, r13
inc rcx
cmp byte [r14 + rcx], sil
jne 0x1402be0c2
mov qword [r15 + 8], rcx
inc rcx
call fcn.14026ebac
mov r8, qword [r15 + 8]
mov rdx, r14
inc r8
mov qword [r15], rax
mov rcx, rax
call fcn.14026f9d0
jmp 0x1402be11b
mov rcx, qword [rdi + 0x60]
lea r15, [rdi + 0x60]
call fcn.14026e6c0
jmp 0x1402be114
mov rcx, qword [rdi + 0x60]
lea r15, [rdi + 0x60]
call fcn.14026e6c0
movabs r12, 0xffffffffffff
mov qword [r15 + 8], rsi
mov qword [r15], rsi
cmp word [rbx + 0xe], 3
jne 0x1402be1f1
cmp dword [rbx], esi
je 0x1402be1f1
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov eax, 0x405
mov dword [rbp - 0x60], 6
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.rig_id
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov eax, dword [rbx]
mov rcx, qword [rbx + 8]
and rcx, r12
shl rax, 5
add rax, rcx
mov rcx, qword [rbp + 0x30]
cmp rcx, rax
je 0x1402be1f1
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1402be1f1
lea r14, [rcx + 0x10]
mov eax, 0x1000
test word [r14 + 0xe], ax
jne 0x1402be1b0
mov r14, qword [r14 + 8]
and r14, r12
mov rcx, qword [rdi + 0x70]
lea r15, [rdi + 0x70]
call fcn.14026e6c0
test r14, r14
je 0x1402be1fe
mov rcx, r13
inc rcx
cmp byte [r14 + rcx], sil
jne 0x1402be1c5
mov qword [r15 + 8], rcx
inc rcx
call fcn.14026ebac
mov r8, qword [r15 + 8]
mov rdx, r14
inc r8
mov qword [r15], rax
mov rcx, rax
call fcn.14026f9d0
jmp 0x1402be205
mov rcx, qword [rdi + 0x70]
lea r15, [rdi + 0x70]
call fcn.14026e6c0
mov qword [r15 + 8], rsi
mov qword [r15], rsi
movdqa xmm0, xmmword [0x1403dad20]
xor ecx, ecx
movdqa xmm1, xmmword [0x1403dac10]
mov edx, esi
mov eax, 0x40
mov dword [rbp - 0x50], eax
mov byte [rbp - 0xc], 9
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
movdqu xmmword [rbp - 0x4c], xmm0
movdqa xmm0, xmmword [0x1403dace0]
movdqu xmmword [rbp - 0x3c], xmm1
movdqa xmm1, xmmword [0x1403dab00]
movdqu xmmword [rbp - 0x2c], xmm0
movdqu xmmword [rbp - 0x1c], xmm1
test eax, eax
je 0x1402be277
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x4c]
add rcx, rax
lea eax, [rdx - 0x37]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x1402be260
mov byte [rbp + rax - 0x4c], sil
mov rcx, qword [rdi + 0x50]
call fcn.14026e6c0
lea rax, [rbp - 0x4c]
nop dword [rax]
inc r13
cmp byte [rax + r13], sil
jne 0x1402be290
lea rcx, [r13 + 1]
mov qword [rdi + 0x58], r13
call fcn.14026ebac
mov r8, qword [rdi + 0x58]
lea rdx, [rbp - 0x4c]
inc r8
mov qword [rdi + 0x50], rax
mov rcx, rax
call fcn.14026f9d0
cmp word [rbx + 0xe], 3
jne 0x1402be335
cmp dword [rbx], esi
je 0x1402be335
xorps xmm0, xmm0
lea rcx, str.daemon_poll_interval
movups xmmword [rbp - 0x60], xmm0
mov r14d, 0x405
mov dword [rbp - 0x60], shutdown
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
movabs r15, 0xffff000000000000
and rax, r15
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r12
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be345
test byte [rax + 0x1f], 1
je 0x1402be345
mov rcx, qword [rax + 0x10]
jmp 0x1402be34a
mov r14d, 0x405
movabs r15, 0xffff000000000000
mov ecx, 0x3e8
mov qword [rdi + 0xa0], rcx
cmp word [rbx + 0xe], 3
jne 0x1402be3b9
cmp dword [rbx], esi
je 0x1402be3b9
xorps xmm0, xmm0
lea rcx, str.daemon_job_timeout
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r15
mov dword [rbp - 0x60], reloc.WS2_32.dll_select
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r12
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be3b9
test byte [rax + 0x1f], 1
je 0x1402be3b9
mov rcx, qword [rax + 0x10]
jmp 0x1402be3be
mov ecx, 0x3a98
mov qword [rdi + 0xa8], rcx
cmp word [rbx + 0xe], 3
jne 0x1402be448
cmp dword [rbx], esi
je 0x1402be448
xorps xmm0, xmm0
lea rcx, [0x1403cb0c0]
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r15
mov dword [rbp - 0x60], 4
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r12
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be448
movzx ecx, word [rax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x1402be448
lea rcx, [rax + 0x10]
mov r13d, 0x1000
test word [rcx + 0xe], r13w
jne 0x1402be451
mov rcx, qword [rcx + 8]
and rcx, r12
jmp 0x1402be451
mov r13d, 0x1000
mov rcx, rsi
call fcn.1402a86e0
mov dword [rdi], eax
cmp word [rbx + 0xe], 3
jne 0x1402be4d5
cmp dword [rbx], esi
je 0x1402be4d5
xorps xmm0, xmm0
lea rcx, str.coin
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r15
mov dword [rbp - 0x60], 4
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r12
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be4d5
movzx ecx, word [rax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x1402be4d5
test word [rax + 0x1e], r13w
lea rcx, [rax + 0x10]
jne 0x1402be4d8
mov rcx, qword [rcx + 8]
and rcx, r12
jmp 0x1402be4d8
mov rcx, rsi
call fcn.1402a8900
mov dword [rdi + 8], eax
cmp word [rbx + 0xe], 3
jne 0x1402be55d
cmp dword [rbx], esi
je 0x1402be55d
xorps xmm0, xmm0
lea rcx, str.self_select
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r15
mov dword [rbp - 0x60], reloc.WS2_32.dll_inet_addr
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r12
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be55d
movzx ecx, word [rax + 0x1e]
shr cx, 0xa
test cl, 1
je 0x1402be55d
test word [rax + 0x1e], r13w
lea rdx, [rax + 0x10]
jne 0x1402be560
mov rdx, qword [rdx + 8]
and rdx, r12
jmp 0x1402be560
mov rdx, rsi
mov eax, 0xd05
mov byte [rbp - 0x50], sil
lea rcx, [rbp - 0x50]
mov word [rbp - 0x28], ax
mov dword [rbp - 0x4c], esi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
call fcn.1402c0860
movzx eax, byte [rbp - 0x50]
mov byte [rdi + 0xb0], al
mov eax, dword [rbp - 0x4c]
mov dword [rdi + 0xb4], eax
mov rcx, qword [rdi + 0xb8]
call fcn.14026e6c0
mov rax, qword [rbp - 0x48]
mov qword [rdi + 0xb8], rax
mov rax, qword [rbp - 0x40]
mov qword [rdi + 0xc0], rax
mov rcx, qword [rdi + 0xc8]
call fcn.14026e6c0
mov rax, qword [rbp - 0x38]
xor ecx, ecx
mov qword [rdi + 0xc8], rax
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0xd0], rax
movzx eax, word [rbp - 0x28]
mov word [rdi + 0xd8], ax
call fcn.14026e6c0
xor ecx, ecx
call fcn.14026e6c0
cmp word [rbx + 0xe], 3
lea r12, [0x14069b420]
jne 0x1402be66c
cmp dword [rbx], esi
je 0x1402be66c
xorps xmm0, xmm0
lea rcx, str.socks5
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r14w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r15
mov dword [rbp - 0x60], 6
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
movabs r10, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, r10
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be676
lea rcx, [rax + 0x10]
jmp 0x1402be679
movabs r10, 0xffffffffffff
mov rcx, r12
movzx edx, word [rcx + 0xe]
xor r8b, r8b
movzx eax, dx
mov byte [rbp - 0x50], r8b
shr ax, 0xa
mov r9d, esi
mov dword [rbp - 0x4c], esi
mov r15, rsi
mov qword [rbp - 0x48], rsi
mov r13, rsi
mov qword [rbp - 0x40], rsi
movzx r14d, si
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x28], si
test al, 1
je 0x1402be6e5
bt dx, 0xc
jb 0x1402be6c1
mov rcx, qword [rcx + 8]
and rcx, r10
mov rdx, rcx
lea rcx, [rbp - 0x50]
call fcn.1402c0860
mov r9d, dword [rbp - 0x4c]
movzx r8d, byte [rbp - 0x50]
movzx r14d, word [rbp - 0x28]
mov r13, qword [rbp - 0x40]
mov r15, qword [rbp - 0x48]
jmp 0x1402be6f1
shr dl, 6
test dl, 1
je 0x1402be6f1
movzx r14d, word [rcx]
mov byte [rdi + 0x18], r8b
mov dword [rdi + 0x1c], r9d
mov rcx, qword [rdi + 0x20]
call fcn.14026e6c0
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r13
mov rcx, qword [rdi + 0x30]
call fcn.14026e6c0
mov rax, qword [rbp - 0x38]
xor ecx, ecx
mov qword [rdi + 0x30], rax
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0x38], rax
mov word [rdi + 0x40], r14w
call fcn.14026e6c0
xor ecx, ecx
call fcn.14026e6c0
cmp word [rbx + 0xe], 3
mov r14d, dword [rdi + 0x110]
jne 0x1402be7c9
cmp dword [rbx], esi
je 0x1402be7c9
xorps xmm0, xmm0
lea rcx, str.daemon_zmq_port
movups xmmword [rbp - 0x60], xmm0
mov r15d, 0x405
mov dword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov word [rbp - 0x52], r15w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
movabs r13, 0xffff000000000000
and rax, r13
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
movabs rdx, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, rdx
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be7d9
movzx ecx, byte [rax + 0x1e]
shr cl, 5
test cl, 1
je 0x1402be7d9
mov r14d, dword [rax + 0x10]
jmp 0x1402be7d9
mov r15d, 0x405
movabs r13, 0xffff000000000000
mov dword [rdi + 0x110], r14d
cmp word [rbx + 0xe], 3
jne 0x1402be865
cmp dword [rbx], esi
je 0x1402be865
xorps xmm0, xmm0
lea rcx, [0x1403cb118]
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r15w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r13
mov dword [rbp - 0x60], 7
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
lea r13, [rdi + 0x48]
mov rax, qword [rbx + 8]
movabs r14, 0xffffffffffff
and rax, r14
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be873
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402be873
cmp cx, 0xa
je 0x1402be873
and dword [r13], 0xfffffffe
jmp 0x1402be878
lea r13, [rdi + 0x48]
movabs r14, 0xffffffffffff
or dword [r13], 1
cmp word [rbx + 0xe], 3
mov r15, r13
jne 0x1402be8f9
cmp dword [rbx], esi
je 0x1402be8f9
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov eax, 0x405
mov dword [rbp - 0x60], 8
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, str.nicehash
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r14
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be8f9
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402be8f9
cmp cx, 0xa
je 0x1402be926
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
jne 0x1402be909
mov ecx, esi
jmp 0x1402be91b
lea rdx, str.nicehash.com
call fcn.1402711ac
test rax, rax
setne cl
test cl, cl
jne 0x1402be926
and dword [r13], 0xfffffffd
jmp 0x1402be92b
or dword [r13], 2
cmp word [rbx + 0xe], 3
mov r14d, dword [r13]
jne 0x1402be9bb
cmp dword [rbx], esi
je 0x1402be9bb
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov eax, 0x405
mov dword [rbp - 0x60], 3
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, [0x1403c94bc]
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
movabs rdx, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, rdx
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402be9bb
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402be9bb
cmp cx, 0xa
je 0x1402be9cd
cmp byte [rdi + 0xe0], sil
jne 0x1402be9cd
and r14d, 0xfffffffb
mov rcx, r13
jmp 0x1402be9d7
or r14d, 4
mov r13, r15
mov rcx, r15
mov eax, r14d
mov dword [rcx], eax
cmp word [rbx + 0xe], 3
jne 0x1402bea75
cmp dword [rbx], esi
je 0x1402bea75
xorps xmm0, xmm0
lea r8, [rbp - 0x60]
movups xmmword [rbp - 0x60], xmm0
mov eax, 0x405
mov dword [rbp - 0x60], 3
mov word [rbp - 0x52], ax
lea rdx, [rbp + 0x30]
mov rax, qword [rbp - 0x58]
movabs rcx, 0xffff000000000000
and rax, rcx
lea rcx, [0x1403c9564]
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
movabs rdx, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, rdx
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402bea75
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402bea75
cmp cx, 0xa
jne 0x1402bea75
or r14d, 8
mov dword [r15], r14d
jmp 0x1402bea7a
and dword [r13], 0xfffffff7
cmp word [rbx + 0xe], 3
jne 0x1402beaf6
cmp dword [rbx], esi
je 0x1402beaf6
xorps xmm0, xmm0
lea rcx, str.keepalive
movups xmmword [rbp - 0x60], xmm0
mov r15d, 0x405
mov dword [rbp - 0x60], 9
mov word [rbp - 0x52], r15w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
movabs r13, 0xffff000000000000
and rax, r13
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
movabs r14, 0xffffffffffff
mov rax, qword [rbx + 8]
and rax, r14
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402beb10
lea r12, [rax + 0x10]
jmp 0x1402beb10
movabs r14, 0xffffffffffff
mov r15d, 0x405
movabs r13, 0xffff000000000000
movzx ecx, word [r12 + 0xe]
movzx eax, cl
shr al, 5
test al, 1
je 0x1402beb2b
mov eax, dword [r12]
test eax, eax
cmovns esi, eax
jmp 0x1402beb41
movzx eax, cl
shr al, 3
test al, 1
je 0x1402beb44
cmp cx, 0xa
mov eax, 0x3c
cmove esi, eax
mov dword [rdi + 0xc], esi
cmp qword [rdi + 0xb8], 0
je 0x1402bebe4
cmp word [rdi + 0xd8], 0
jbe 0x1402bebe4
movzx esi, byte [rdi + 4]
mov dword [rdi + 0x10], 2
cmp word [rbx + 0xe], 3
jne 0x1402bebde
cmp dword [rbx], 0
je 0x1402bebde
xorps xmm0, xmm0
lea rcx, str.submit_to_origin
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r15w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r13
mov dword [rbp - 0x60], reloc.WS2_32.dll_recv
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r14
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402bebde
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402bebde
cmp cx, 0xa
sete sil
mov byte [rdi + 4], sil
jmp 0x1402bec5c
cmp word [rbx + 0xe], 3
jne 0x1402bec5c
cmp dword [rbx], 0
je 0x1402bec5c
xorps xmm0, xmm0
lea rcx, str.daemon
movups xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x52], r15w
lea r8, [rbp - 0x60]
mov rax, qword [rbp - 0x58]
lea rdx, [rbp + 0x30]
and rax, r13
mov dword [rbp - 0x60], 6
or rax, rcx
mov rcx, rbx
mov qword [rbp - 0x58], rax
call fcn.140004bf0
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
and rax, r14
shl rcx, 5
add rcx, rax
mov rax, qword [rbp + 0x30]
cmp rax, rcx
je 0x1402bec5c
movzx ecx, word [rax + 0x1e]
movzx eax, cl
shr al, 3
test al, 1
je 0x1402bec5c
cmp cx, 0xa
jne 0x1402bec5c
mov dword [rdi + 0x10], 1
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret