Function at 0x1400ef6e0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov eax, dword [rcx + 0x34]
mov r11, rcx
mov rsi, qword [rcx + 0x70]
mov r14, rdx
mov r12, qword [rcx + 0x38]
mov r15, r8
mov dword [rsp + 0x30], eax
mov edi, 1
mov eax, dword [rcx + 0x18]
mov r13d, gethostname
mov rbp, qword [r11 + 0xf8]
mov ebx, 3
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], r8
mov r8d, edx
mov qword [rsp + 0x78], r9
mov r9, qword [rcx + 8]
mov ecx, dword [rcx + 0x100]
add rax, r9
mov qword [rsp + 0x88], rax
sub r8d, r9d
mov eax, edx
mov qword [rsp + 0x90], rsi
sub eax, r9d
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
mov edx, edi
shl edx, cl
mov eax, r8d
mov ecx, dword [r11 + 0x1c]
mov r10d, r8d
sub eax, ecx
mov qword [rsp + 0x40], r9
sub r10d, edx
mov dword [rsp + 0x34], r8d
cmp eax, edx
mov qword [rsp + 0xa0], rbp
mov eax, dword [r11 + 0x10c]
mov rdx, qword [r11 + 0x60]
cmovbe r10d, ecx
cmp dword [r11 + 0x28], 0
mov qword [rsp + 0x68], rdx
cmovne r10d, ecx
mov ecx, 4
cmp eax, ecx
mov dword [rsp + 0x54], r10d
mov r10, qword [r14]
cmovb ecx, eax
movabs rax, 0xcf1bbcdcbf9b0000
imul r10, rax
shl edi, cl
mov ecx, r13d
sub ecx, dword [rbp + 0x34]
mov rax, r10
shr rax, cl
mov ecx, eax
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x38]
shr rcx, 4
and ecx, 0xffffff0
mov dword [rsp + 0x24], edi
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x70]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x80], rax
prefetcht0 byte [rax]
mov rax, qword [rsp + 0x70]
prefetcht0 byte [rax]
xor ebp, ebp
mov dword [rsp + 0x50], setsockopt
cmp dword [r11 + 0x12c], ebp
jne 0x1400efb11
mov r10d, dword [r11 + 0x2c]
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x30]
sub eax, r10d
mov edx, ecx
cmp eax, 0x180
jbe 0x1400ef9ed
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1400ef941
mov r15, qword [rsp + 0x90]
lea r12, [r9 + 8]
mov rdi, qword [rsp + 0x28]
mov ebx, r13d
sub ebx, ecx
mov esi, r10d
add r12, r10
mov r14d, eax
movabs r13, 0xcf1bbcdcbf9b0000
nop dword [rax + rax]
mov rdx, qword [r12]
mov ecx, ebx
imul rdx, r13
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [rdi + rax]
mov rax, rsi
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [rdi + r8]
lea rdx, [rdi + r8]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x50]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r10d
inc r10d
cmp r10d, r14d
jb 0x1400ef8a0
mov rsi, qword [r11 + 0x70]
mov ebx, 3
mov r12, qword [r11 + 0x38]
mov edx, dword [r11 + 0x34]
mov r14, qword [rsp + 0x48]
mov edi, dword [rsp + 0x24]
lea r13d, [rbx + 0x35]
mov r15, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0x20]
lea rax, [r14 + 1]
add r10d, 0xffffffe0
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, dword [rsp + 0x40]
add r9, r8
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + r10]
cmp r10d, eax
jae 0x1400ef9e8
mov r15d, r13d
movabs rdi, 0xcf1bbcdcbf9b0000
sub r15d, edx
mov r13d, ecx
nop dword [rax + rax]
mov rdx, qword [r9]
mov ecx, r15d
imul rdx, rdi
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rax + r12]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r13, 1
jne 0x1400ef990
mov rsi, qword [r11 + 0x70]
mov r13d, gethostname
mov r12, qword [r11 + 0x38]
mov edx, dword [r11 + 0x34]
mov edi, dword [rsp + 0x24]
mov r15, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
mov rcx, qword [r11 + 8]
cmp r10d, eax
jae 0x1400efab3
mov ebx, r13d
lea r15, [rcx + 8]
sub ebx, edx
mov r13d, r10d
add r15, r13
mov edi, eax
movabs r14, 0xcf1bbcdcbf9b0000
nop dword [rax]
mov rdx, qword [r15]
mov ecx, ebx
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rax + r12]
mov rax, r13
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r12 + r8]
lea rdx, [r12 + r8]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x50]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r10d
inc r10d
cmp r10d, edi
jb 0x1400efa20
mov r14, qword [rsp + 0x48]
mov ebx, 3
mov edi, dword [rsp + 0x24]
mov r15, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x34]
mov ecx, gethostname
sub ecx, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x90]
mov dword [r11 + 0x2c], eax
movabs rax, 0xcf1bbcdcbf9b0000
mov rdx, qword [r8 + r9 + 8]
imul rdx, rax
xor rdx, qword [rsp + 0x68]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rsi + rax*4]
mov r12, qword [rsp + 0x28]
prefetcht0 byte [rax + r12]
and r8d, 7
mov r10d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1400efb24
sub r13d, dword [rsp + 0x30]
xor r10, rdx
movzx ecx, r13b
mov dword [r11 + 0x2c], r8d
shr r10, cl
add dword [r11 + 0x68], r10d
mov eax, r10d
shr rax, 4
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r12]
lea rcx, [rsi + rax*4]
mov rsi, rbp
mov qword [rsp + 0x28], rcx
lea rcx, [rax + r12]
movzx eax, byte [rax + r12]
mov r12, rbp
mov dword [rsp + 0x38], eax
and eax, 0xf
mov r13d, eax
mov qword [rsp + 0x68], rcx
movsx eax, r10b
mov ecx, r13d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
movzx edx, ax
mov dword [rsp + 0x90], eax
movzx eax, dx
shl ax, cl
movzx ecx, r13b
movzx r8d, ax
mov eax, edx
mov rdx, qword [rsp + 0x28]
shr rax, cl
or r8, rax
jbe 0x1400efbee
mov r14d, dword [rsp + 0x54]
test edi, edi
je 0x1400efbe5
bsf rcx, r8
add ecx, r13d
and ecx, 0xf
je 0x1400efbdc
mov ecx, dword [rdx + rcx*4]
cmp ecx, r14d
jb 0x1400efbe5
prefetcht0 byte [rcx + r9]
mov dword [rsp + r12*4 + 0xb0], ecx
inc r12
dec edi
lea rax, [r8 - 1]
and r8, rax
ja 0x1400efbb2
mov r14, qword [rsp + 0x48]
mov dword [rsp + 0x24], edi
mov ecx, dword [rsp + 0x38]
mov eax, ebp
dec ecx
mov r8d, recv
and ecx, 0xf
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x68]
mov byte [rax], cl
mov byte [rcx + rax], r10b
mov eax, dword [r11 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r11 + 0x2c]
test r12, r12
je 0x1400efc84
mov ebp, dword [rsp + 0x34]
mov rdi, qword [rsp + 0x78]
nop dword [rax]
mov r13d, dword [rsp + rsi*4 + 0xb0]
mov eax, dword [rbx + r14 - 3]
lea rdx, [r9 + r13]
cmp dword [rdx + rbx - 3], eax
jne 0x1400efc76
mov r8, r15
mov rcx, r14
call fcn.1400e50e0
mov rcx, rax
cmp rax, rbx
jbe 0x1400efc71
mov rbx, rax
mov eax, ebp
sub eax, r13d
add eax, 3
mov qword [rdi], rax
lea rax, [rbx + r14]
cmp rax, r15
je 0x1400efc7e
mov r9, qword [rsp + 0x40]
inc rsi
cmp rsi, r12
jb 0x1400efc30
mov edi, dword [rsp + 0x24]
xor ebp, ebp
mov r10, qword [rsp + 0xa0]
mov r12, rbp
mov rcx, qword [rsp + 0x70]
mov r9, qword [r10 + 8]
movdqu xmm0, xmmword [rcx]
movzx r11d, byte [rcx]
mov eax, r9d
mov esi, dword [r10 + 0x18]
and r11d, 0xf
mov r10, qword [r10]
mov ecx, r11d
sub eax, r10d
mov qword [rsp + 0x28], r9
add dword [rsp + 0x3c], eax
neg ecx
movsx eax, byte [rsp + 0x60]
and ecx, 0xf
mov qword [rsp + 0x48], r10
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
movzx edx, ax
mov dword [rsp + 0xa0], eax
movzx eax, dx
shl ax, cl
movzx ecx, r11b
movzx r8d, ax
mov eax, edx
shr rax, cl
or r8, rax
jbe 0x1400efdf9
mov rdx, qword [rsp + 0x80]
test edi, edi
je 0x1400efd44
bsf rcx, r8
add ecx, r11d
and ecx, 0xf
je 0x1400efd3b
mov ecx, dword [rdx + rcx*4]
cmp ecx, esi
jb 0x1400efd44
prefetcht0 byte [rcx + r9]
mov dword [rsp + rbp*4 + 0xb0], ecx
inc rbp
dec edi
lea rax, [r8 - 1]
and r8, rax
ja 0x1400efd13
test rbp, rbp
je 0x1400efdf9
nop dword [rax]
mov edi, dword [rsp + r12*4 + 0xb0]
mov eax, dword [r14]
add rdi, r9
cmp dword [rdi], eax
jne 0x1400efded
add rdi, 4
lea r13, [r14 + 4]
mov rcx, r13
mov r8, r15
sub rcx, rdi
mov rdx, rdi
add rcx, r10
cmp rcx, r15
cmovb r8, rcx
mov rcx, r13
call fcn.1400e50e0
mov r10, qword [rsp + 0x48]
mov rsi, rax
add rax, rdi
cmp rax, r10
jne 0x1400efdb8
mov rdx, qword [rsp + 0x88]
lea rcx, [rsi + r13]
mov r8, r15
call fcn.1400e50e0
mov r10, qword [rsp + 0x48]
add rsi, rax
add rsi, 4
cmp rsi, rbx
jbe 0x1400efde8
mov eax, dword [rsp + 0x34]
mov rbx, rsi
sub eax, dword [rsp + r12*4 + 0xb0]
sub eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
add eax, 3
mov qword [rcx], rax
lea rax, [rsi + r14]
cmp rax, r15
je 0x1400efdf9
mov r9, qword [rsp + 0x28]
inc r12
cmp r12, rbp
jb 0x1400efd50
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401312c0
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret