Function at 0x1337c0f76e40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
mov eax, 0x3b8
call fcn.1337c102adb0
sub rsp, rax
mov rax, qword [0x1337c120fb80]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x320]
mov r15d, 0x28
mov rbx, qword [rbp + 0x330]
mov rdi, r8
mov qword [rsp + 0x60], rax
mov esi, 0x40
mov rax, qword [rbp + 0x338]
mov r13d, 8
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x58], r9
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x70], r15
mov byte [rsp + 0x20], 1
cmp rbx, 0x100000
jae 0x1337c0f77771
call fcn.1337c0f7a810
mov rcx, rax
call fcn.1337c0f3e980
mov ecx, eax
cmp eax, 0x2a1
jg 0x1337c0f76fdb
je 0x1337c0f76f9c
cmp eax, 4
je 0x1337c0f76f5e
cmp eax, esi
je 0x1337c0f76f2f
cmp eax, 0x2a0
jne 0x1337c0f76fe8
lea rcx, [rbp - 0x20]
call fcn.1337c0fab8d0
test eax, eax
jle 0x1337c0f77771
mov r12d, 0x20
lea rcx, [0x1337c0f779f0]
mov qword [rsp + 0x40], r12
lea rax, [0x1337c0fab930]
jmp 0x1337c0f7705b
lea rcx, [rbp - 0x20]
call fcn.1337c0fab360
test eax, eax
jle 0x1337c0f77771
mov r12d, setsockopt
lea rcx, [0x1337c0f77960]
mov qword [rsp + 0x40], r12
lea rax, [0x1337c0fab3b0]
jmp 0x1337c0f7705b
lea rcx, [rbp - 0x20]
call fcn.1337c0fac920
test eax, eax
jle 0x1337c0f77771
mov r12d, reloc.WS2_32.dll_recv
mov byte [rsp + 0x20], 0
mov r15d, 0x30
mov qword [rsp + 0x40], r12
mov qword [rbp - 0x70], r15
lea rcx, [0x1337c0f778e0]
lea rax, [0x1337c0fac960]
jmp 0x1337c0f7705b
lea rcx, [rbp - 0x20]
call fcn.1337c0fabab0
test eax, eax
jle 0x1337c0f77771
lea rax, [0x1337c0f77ad0]
mov r12d, 0x30
mov qword [rsp + 0x38], rax
mov esi, pe_nt_image_headers64
lea rax, [0x1337c0fac560]
mov qword [rsp + 0x40], r12
mov r13d, reloc.WS2_32.dll_recv
jmp 0x1337c0f77060
sub ecx, 0x2a2
je 0x1337c0f77029
cmp ecx, 1
je 0x1337c0f76ffd
test rdi, rdi
je 0x1337c0f77771
mov qword [rdi], 0
jmp 0x1337c0f77771
lea rcx, [rbp - 0x20]
call fcn.1337c0fab530
test eax, eax
jle 0x1337c0f77771
mov r12d, 0x1c
lea rcx, [0x1337c0f779f0]
mov qword [rsp + 0x40], r12
lea rax, [0x1337c0fab930]
jmp 0x1337c0f7705b
lea rcx, [rbp - 0x20]
call fcn.1337c0fac4d0
test eax, eax
jle 0x1337c0f77771
mov r12, rsi
mov qword [rsp + 0x40], rsi
mov esi, pe_nt_image_headers64
lea rcx, [0x1337c0f77ad0]
lea rax, [0x1337c0fac560]
mov r13d, reloc.WS2_32.dll_recv
mov qword [rsp + 0x38], rcx
movzx r11d, byte [rbp + 0x348]
mov r14d, recv
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], r14
test r11b, r11b
je 0x1337c0f77098
mov r14, qword [rbp + 0x340]
mov r9d, 2
add r14, 0xb
add r14, r15
mov qword [rsp + 0x68], r14
jmp 0x1337c0f770ab
lea rax, [rsi + 0xff]
xor edx, edx
add rax, r12
div rsi
lea r9, [rax + 1]
mov r15, qword [rbp + 0x328]
xor edx, edx
dec rbx
mov qword [rsp + 0x50], r9
mov r8, r14
xor edi, edi
sub r8, r12
mov ecx, edi
add r15, r8
lea rax, [r8 + r13]
add rax, rsi
add rax, rbx
mov ebx, edi
div rsi
xor edx, edx
mov r10, rax
mov rax, r15
div rsi
mov qword [rsp + 0x70], rdx
xor edx, edx
mov qword [rbp - 0x60], rax
lea rax, [r15 + r13]
div rsi
test r11b, r11b
mov qword [rbp - 0x58], rax
setne cl
lea rdx, [rcx + r9]
mov rcx, r10
sub rcx, r9
cmp r10, rdx
jbe 0x1337c0f77118
mov rbx, rcx
imul rbx, rsi
cmp r10, rdx
cmovbe rcx, rdi
lea r15, [r15*8]
mov qword [rbp - 0x78], rcx
test r11b, r11b
jne 0x1337c0f771fc
mov r8, rsi
lea rcx, [rbp + 0x110]
xor edx, edx
lea r15, [r15 + rsi*8]
call fcn.1337c1058de0
mov rax, qword [rbp + 0x340]
cmp rax, 0x80
ja 0x1337c0f77771
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp + 0x110]
mov r8, rax
call fcn.1337c1058740
movdqa xmm2, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj]
mov rax, rdi
nop word [rax + rax]
movdqu xmm0, xmmword [rbp + rax + 0x110]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x110], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x120]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x120], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x130]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x130], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x140]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x140], xmm1
add rax, 0x40
cmp rax, rsi
jb 0x1337c0f77180
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
mov rax, r15
lea rcx, [rbp + 0xc0]
shr rax, 0x18
xor edx, edx
mov qword [rsp + 0x30], rax
mov rax, r15
shr rax, 0x10
mov qword [rsp + 0x78], rax
mov rax, r15
shr rax, 8
mov qword [rsp + 0x48], rax
cmp byte [rsp + 0x20], dil
je 0x1337c0f7726a
lea r8, [r13 - 4]
call fcn.1337c1058de0
mov rax, qword [rsp + 0x30]
mov byte [rbp + r13 + 0xbc], al
mov rax, qword [rsp + 0x78]
mov byte [rbp + r13 + 0xbd], al
mov rax, qword [rsp + 0x48]
mov byte [rbp + r13 + 0xbe], al
mov byte [rbp + r13 + 0xbf], r15b
jmp 0x1337c0f772a1
mov r8, r13
call fcn.1337c1058de0
mov rax, qword [rsp + 0x30]
mov byte [rbp + r13 + 0xbb], al
mov rax, qword [rsp + 0x78]
mov byte [rbp + r13 + 0xba], al
mov rax, qword [rsp + 0x48]
mov byte [rbp + r13 + 0xb9], al
mov byte [rbp + r13 + 0xb8], r15b
test rbx, rbx
je 0x1337c0f773da
cmp byte [rbp + 0x348], dil
je 0x1337c0f77355
cmp r14, rsi
jbe 0x1337c0f77771
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp - 0x20]
mov r15, r14
sub r15, rsi
call qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0x190]
add rdx, rsi
mov r8, r15
call fcn.1337c1058740
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x190]
mov r8, rsi
add rcx, r15
sub r8, r15
call fcn.1337c1058740
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rsi
dec rax
cmp rax, 1
jbe 0x1337c0f773da
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x28]
sub rdi, r15
add rdi, rsi
lea r15, [rax - 1]
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call r14
add rdi, rsi
sub r15, 1
jne 0x1337c0f77340
jmp 0x1337c0f773d3
mov rcx, qword [rsp + 0x58]
lea r8, [rsi - 0xd]
mov r15, qword [rsp + 0x60]
mov rdx, r15
mov eax, dword [rcx + 8]
movsd xmm0, qword [rcx]
mov dword [rbp + 0x198], eax
movzx eax, byte [rcx + 0xc]
lea rcx, [rbp + 0x19d]
mov byte [rbp + 0x19c], al
movsd qword [rbp + 0x190], xmm0
call fcn.1337c1058740
lea rdx, [rbp + 0x190]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
xor edx, edx
mov rax, rbx
div rsi
cmp rax, 1
jbe 0x1337c0f773da
mov r14, qword [rsp + 0x28]
lea rdi, [r15 - 0xd]
add rdi, rsi
lea r15, [rax - 1]
nop
mov rdx, rdi
lea rcx, [rbp - 0x20]
call r14
add rdi, rsi
sub r15, 1
jne 0x1337c0f773c0
mov r14, qword [rsp + 0x68]
xor edi, edi
mov rcx, qword [rbp - 0x78]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rbp - 0x48], rax
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
cmp rcx, rax
ja 0x1337c0f776d1
mov r8, qword [rsp + 0x70]
mov rdx, r8
movaps xmmword [rsp + 0x3a0], xmm6
shr rdx, 0x3f
mov qword [rsp + 0x48], rdx
lea rax, [r8 + 1]
shr rax, 0x3f
mov qword [rsp + 0x50], rax
mov rax, rsi
sub rax, r13
mov qword [rsp + 0x78], rax
mov rax, r8
sub rax, rsi
add rax, r13
lea rax, [rbp + rax + 0xc0]
mov qword [rbp - 0x50], rax
nop dword [rax + rax]
mov rax, rcx
mov r10, rdi
xor rax, qword [rbp - 0x60]
lea r13, [rax - 1]
not rax
shr rax, 0x3f
shr r13, 0x3f
and r13b, al
mov rax, rcx
xor rax, qword [rbp - 0x58]
neg r13b
lea r15, [rax - 1]
not rax
shr rax, 0x3f
shr r15, 0x3f
and r15b, al
neg r15b
movsx eax, r15b
movzx r12d, r15b
not r12b
or r12b, r13b
movd xmm6, eax
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
nop word [rax + rax]
xor r11b, r11b
cmp rbx, r14
jae 0x1337c0f774cf
mov rax, qword [rsp + 0x58]
jmp 0x1337c0f774e6
mov rax, qword [rbp + 0x330]
add rax, r14
cmp rbx, rax
jae 0x1337c0f774eb
mov rax, qword [rsp + 0x60]
sub rax, r14
movzx r11d, byte [rax + rbx]
mov r14, qword [rsp + 0x68]
movzx eax, dl
mov rdi, r10
mov r9, r10
sub rdi, r8
inc rbx
mov rcx, rdi
mov r8, r10
shr rcx, 0x3f
xor cl, dl
shr r8, 0x3f
xor al, r8b
or cl, al
movzx eax, r13b
xor cl, r8b
dec cl
movzx ecx, cl
and ecx, eax
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x30], ecx
inc rax
mov edx, dword [rsp + 0x30]
sub r9, rax
shr r9, 0x3f
not ecx
xor r9b, byte [rsp + 0x50]
and dl, 0x80
mov dword [rsp + 0x30], ecx
movzx eax, r8b
xor al, byte [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
or r9b, al
xor r9b, r8b
and cl, r11b
dec r9b
or cl, dl
and r9b, r13b
not r9b
and r9b, cl
and r9b, r12b
cmp r10, qword [rsp + 0x78]
jb 0x1337c0f7759a
mov rdx, qword [rbp - 0x50]
movzx eax, r15b
mov dword [rsp + 0x30], eax
not eax
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and r9b, al
movzx edx, byte [rdi + rdx]
and dl, cl
or r9b, dl
mov r8, qword [rsp + 0x70]
lea rax, [rbp + 0x210]
mov rdx, qword [rsp + 0x48]
add rax, r8
inc r10
mov byte [rdi + rax], r9b
cmp r10, rsi
jb 0x1337c0f774c0
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x28]
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x20]
call qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
xor edi, edi
mov eax, edi
cmp r12, 0x40
jb 0x1337c0f77687
mov rcx, r12
and rcx, 0xffffffffffffffc0
movdqu xmm0, xmmword [rbp + rax + 0xd0]
movdqu xmm1, xmmword [rbp + rax + 0x210]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xd0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0xe0]
movdqu xmm1, xmmword [rbp + rax + 0x220]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xe0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0xf0]
movdqu xmm1, xmmword [rbp + rax + 0x230]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xf0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x100]
movdqu xmm1, xmmword [rbp + rax + 0x240]
andps xmm1, xmm6
orps xmm1, xmm0
movdqu xmmword [rbp + rax + 0x100], xmm1
add rax, 0x40
cmp rax, rcx
jb 0x1337c0f775f6
cmp rax, r12
jae 0x1337c0f776aa
nop dword [rax]
movzx ecx, byte [rbp + rax + 0x210]
and cl, r15b
or byte [rbp + rax + 0xd0], cl
inc rax
cmp rax, r12
jb 0x1337c0f77690
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x48]
inc rcx
mov r8, qword [rsp + 0x70]
mov qword [rbp - 0x78], rcx
cmp rcx, qword [rbp - 0x48]
jbe 0x1337c0f77460
movaps xmm6, xmmword [rsp + 0x3a0]
call fcn.1337c0f8b920
mov rbx, rax
test rax, rax
je 0x1337c0f77769
mov rcx, qword [rbp - 0x40]
call fcn.1337c0f7a810
mov rdx, rax
xor r8d, r8d
mov rcx, rbx
call fcn.1337c0f8b3d0
test eax, eax
jle 0x1337c0f77769
cmp byte [rbp + 0x348], 0
je 0x1337c0f77796
mov rdi, qword [rbp - 0x70]
lea rcx, [rbp + 0x110]
mov r8, rdi
mov edx, 0x5c
call fcn.1337c1058de0
mov r8, qword [rbp + 0x340]
mov rcx, rbx
mov rdx, qword [rbp - 0x68]
call fcn.1337c0f8b5c0
test eax, eax
jle 0x1337c0f77769
mov r8, rdi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1337c0f8b5c0
test eax, eax
jle 0x1337c0f77769
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1337c0f8b5c0
test eax, eax
jg 0x1337c0f77841
mov rcx, rbx
call fcn.1337c0f8b8f0
xor eax, eax
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1337c102ae90
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movdqa xmm2, xmmword [0x1337c10659d0]
nop
movdqu xmm0, xmmword [rbp + rdi + 0x110]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rdi + 0x110], xmm1
movdqu xmm0, xmmword [rbp + rdi + 0x120]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rdi + 0x120], xmm1
movdqu xmm0, xmmword [rbp + rdi + 0x130]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rdi + 0x130], xmm1
movdqu xmm0, xmmword [rbp + rdi + 0x140]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rdi + 0x140], xmm1
add rdi, 0x40
cmp rdi, rsi
jb 0x1337c0f777a0
mov r8, rsi
lea rdx, [rbp + 0x110]
mov rcx, rbx
call fcn.1337c0f8b5c0
test eax, eax
jle 0x1337c0f77769
mov r8, r12
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.1337c0f8b5c0
test eax, eax
jle 0x1337c0f77769
mov rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x80]
mov rcx, rbx
call fcn.1337c0f8b200
test eax, eax
je 0x1337c0f77864
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1337c0f77864
mov eax, dword [rbp - 0x80]
mov qword [rcx], rax
mov rcx, rbx
call fcn.1337c0f8b8f0
mov eax, 1
jmp 0x1337c0f77773