Function at 0x140250090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r13
push r15
mov eax, 0x90
call fcn.140295cc0
sub rsp, rax
mov r13, qword [rsp + 0xe0]
xor ebp, ebp
mov rax, r13
mov qword [rsp + 0x48], rbp
shl rax, 4
mov rdi, r8
add rax, 6
mov qword [rsp + 0x40], rbp
mov r15, rdx
mov r12d, ebp
cmp rax, 0x1555555
ja 0x14025090c
mov qword [rsp + 0x88], rbx
lea rdx, str.cryptoececp_nistz256.c
lea rbx, [r13*2]
mov r8d, 0x273
add rbx, r13
shl rbx, 9
lea rcx, [rbx + 0x220]
call fcn.1401126e0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140250904
imul rcx, r13, 0x21
mov r8d, 0x275
lea rdx, str.cryptoececp_nistz256.c
call fcn.1401126e0
mov r12, rax
test rax, rax
je 0x140250904
lea rcx, [r13*8]
mov r8d, 0x276
lea rdx, str.cryptoececp_nistz256.c
call fcn.1401126e0
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140250904
mov qword [rsp + 0x80], rsi
mov rsi, qword [rsp + 0x40]
and rsi, 0xffffffffffffffc0
mov qword [rsp + 0x78], r14
add rsi, 0x40
mov qword [rsp + 0x60], rbp
add rbx, rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x58], rbx
test r13, r13
je 0x1402505f2
sub rax, rdi
mov qword [rsp + 0x30], rdi
sub qword [rsp + 0xd8], rdi
mov r13, rdi
mov rdi, qword [rsp + 0xe8]
mov r14d, ebp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x50], rax
mov rcx, qword [r13]
call fcn.14012d030
cmp eax, 0x100
jg 0x1402501fa
mov rcx, qword [r13]
call fcn.14012cea0
test eax, eax
jne 0x1402501fa
mov rsi, qword [r13]
jmp 0x140250231
mov rcx, rdi
call fcn.140183c80
mov rsi, rax
test rax, rax
je 0x1402508f7
mov rax, qword [rsp + 0xc0]
mov r9, rdi
mov rdx, qword [r13]
mov rcx, rsi
mov r8, qword [rax + 0x10]
call fcn.1402383c0
test eax, eax
je 0x140250997
mov rax, qword [rsp + 0x48]
mov rcx, rsi
sub rax, qword [rsp + 0xd0]
mov edi, ebp
mov qword [rax + r13], rsi
mov r13, rbp
call fcn.140118160
shl eax, 3
test eax, eax
jle 0x140250317
mov r15, qword [rsp + 0x30]
lea rbp, [r14 + r12]
mov rbx, qword [rsp + 0x50]
mov rsi, r14
mov r14, rbp
nop
mov rcx, qword [rbx + r15]
call fcn.140124d10
mov ecx, edi
test edi, edi
jns 0x140250282
lea ecx, [rdi + 7]
sar ecx, 3
add edi, 8
movsxd rcx, ecx
add r13, 8
mov rdx, qword [rax + rcx*8]
mov byte [rsi + r12], dl
mov rax, rdx
shr rax, 8
mov byte [rbp + 1], al
mov rax, rdx
shr rax, 0x10
add rbp, 8
mov byte [r14 + 2], al
add r14, 8
shr rdx, 0x18
mov byte [rsi + r12 + 3], dl
shr rdx, 8
mov byte [rsi + r12 + 4], dl
mov rax, rdx
shr rax, 8
mov byte [rsi + r12 + 5], al
mov rax, rdx
shr rax, 0x10
mov byte [rsi + r12 + 6], al
shr rdx, 0x18
mov byte [rsi + r12 + 7], dl
add rsi, 8
mov rcx, qword [rbx + r15]
call fcn.140118160
shl eax, 3
cmp edi, eax
jl 0x140250270
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0xc8]
cmp r13, 0x21
jge 0x14025032e
mov r14, qword [rsp + 0x28]
lea rcx, [r14 + r13]
mov r8d, 0x21
add rcx, r12
sub r8, r13
xor edx, edx
call fcn.1402bfc40
mov r13, qword [rsp + 0x30]
mov r8d, 4
mov rdi, qword [rsp + 0xd8]
mov rcx, rbx
mov rax, qword [rdi + r13]
mov rdx, qword [rax + 0x10]
call fcn.140237e50
test eax, eax
je 0x140250961
mov rax, qword [rdi + r13]
lea rcx, [rbx + 0x20]
mov r8d, 4
mov rdx, qword [rax + 0x18]
call fcn.140237e50
test eax, eax
je 0x140250961
mov rax, qword [rdi + r13]
lea rcx, [rbx + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.140237e50
test eax, eax
je 0x140250961
mov rdi, qword [rsp + 0x20]
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140049b00
mov rdx, rbx
lea rcx, [rbx + 0x60]
call fcn.14004a280
mov r8d, 2
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.140049b00
lea rbp, [rbx + 0xc0]
mov r8, rbx
mov rcx, rbp
lea rdx, [rbx + 0x60]
call fcn.14004a5c0
mov r8d, 3
mov rdx, rbp
mov rcx, rdi
call fcn.140049b00
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.14004a280
mov r8d, 4
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.140049b00
mov rdx, rbp
mov rcx, rbp
call fcn.14004a280
mov r8d, 6
mov rdx, rbp
mov rcx, rdi
call fcn.140049b00
lea rsi, [rbx + 0x120]
mov r8, rbx
mov rcx, rsi
lea rdx, [rbx + 0x60]
call fcn.14004a5c0
mov r8d, 5
mov rdx, rsi
mov rcx, rdi
call fcn.140049b00
lea rdi, [rbx + 0x180]
mov r8, rbx
mov rcx, rdi
mov rdx, rbp
call fcn.14004a5c0
mov rcx, qword [rsp + 0x20]
mov r8d, 7
mov rdx, rdi
call fcn.140049b00
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.14004a280
mov rcx, qword [rsp + 0x20]
lea rdx, [rbx + 0x60]
mov r8d, 8
call fcn.140049b00
mov rdx, rbp
mov rcx, rbp
call fcn.14004a280
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, rbp
call fcn.140049b00
mov rdx, rsi
mov rcx, rsi
call fcn.14004a280
mov rcx, qword [rsp + 0x20]
mov r8d, 0xa
mov rdx, rsi
call fcn.140049b00
mov rdx, rdi
mov rcx, rdi
call fcn.14004a280
mov rcx, qword [rsp + 0x20]
mov r8d, recvfrom
mov rdx, rdi
call fcn.140049b00
mov r8, rbx
mov rdx, rbp
mov rcx, rbp
call fcn.14004a5c0
mov rcx, qword [rsp + 0x20]
mov r8d, recvfrom
mov rdx, rbp
call fcn.140049b00
mov r8, rbx
mov rdx, rsi
mov rcx, rsi
call fcn.14004a5c0
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_inet_addr
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140049b00
mov r8, rbx
mov rdx, rdi
mov rcx, rdi
call fcn.14004a5c0
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rdi
mov rcx, rsi
call fcn.140049b00
mov r8, rbx
lea rdx, [rbx + 0x60]
mov rcx, rbp
call fcn.14004a5c0
mov r8d, 9
mov rdx, rbp
mov rcx, rsi
call fcn.140049b00
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.14004a280
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbx + 0x60]
mov rcx, rsi
call fcn.140049b00
mov rax, qword [rsp + 0x60]
add rsi, 0x600
mov r14, qword [rsp + 0x28]
inc rax
mov rdi, qword [rsp + 0xe8]
add r14, 0x21
add r13, 8
mov qword [rsp + 0x60], rax
mov ebp, 0
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r13
cmp rax, qword [rsp + 0xe0]
jb 0x1402501d7
mov r13, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x38]
movzx eax, byte [r12 + 0x1f]
mov edi, 0xff
shr eax, 6
mov rdx, rsi
mov r8d, eax
mov dword [rsp + 0x28], edi
shr r8d, 1
and eax, 1
add r8d, eax
mov rcx, rbx
call fcn.140049b60
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [r15 + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [r15 + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [r15 + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r15 + 0x50], xmm1
nop
cmp edi, 0xff
mov rdx, rbp
sete dl
cmp rdx, r13
jae 0x1402507b3
lea ecx, [rdi - 1]
mov r9d, ecx
lea rsi, [rdx + rdx*2]
shr ecx, 3
and r9d, 7
shl rsi, 9
add rsi, qword [rsp + 0x38]
imul rbp, rdx, 0x21
lea r8d, [rcx + 1]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x58], r8
sub r13, rdx
mov qword [rsp + 0x50], rcx
nop dword [rax]
lea rax, [r8 + rbp]
movzx r8d, byte [rax + r12]
lea rax, [rcx + r12]
movzx ecx, byte [rax + rbp]
shl r8d, 8
or r8d, ecx
mov ecx, r9d
shr r8d, cl
mov ecx, 0x3f
and r8d, 0x3f
sub ecx, r8d
mov eax, r8d
shr eax, 5
dec eax
mov edx, eax
and eax, r8d
not edx
and ecx, edx
and edx, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, rbx
lea edi, [rdx + rax*2]
mov rdx, rsi
mov r8d, edi
shr r8d, 1
call fcn.140049b60
lea rdx, [rbx + 0x20]
lea rcx, [rbx + 0x80]
call fcn.1400481c0
mov rcx, qword [rbx + 0x20]
and edi, 1
mov rax, qword [rbx + 0x80]
neg rdi
and rax, rdi
mov rdx, rdi
not rdx
mov r8, rbx
and rcx, rdx
xor rcx, rax
mov qword [rbx + 0x20], rcx
mov rcx, qword [rbx + 0x88]
mov rax, qword [rbx + 0x28]
and rcx, rdi
and rax, rdx
xor rcx, rax
mov rax, rdi
mov qword [rbx + 0x28], rcx
mov rcx, rdx
and rcx, qword [rbx + 0x30]
and rax, qword [rbx + 0x90]
xor rcx, rax
mov qword [rbx + 0x30], rcx
mov rcx, r15
and rdx, qword [rbx + 0x38]
and rdi, qword [rbx + 0x98]
xor rdx, rdi
mov qword [rbx + 0x38], rdx
mov rdx, r15
call fcn.14004a5c0
mov r9d, dword [rsp + 0x20]
lea rbp, [rbp + 0x21]
mov r8, qword [rsp + 0x58]
add rsi, 0x600
mov rcx, qword [rsp + 0x50]
sub r13, 1
jne 0x1402506a0
mov edi, dword [rsp + 0x28]
xor ebp, ebp
mov r13, qword [rsp + 0xe0]
add edi, 0xfffffffb
mov rdx, r15
mov rcx, r15
mov dword [rsp + 0x28], edi
call fcn.14004a280
mov rdx, r15
mov rcx, r15
call fcn.14004a280
mov rdx, r15
mov rcx, r15
call fcn.14004a280
mov rdx, r15
mov rcx, r15
call fcn.14004a280
mov rdx, r15
mov rcx, r15
call fcn.14004a280
cmp edi, 5
jae 0x140250650
test r13, r13
je 0x1402508f2
mov rsi, qword [rsp + 0x38]
mov rbp, r12
nop dword [rax + rax]
movzx edx, byte [rbp]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
sub ecx, edx
mov eax, edx
shr eax, 5
dec eax
mov r8d, eax
and eax, edx
not r8d
mov rdx, rsi
and ecx, r8d
and r8d, 1
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
mov rcx, rbx
lea edi, [r8 + rax*2]
mov r8d, edi
shr r8d, 1
call fcn.140049b60
lea rdx, [rbx + 0x20]
lea rcx, [rbx + 0x80]
call fcn.1400481c0
mov rcx, qword [rbx + 0x20]
and edi, 1
mov rax, qword [rbx + 0x80]
neg rdi
and rax, rdi
mov rdx, rdi
not rdx
mov r8, rbx
and rcx, rdx
xor rcx, rax
mov qword [rbx + 0x20], rcx
mov rcx, rdi
and rcx, qword [rbx + 0x88]
mov rax, qword [rbx + 0x28]
and rax, rdx
xor rcx, rax
mov rax, rdi
mov qword [rbx + 0x28], rcx
mov rcx, rdx
and rax, qword [rbx + 0x90]
and rcx, qword [rbx + 0x30]
xor rcx, rax
mov qword [rbx + 0x30], rcx
mov rcx, r15
and rdx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x98]
and rax, rdi
xor rdx, rax
mov qword [rbx + 0x38], rdx
mov rdx, r15
call fcn.14004a5c0
add rsi, 0x600
lea rbp, [rbp + 0x21]
sub r13, 1
jne 0x140250810
mov ebp, 1
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x304
call fcn.1401127a0
mov r8d, 0x305
lea rdx, str.cryptoececp_nistz256.c
mov rcx, r12
call fcn.1401127a0
mov rcx, qword [rsp + 0x48]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x306
call fcn.1401127a0
mov eax, ebp
add rsp, 0x90
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1401196e0
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2a2
lea rcx, str.cryptoececp_nistz256.c
call fcn.140119800
xor r8d, r8d
mov edx, 0x92
mov ecx, reloc.WS2_32.dll_recv
call fcn.140119960
xor ebp, ebp
jmp 0x1402508f7
call fcn.1401196e0
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x286
lea rcx, str.cryptoececp_nistz256.c
call fcn.140119800
xor r8d, r8d
mov edx, 0x80003
mov ecx, reloc.WS2_32.dll_recv
call fcn.140119960
jmp 0x1402508f7