Function at 0x100e1680
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.101704b0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebp, ebp
mov eax, esi
mov dword [esp + 0x30], 0
shl eax, 4
add eax, 6
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ebp
push edi
cmp eax, 0x1555555
ja 0x100e1e4e
imul edi, esi, 0x600
push 0x25d
push str.cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x100e1e4e
mov eax, esi
push 0x25f
shl eax, 5
add eax, esi
push str.cryptoececp_nistz256.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x100e1e4e
push 0x260
lea eax, [esi*4]
push str.cryptoececp_nistz256.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x100e1e4c
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0x3f
mov dword [esp + 0x2c], ebp
sub ecx, eax
add ecx, 0x40
add edi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
test esi, esi
je 0x100e1a6c
mov esi, dword [esp + 0x48]
mov ebx, ecx
mov eax, dword [esp + 0x14]
sub esi, edx
inc eax
mov dword [esp + 0x24], ebp
sub dword [esp + 0x4c], edx
mov ebp, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
jmp 0x100e1794
mov esi, dword [esp + 0x48]
push dword [esi + ebp]
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x100
jg 0x100e17bd
push dword [esi + ebp]
call sym.libcrypto_1_1.dll_BN_is_negative
add esp, 4
test eax, eax
jne 0x100e17bd
mov eax, dword [esi + ebp]
mov dword [ebp], eax
jmp 0x100e17f9
push dword [esp + 0x54]
call sym.libcrypto_1_1.dll_BN_CTX_get
mov esi, eax
add esp, 4
test esi, esi
je 0x100e1df5
mov eax, dword [esp + 0x40]
push dword [esp + 0x54]
push dword [eax + 8]
mov eax, dword [esp + 0x50]
push dword [eax + ebp]
push esi
call sym.libcrypto_1_1.dll_BN_nnmod
add esp, 0x10
test eax, eax
je 0x100e1e3e
mov dword [ebp], esi
push dword [ebp]
xor esi, esi
call fcn.10006348
shl eax, 2
add esp, 4
test eax, eax
jle 0x100e1867
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x24]
push dword [ebp]
call fcn.10004377
mov ecx, eax
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
mov byte [ebx + esi], al
mov eax, ecx
mov byte [ebx + esi - 1], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [ebx + esi + 1], al
mov byte [ebx + esi + 2], cl
add esi, 4
push dword [ebp]
call fcn.10006348
shl eax, 2
add esp, 8
cmp esi, eax
jl 0x100e1815
mov ebx, dword [esp + 0x10]
cmp esi, 0x21
jge 0x100e188c
mov edi, dword [esp + 0x24]
mov ecx, 0x21
sub ecx, esi
add edi, esi
add edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
push 8
mov eax, dword [esi + ebp]
push dword [eax + 4]
push edi
call fcn.100017fd
add esp, 0xc
test eax, eax
je 0x100e1dd7
mov eax, dword [esi + ebp]
push 8
push dword [eax + 8]
lea eax, [edi + 0x20]
push eax
call fcn.100017fd
add esp, 0xc
test eax, eax
je 0x100e1dd7
mov eax, dword [esi + ebp]
push 8
push dword [eax + 0xc]
lea eax, [edi + 0x40]
push eax
call fcn.100017fd
add esp, 0xc
test eax, eax
je 0x100e1dd7
push 1
push edi
push ebx
call fcn.10046080
lea ebp, [edi + 0x60]
push edi
push ebp
call fcn.10046560
push 2
push ebp
push ebx
call fcn.10046080
push edi
lea ebx, [edi + 0xc0]
push ebp
push ebx
call fcn.10046760
mov esi, dword [esp + 0x3c]
push 3
push ebx
push esi
call fcn.10046080
push ebp
push ebp
call fcn.10046560
add esp, 0x40
push 4
push ebp
push esi
call fcn.10046080
push ebx
push ebx
call fcn.10046560
push 6
push ebx
push esi
call fcn.10046080
push dword [esp + 0x38]
add edi, 0x120
push ebp
push edi
call fcn.10046760
push 5
push edi
push esi
call fcn.10046080
mov eax, dword [esp + 0x50]
push eax
push ebx
lea esi, [eax + 0x180]
push esi
call fcn.10046760
add esp, 0x44
push 7
push esi
push dword [esp + 0x18]
call fcn.10046080
push ebp
push ebp
call fcn.10046560
push 8
push ebp
push dword [esp + 0x2c]
call fcn.10046080
push ebx
push ebx
call fcn.10046560
push 0xc
push ebx
push dword [esp + 0x40]
call fcn.10046080
push edi
push edi
call fcn.10046560
push 0xa
push edi
push dword [esp + 0x54]
call fcn.10046080
add esp, 0x48
push esi
push esi
call fcn.10046560
push 0xe
push esi
push dword [esp + 0x20]
call fcn.10046080
push dword [esp + 0x2c]
push ebx
push ebx
call fcn.10046760
push 0xd
push ebx
push dword [esp + 0x38]
call fcn.10046080
push dword [esp + 0x44]
push edi
push edi
call fcn.10046760
push 0xb
push edi
push dword [esp + 0x50]
call fcn.10046080
mov edi, dword [esp + 0x5c]
add esp, 0x44
push edi
push esi
push esi
call fcn.10046760
push 0xf
push esi
push dword [esp + 0x24]
call fcn.10046080
push edi
push ebp
push ebx
call fcn.10046760
push 9
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.10046080
push ebp
push ebp
call fcn.10046560
push 0x10
push ebp
push ebx
call fcn.10046080
mov eax, dword [esp + 0x70]
add ebx, 0x600
mov ebp, dword [esp + 0x74]
inc eax
add dword [esp + 0x68], 0x21
add ebp, 4
mov esi, dword [esp + 0x94]
add esp, 0x44
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebp
cmp eax, esi
jb 0x100e1790
mov ebx, dword [esp + 0x14]
movzx edx, byte [ebx + 0x1f]
mov ecx, 0x3f
shr edx, 6
mov ebp, 0xff
and edx, 0x3f
mov dword [esp + 0x18], ebp
mov eax, edx
sub ecx, edx
shr eax, 5
dec eax
not eax
and ecx, eax
not eax
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
and eax, 0x7fffffff
push eax
push dword [esp + 0x20]
push edi
call fcn.100460d0
movdqu xmm0, xmmword [edi]
mov ebx, dword [esp + 0x50]
add esp, 0xc
movdqu xmmword [ebx], xmm0
movdqu xmm0, xmmword [edi + 0x10]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmm0, xmmword [edi + 0x20]
movdqu xmmword [ebx + 0x20], xmm0
movdqu xmm0, xmmword [edi + 0x30]
movdqu xmmword [ebx + 0x30], xmm0
movdqu xmm0, xmmword [edi + 0x40]
movdqu xmmword [ebx + 0x40], xmm0
movdqu xmm0, xmmword [edi + 0x50]
movdqu xmmword [ebx + 0x50], xmm0
xor eax, eax
cmp ebp, 0xff
sete al
cmp eax, esi
jae 0x100e1c6d
lea edx, [ebp - 1]
imul ebx, eax, 0x600
mov ecx, edx
lea ebp, [edi + 0x20]
and ecx, 7
shr edx, 3
mov dword [esp + 0x38], ecx
mov ecx, eax
shl ecx, 5
add ebx, dword [esp + 0x1c]
add ecx, eax
sub esi, eax
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
lea esp, [esp]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x14]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x38]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, 0x3f
and edx, 0x3f
mov esi, edx
sub ecx, edx
shr esi, 5
dec esi
not esi
mov eax, esi
and ecx, esi
not eax
and esi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea esi, [esi + eax*2]
mov eax, esi
shr eax, 1
push eax
push dword [esp + 0x28]
push edi
call fcn.100460d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100453a0
and esi, 1
neg esi
mov edx, esi
mov eax, esi
and eax, dword [edi + 0x80]
not edx
mov ecx, edx
and ecx, dword [ebp]
xor ecx, eax
mov eax, edx
mov dword [ebp], ecx
and eax, dword [ebp + 4]
mov ecx, dword [edi + 0x84]
and ecx, esi
xor ecx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x88]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 8], ecx
mov ecx, esi
and ecx, dword [edi + 0x8c]
mov eax, dword [ebp + 0xc]
and eax, edx
xor ecx, eax
mov eax, esi
mov dword [ebp + 0xc], ecx
mov ecx, edx
and ecx, dword [ebp + 0x10]
and eax, dword [edi + 0x90]
xor ecx, eax
mov eax, edx
mov dword [ebp + 0x10], ecx
and eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x94]
and ecx, esi
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x18]
mov eax, dword [edi + 0x98]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x1c]
and esi, dword [edi + 0x9c]
and eax, edx
push edi
xor esi, eax
push ebx
push ebx
mov dword [ebp + 0x1c], esi
call fcn.10046760
mov ecx, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x24], 0x600
add ecx, 0x21
dec dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
jne 0x100e1b40
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x20], ebp
call fcn.10046560
push ebx
push ebx
call fcn.10046560
push ebx
push ebx
call fcn.10046560
push ebx
push ebx
call fcn.10046560
push ebx
push ebx
call fcn.10046560
add esp, 0x28
cmp ebp, 5
jae 0x100e1af0
test esi, esi
je 0x100e1dcd
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0x20]
mov dword [esp + 0x30], eax
jmp 0x100e1cc0
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov esi, edx
sub ecx, edx
shr esi, 5
dec esi
not esi
mov eax, esi
and ecx, esi
not eax
and esi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea esi, [esi + eax*2]
mov eax, esi
shr eax, 1
push eax
push dword [esp + 0x20]
push edi
call fcn.100460d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100453a0
mov ecx, dword [ebp]
and esi, 1
mov eax, dword [edi + 0x80]
neg esi
and eax, esi
mov edx, esi
not edx
and ecx, edx
xor ecx, eax
mov eax, esi
mov dword [ebp], ecx
mov ecx, edx
and ecx, dword [ebp + 4]
and eax, dword [edi + 0x84]
xor ecx, eax
mov eax, edx
mov dword [ebp + 4], ecx
and eax, dword [ebp + 8]
mov ecx, dword [edi + 0x88]
and ecx, esi
xor ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x8c]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, esi
and ecx, dword [edi + 0x90]
mov eax, dword [ebp + 0x10]
and eax, edx
xor ecx, eax
mov eax, esi
mov dword [ebp + 0x10], ecx
mov ecx, edx
and ecx, dword [ebp + 0x14]
and eax, dword [edi + 0x94]
xor ecx, eax
mov eax, edx
mov dword [ebp + 0x14], ecx
and eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0x98]
and ecx, esi
xor ecx, eax
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x1c]
mov eax, dword [edi + 0x9c]
and ecx, edx
and eax, esi
xor ecx, eax
push edi
push ebx
push ebx
mov dword [ebp + 0x1c], ecx
call fcn.10046760
mov eax, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x1c], 0x600
add eax, 0x21
dec dword [esp + 0x50]
mov dword [esp + 0x30], eax
jne 0x100e1cc0
mov dword [esp + 0x34], 1
jmp 0x100e1df5
push 0x28f
push str.cryptoececp_nistz256.c
push 0x92
push 0xf2
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov ebp, dword [esp + 0x20]
push 0x2f1
push str.cryptoececp_nistz256.c
push dword [esp + 0x30]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x2f2
push str.cryptoececp_nistz256.c
push dword [esp + 0x28]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x2f3
push str.cryptoececp_nistz256.c
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x58]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x272
push str.cryptoececp_nistz256.c
push 3
jmp 0x100e1de6
mov ebp, eax
push 0x261
push str.cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100e1df9