Function at 0x1802a91e0
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.1803fdff0
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 0x1802a9a6f
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.18019b230
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1802a9a67
imul rcx, r13, 0x21
mov r8d, 0x275
lea rdx, str.cryptoececp_nistz256.c
call fcn.18019b230
mov r12, rax
test rax, rax
je 0x1802a9a67
lea rcx, [r13*8]
mov r8d, 0x276
lea rdx, str.cryptoececp_nistz256.c
call fcn.18019b230
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1802a9a67
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 0x1802a9743
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.1801bf720
cmp eax, 0x100
jg 0x1802a934a
mov rcx, qword [r13]
call fcn.1801bf590
test eax, eax
jne 0x1802a934a
mov rsi, qword [r13]
jmp 0x1802a9381
mov rcx, rdi
call fcn.1802274d0
mov rsi, rax
test rax, rax
je 0x1802a9a5a
mov rax, qword [rsp + 0xc0]
mov r9, rdi
mov rdx, qword [r13]
mov rcx, rsi
mov r8, qword [rax + 0x10]
call fcn.1802dea70
test eax, eax
je 0x1802a9afa
mov rcx, qword [rsp + 0x48]
mov rax, r13
sub rax, qword [rsp + 0xd0]
mov edi, ebp
mov r13, rbp
mov qword [rax + rcx], rsi
mov rcx, rsi
call fcn.180191460
shl eax, 3
test eax, eax
jle 0x1802a9468
mov r15, qword [rsp + 0x30]
lea rbp, [r14 + r12]
mov rbx, qword [rsp + 0x50]
mov rsi, r14
mov r14, rbp
mov rcx, qword [rbx + r15]
call fcn.18014dfc0
mov ecx, edi
test edi, edi
jns 0x1802a93d3
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.180191460
shl eax, 3
cmp edi, eax
jl 0x1802a93c1
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0xc8]
cmp r13, 0x21
jge 0x1802a947f
mov r14, qword [rsp + 0x28]
lea rcx, [r14 + r13]
mov r8d, 0x21
add rcx, r12
sub r8, r13
xor edx, edx
call fcn.180436c50
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.1802af300
test eax, eax
je 0x1802a9ac4
mov rax, qword [rdi + r13]
lea rcx, [rbx + 0x20]
mov r8d, 4
mov rdx, qword [rax + 0x18]
call fcn.1802af300
test eax, eax
je 0x1802a9ac4
mov rax, qword [rdi + r13]
lea rcx, [rbx + 0x40]
mov r8d, 4
mov rdx, qword [rax + 0x20]
call fcn.1802af300
test eax, eax
je 0x1802a9ac4
mov rdi, qword [rsp + 0x20]
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1800499c0
mov rdx, rbx
lea rcx, [rbx + 0x60]
call fcn.18004a140
mov r8d, 2
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.1800499c0
lea rbp, [rbx + 0xc0]
mov r8, rbx
mov rcx, rbp
lea rdx, [rbx + 0x60]
call fcn.18004a480
mov r8d, 3
mov rdx, rbp
mov rcx, rdi
call fcn.1800499c0
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.18004a140
mov r8d, 4
lea rdx, [rbx + 0x60]
mov rcx, rdi
call fcn.1800499c0
mov rdx, rbp
mov rcx, rbp
call fcn.18004a140
mov r8d, 6
mov rdx, rbp
mov rcx, rdi
call fcn.1800499c0
lea rsi, [rbx + 0x120]
mov r8, rbx
mov rcx, rsi
lea rdx, [rbx + 0x60]
call fcn.18004a480
mov r8d, 5
mov rdx, rsi
mov rcx, rdi
call fcn.1800499c0
lea rdi, [rbx + 0x180]
mov r8, rbx
mov rcx, rdi
mov rdx, rbp
call fcn.18004a480
mov rcx, qword [rsp + 0x20]
mov r8d, 7
mov rdx, rdi
call fcn.1800499c0
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.18004a140
mov rcx, qword [rsp + 0x20]
lea rdx, [rbx + 0x60]
mov r8d, 8
call fcn.1800499c0
mov rdx, rbp
mov rcx, rbp
call fcn.18004a140
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rdx, rbp
call fcn.1800499c0
mov rdx, rsi
mov rcx, rsi
call fcn.18004a140
mov rcx, qword [rsp + 0x20]
mov r8d, 0xa
mov rdx, rsi
call fcn.1800499c0
mov rdx, rdi
mov rcx, rdi
call fcn.18004a140
mov rcx, qword [rsp + 0x20]
mov r8d, recvfrom
mov rdx, rdi
call fcn.1800499c0
mov r8, rbx
mov rdx, rbp
mov rcx, rbp
call fcn.18004a480
mov rcx, qword [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rbp
call fcn.1800499c0
mov r8, rbx
mov rdx, rsi
mov rcx, rsi
call fcn.18004a480
mov rdx, rsi
mov r8d, reloc.WS2_32.dll_inet_addr
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1800499c0
mov r8, rbx
mov rdx, rdi
mov rcx, rdi
call fcn.18004a480
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rdi
mov rcx, rsi
call fcn.1800499c0
mov r8, rbx
lea rdx, [rbx + 0x60]
mov rcx, rbp
call fcn.18004a480
mov r8d, 9
mov rdx, rbp
mov rcx, rsi
call fcn.1800499c0
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x60]
call fcn.18004a140
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbx + 0x60]
mov rcx, rsi
call fcn.1800499c0
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 0x1802a9327
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.180049a20
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
cmp edi, 0xff
mov rdx, rbp
sete dl
cmp rdx, r13
jae 0x1802a990a
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 + rbp]
movzx ecx, byte [rax + r12]
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.180049a20
lea rdx, [rbx + 0x20]
lea rcx, [rbx + 0x80]
call fcn.180048080
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 qword [rbx + 0x28], rcx
mov rcx, rdi
and rcx, qword [rbx + 0x90]
mov rax, qword [rbx + 0x30]
and rax, rdx
xor rcx, rax
mov qword [rbx + 0x30], rcx
mov rcx, qword [rbx + 0x38]
mov rax, qword [rbx + 0x98]
and rcx, rdx
and rax, rdi
mov rdx, r15
xor rcx, rax
mov qword [rbx + 0x38], rcx
mov rcx, r15
call fcn.18004a480
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 0x1802a97f0
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.18004a140
mov rdx, r15
mov rcx, r15
call fcn.18004a140
mov rdx, r15
mov rcx, r15
call fcn.18004a140
mov rdx, r15
mov rcx, r15
call fcn.18004a140
mov rdx, r15
mov rcx, r15
call fcn.18004a140
cmp edi, 5
jae 0x1802a97a0
test r13, r13
je 0x1802a9a55
mov rsi, qword [rsp + 0x38]
mov rbp, r12
nop dword [rax]
nop word [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.180049a20
lea rdx, [rbx + 0x20]
lea rcx, [rbx + 0x80]
call fcn.180048080
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 rax, rdi
mov qword [rbx + 0x20], rcx
mov rcx, rdx
and rcx, qword [rbx + 0x28]
and rax, qword [rbx + 0x88]
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, qword [rbx + 0x38]
mov rax, qword [rbx + 0x98]
and rcx, rdx
and rax, rdi
mov rdx, r15
xor rcx, rax
mov qword [rbx + 0x38], rcx
mov rcx, r15
call fcn.18004a480
add rsi, 0x600
lea rbp, [rbp + 0x21]
sub r13, 1
jne 0x1802a9970
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.18019b2f0
mov r8d, 0x305
lea rdx, str.cryptoececp_nistz256.c
mov rcx, r12
call fcn.18019b2f0
mov rcx, qword [rsp + 0x48]
lea rdx, str.cryptoececp_nistz256.c
mov r8d, 0x306
call fcn.18019b2f0
mov eax, ebp
add rsp, 0x90
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1801a0780
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x2a2
lea rcx, str.cryptoececp_nistz256.c
call fcn.1801a08a0
xor r8d, r8d
mov edx, 0x92
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801a0a00
xor ebp, ebp
jmp 0x1802a9a5a
call fcn.1801a0780
lea r8, str.ecp_nistz256_windowed_mul
mov edx, 0x286
lea rcx, str.cryptoececp_nistz256.c
call fcn.1801a08a0
xor r8d, r8d
mov edx, 0x80003
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801a0a00
jmp 0x1802a9a5a