Function at 0x14008b3a8
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x14008b8e1
mov r11, rsp
push rbp
push r14
lea rbp, [r11 - 0x5f]
sub rsp, 0xd8
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0xf], rax
cmp dword [0x1401f29a4], 0
mov qword [r11 + 0x18], rbx
mov qword [r11 - 0x18], rsi
movaps xmm6, xmm2
mov qword [r11 - 0x20], rdi
mov r14d, edx
mov dword [rbp - 0x19], edx
mov qword [r11 - 0x28], r12
mov qword [rbp - 0x11], rcx
je 0x14008b4a5
mov rax, qword [0x1401f29d0]
test rax, rax
je 0x14008b40a
lea rcx, [rbp - 0x29]
call rax
jmp 0x14008b42d
mov rax, qword [0x1401f29c8]
test rax, rax
je 0x14008b41a
call rax
jmp 0x14008b420
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov qword [rbp - 0x21], rcx
mov dword [rbp - 0x21], eax
mov qword [rbp - 0x29], rcx
mov r10, qword [0x1401f29f8]
test r10, r10
je 0x14008b458
mov edx, reloc.WS2_32.dll_send
lea r8, [0x140187750]
mov r9d, 0xdf
lea ecx, [rdx - 0xe]
call r10
mov r10, qword [0x1401f29f8]
mov rax, qword [0x1401f4ca8]
sub rax, qword [rbp - 0x29]
jne 0x14008b470
mov rax, qword [0x1401f4cb0]
sub rax, qword [rbp - 0x21]
xor edi, edi
test rax, rax
mov ebx, edi
sete bl
mov dword [rbp - 0x39], ebx
test r10, r10
je 0x14008b49f
lea r8, [0x140187780]
lea edx, [rdi + 0x13]
lea ecx, [rdi + 6]
mov r9d, 0xe1
call r10
mov r10, qword [0x1401f29f8]
test ebx, ebx
jne 0x14008b4d7
jmp 0x14008b4b3
mov r10, qword [0x1401f29f8]
xor edi, edi
mov ebx, edi
mov dword [rbp - 0x39], ebx
test r10, r10
je 0x14008b4d7
mov edx, reloc.WS2_32.dll_select
lea r8, [0x1401877b0]
mov r9d, 0xe6
lea ecx, [rdx - 9]
call r10
mov r10, qword [0x1401f29f8]
movsxd rcx, dword [0x1401f29b0]
mov eax, dword [0x1401f2990]
mov r8d, dword [0x1401f2994]
movaps xmm0, xmmword [0x1401f4870]
mov dword [rbp - 0x31], eax
mov eax, dword [0x1401f4880]
mov rsi, rcx
movups xmmword [rbp - 9], xmm0
add ecx, r14d
mov dword [rbp - 0x2d], r8d
mov dword [rbp + 7], eax
mov dword [0x1401f29b0], ecx
cmp ecx, 0x3ff
jl 0x14008b547
mov eax, 0x7fdff7fd
mov dword [0x1401f2998], 0x3ff
imul ecx
sub edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3ff
add ecx, eax
mov dword [0x1401f29b0], ecx
jmp 0x14008b55f
mov eax, dword [0x1401f2998]
cmp eax, 0x3ff
jge 0x14008b55f
cmp ecx, eax
cmovg eax, ecx
mov dword [0x1401f2998], eax
mov eax, 0x66666667
mov ecx, r14d
imul r14d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
mov eax, edi
test ecx, ecx
setg al
add eax, edx
add r8d, eax
mov dword [0x1401f2994], r8d
test ebx, ebx
jne 0x14008b5b5
test r10, r10
je 0x14008b5b5
lea r8, [0x1401877e0]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x106
call r10
mov r10, qword [0x1401f29f8]
xor eax, eax
mov qword [rsp + 0xb8], r13
mov r12d, edi
mov qword [rsp + 0xb0], r15
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov ecx, eax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
test r14d, r14d
jle 0x14008b74e
mov rbx, rsi
mov r13d, r14d
mov r15d, socket
nop dword [rax]
mov r14d, r13d
cmp r13d, 0x14
lea rdx, [0x14014a8a0]
cmovg r14d, r15d
lea rcx, [rbp - 0x69]
xor r8d, r8d
call fcn.140095b00
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
mov r8, r15
call qword [rbp - 0x41]
lea r15d, [rsi - 0x3ff]
movsxd rdx, esi
add r15d, r14d
lea rcx, [rbp - 0x69]
test r15d, r15d
jle 0x14008b668
mov eax, r14d
sub eax, r15d
movsxd r8, eax
lea rax, [0x1401f4890]
add rdx, rax
call qword [rbp - 0x41]
movsxd r8, r15d
lea rdx, [0x1401f4890]
lea rcx, [rbp - 0x69]
jmp 0x14008b675
lea rax, [0x1401f4890]
movsxd r8, r14d
add rdx, rax
call qword [rbp - 0x41]
mov r15, qword [rbp - 0x11]
movsxd r14, r14d
lea rcx, [rbp - 0x69]
mov r8, r14
mov rdx, r15
call qword [rbp - 0x41]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x69]
mov r8d, 8
call qword [rbp - 0x41]
mov rax, qword [rbp - 0x69]
cmp dword [rax + 8], 0x40
jg 0x14008b8e2
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x69]
call qword [rax + 0x20]
mov rax, qword [rbp - 0x69]
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14008b6d1
lea rcx, [rbp - 0x69]
call rdx
or dword [rbp - 0x59], 2
mov rax, qword [rbp - 0x69]
movsxd r8, dword [rax + 0x60]
mov rcx, qword [rbp - 0x51]
xor edx, edx
call sub.MSVCR120.dll_memset
inc dword [rbp - 0x2d]
add r15, r14
mov qword [rbp - 0x11], r15
mov rcx, rdi
test r14, r14
jle 0x14008b724
lea rdx, [0x1401f4890]
nop dword [rax]
movzx eax, byte [rbp + rcx - 9]
inc rbx
inc esi
xor byte [rbx + rdx - 1], al
cmp rbx, 0x3ff
jl 0x14008b71c
mov esi, edi
mov rbx, rdi
inc rcx
cmp rcx, r14
jl 0x14008b700
add r12d, 0x14
sub r13d, 0x14
mov r15d, socket
cmp r12d, dword [rbp - 0x19]
jl 0x14008b600
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1401f29f8]
mov ebx, dword [rbp - 0x39]
test rax, rax
je 0x14008b7a4
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14008b777
test byte [rbp - 0x59], 2
jne 0x14008b777
lea rcx, [rbp - 0x69]
call rdx
mov rcx, qword [rbp - 0x51]
mov rax, qword [rbp - 0x69]
mov r10, qword [0x1401f29f8]
test rax, rax
je 0x14008b7a4
movsxd rdx, dword [rax + 0x60]
test edx, edx
je 0x14008b7a4
test rcx, rcx
je 0x14008b7a4
test byte [rbp - 0x59], 4
jne 0x14008b7a4
call fcn.140011160
mov rcx, qword [rbp - 0x51]
call fcn.140086a30
mov r10, qword [0x1401f29f8]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14008b7b9
call fcn.14009eb90
mov r10, qword [0x1401f29f8]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14008b7ce
call fcn.14008c2e0
mov r10, qword [0x1401f29f8]
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
test ebx, ebx
jne 0x14008b80e
test r10, r10
je 0x14008b80e
lea r8, [0x140187810]
lea edx, [rax + 0x12]
lea ecx, [rax + 9]
mov r9d, 0x139
call r10
mov r10, qword [0x1401f29f8]
movdqa xmm1, xmmword [0x1401f4870]
movdqu xmm0, xmmword [rbp - 9]
mov ecx, 4
lea rdx, [0x1401f4870]
pxor xmm1, xmm0
movdqu xmmword [0x1401f4870], xmm1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rdi + 7]
lea rdi, [rdi + 1]
xor byte [rdi + rdx + 0xf], al
dec rcx
jne 0x14008b840
movsd xmm0, qword [0x140161b70]
movsd xmm1, qword [0x1401f29a8]
comisd xmm0, xmm1
jbe 0x14008b874
addsd xmm1, xmm6
movsd qword [0x1401f29a8], xmm1
test ebx, ebx
jne 0x14008b893
test r10, r10
je 0x14008b893
lea r8, [0x140187840]
lea edx, [rbx + 0x12]
lea ecx, [rbx + 0xa]
mov r9d, 0x144
call r10
mov r13, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x100]
mov r12, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140129b50
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xd8
pop r14
pop rbp
ret
lea r9, str.ctx__digest__md_size___EVP_MAX_MD_SIZE
lea rdx, [0x140193470]
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x10f
call fcn.140090b40
mov ecx, reloc.WS2_32.dll_shutdown
call qword [sym.imp.MSVCR120.dll_raise]
mov ecx, 3
call qword [sym.imp.MSVCR120.dll__exit]
int3