Function at 0x1018e7e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.1026b810
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x50]
mov eax, edi
shl eax, 4
add eax, 6
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
cmp eax, 0x1555555
ja 0x1018ef36
imul esi, edi, 0x600
push 0x273
push str.cryptoececp_nistz256.c
lea eax, [esi + 0x220]
push eax
call fcn.10101c90
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x1018ef38
mov eax, edi
push 0x275
shl eax, 5
add eax, edi
push str.cryptoececp_nistz256.c
push eax
call fcn.10101c90
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1018ef38
push 0x276
lea eax, [edi*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.10101c90
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1018ef38
mov eax, ebx
mov dword [esp + 0x24], 0
and eax, 0xffffffc0
add eax, 0x40
add esi, eax
mov dword [esp + 0x18], eax
test edi, edi
je 0x1018ebb3
mov edi, dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, edi
mov dword [esp + 0x10], ebx
sub dword [esp + 0x4c], edi
mov dword [esp + 0x38], eax
nop
push dword [edi]
call fcn.10132670
add esp, 4
cmp eax, 0x100
jg 0x1018e907
push dword [edi]
call fcn.10132520
add esp, 4
test eax, eax
jne 0x1018e907
mov ebp, dword [edi]
mov dword [esp + 0x2c], ebp
jmp 0x1018e93f
push dword [esp + 0x54]
call fcn.1018a620
mov ebp, eax
add esp, 4
mov dword [esp + 0x2c], ebp
test ebp, ebp
je 0x1018ef30
mov eax, dword [esp + 0x40]
push dword [esp + 0x54]
push dword [eax + 8]
push dword [edi]
push ebp
call fcn.10198960
add esp, 0x10
test eax, eax
je 0x1018ef06
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [ecx + eax*4], ebp
xor ebp, ebp
call fcn.100bae90
shl eax, 2
add esp, 4
test eax, eax
jle 0x1018e9bf
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
add edi, dword [esp + 0x20]
add ebx, dword [esp + 0x48]
nop
push dword [ebx]
call fcn.100a90b0
mov ecx, ebp
test ecx, ecx
jns 0x1018e980
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
lea edi, [edi + 4]
mov eax, ecx
mov byte [edi - 6], cl
shr eax, 8
add ebp, 4
mov byte [edi - 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edi - 4], al
mov byte [edi - 3], cl
push dword [ebx]
call fcn.100bae90
shl eax, 2
add esp, 8
cmp ebp, eax
jl 0x1018e970
mov ebx, dword [esp + 0x10]
cmp ebp, 0x21
jge 0x1018e9dc
mov ecx, dword [esp + 0x20]
mov eax, 0x21
sub eax, ebp
add ecx, ebp
add ecx, dword [esp + 0x14]
push eax
push 0
push ecx
call fcn.1026d1f0
add esp, 0xc
mov edi, dword [esp + 0x4c]
add edi, dword [esp + 0x48]
push 8
mov eax, dword [edi]
push dword [eax + 8]
push esi
call fcn.10196cf0
add esp, 0xc
test eax, eax
je 0x1018eed6
mov eax, dword [edi]
push 8
push dword [eax + 0xc]
lea eax, [esi + 0x20]
push eax
call fcn.10196cf0
add esp, 0xc
test eax, eax
je 0x1018eed6
mov eax, dword [edi]
push 8
push dword [eax + 0x10]
lea eax, [esi + 0x40]
push eax
call fcn.10196cf0
add esp, 0xc
test eax, eax
je 0x1018eed6
push 1
push esi
push ebx
call fcn.1002e080
lea edi, [esi + 0x60]
push esi
push edi
call fcn.1002e560
push 2
push edi
push ebx
call fcn.1002e080
push esi
lea ebp, [esi + 0xc0]
push edi
push ebp
call fcn.1002e760
push 3
push ebp
push ebx
call fcn.1002e080
push edi
push edi
call fcn.1002e560
add esp, 0x40
push 4
push edi
push ebx
call fcn.1002e080
push ebp
push ebp
call fcn.1002e560
push 6
push ebp
push ebx
call fcn.1002e080
push esi
lea ebx, [esi + 0x120]
push edi
push ebx
call fcn.1002e760
push 5
push ebx
push dword [esp + 0x44]
call fcn.1002e080
push esi
lea edi, [esi + 0x180]
push ebp
push edi
call fcn.1002e760
add esp, 0x44
push 7
push edi
push dword [esp + 0x18]
call fcn.1002e080
lea eax, [esi + 0x60]
push eax
push eax
call fcn.1002e560
push 8
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x2c]
call fcn.1002e080
push ebp
push ebp
call fcn.1002e560
push 0xc
push ebp
push dword [esp + 0x40]
call fcn.1002e080
push ebx
push ebx
call fcn.1002e560
push 0xa
push ebx
push dword [esp + 0x54]
call fcn.1002e080
add esp, 0x48
push edi
push edi
call fcn.1002e560
push 0xe
push edi
push dword [esp + 0x20]
call fcn.1002e080
push esi
push ebp
push ebp
call fcn.1002e760
push 0xd
push ebp
push dword [esp + 0x38]
call fcn.1002e080
push esi
push ebx
push ebx
call fcn.1002e760
push 0xb
push ebx
mov ebx, dword [esp + 0x50]
push ebx
call fcn.1002e080
add esp, 0x44
push esi
push edi
push edi
call fcn.1002e760
push 0xf
push edi
push ebx
call fcn.1002e080
push esi
lea ebx, [esi + 0x60]
push ebx
push ebp
call fcn.1002e760
push 9
push ebp
push dword [esp + 0x3c]
call fcn.1002e080
push ebx
push ebx
call fcn.1002e560
push 0x10
push ebx
mov ebx, dword [esp + 0x50]
push ebx
call fcn.1002e080
mov ebp, dword [esp + 0x68]
add ebx, 0x600
mov edi, dword [esp + 0x8c]
inc ebp
add dword [esp + 0x64], 0x21
add edi, 4
add esp, 0x44
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], edi
cmp ebp, dword [esp + 0x50]
jb 0x1018e8e0
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov ebp, 0xff
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x1f]
shr ecx, 6
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
push eax
push dword [esp + 0x1c]
push esi
call fcn.1002e0d0
movups xmm0, xmmword [esi]
mov ebx, dword [esp + 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [esi + 0x50]
movups xmmword [ebx + 0x50], xmm0
xor eax, eax
cmp ebp, 0xff
sete al
cmp eax, edi
jae 0x1018ed78
lea edx, [ebp - 1]
mov ebp, eax
mov ecx, edx
shl ebp, 5
and ecx, 7
shr edx, 3
mov dword [esp + 0x38], ecx
add ebp, eax
imul ecx, eax, 0x600
mov dword [esp + 0x20], edx
add ecx, dword [esp + 0x18]
sub edi, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add eax, ebp
movzx edx, byte [eax + edx + 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 eax, edx
sub ecx, edx
shr eax, 5
dec eax
mov edi, eax
and eax, edx
not edi
and ecx, edi
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
and eax, 0x7fffffff
push eax
push dword [esp + 0x28]
push esi
call fcn.1002e0d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.1002d3a0
mov ecx, dword [esi + 0x20]
and edi, 1
mov eax, dword [esi + 0x80]
neg edi
and eax, edi
mov edx, edi
not edx
and ecx, edx
xor ecx, eax
mov eax, edi
mov dword [esi + 0x20], ecx
and eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x24]
and ecx, edx
xor ecx, eax
mov dword [esi + 0x24], ecx
mov ecx, edi
and ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x28]
and eax, edx
xor ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x8c]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x2c], ecx
mov ecx, edx
and ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x90]
and eax, edi
xor ecx, eax
mov dword [esi + 0x30], ecx
mov ecx, edx
and ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x94]
and eax, edi
xor ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, edi
mov eax, dword [esi + 0x38]
and ecx, dword [esi + 0x98]
and eax, edx
xor ecx, eax
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x9c]
and ecx, edx
push esi
and eax, edi
xor ecx, eax
push ebx
push ebx
mov dword [esi + 0x3c], ecx
call fcn.1002e760
add dword [esp + 0x44], 0x600
add esp, 0x20
mov edx, dword [esp + 0x20]
add ebp, 0x21
sub dword [esp + 0x2c], 1
jne 0x1018ec51
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x18], ebp
call fcn.1002e560
push ebx
push ebx
call fcn.1002e560
push ebx
push ebx
call fcn.1002e560
push ebx
push ebx
call fcn.1002e560
push ebx
push ebx
call fcn.1002e560
add esp, 0x28
cmp ebp, 5
jae 0x1018ec10
test edi, edi
je 0x1018eec8
mov eax, dword [esp + 0x14]
lea ebp, [esi + 0x20]
mov dword [esp + 0x2c], eax
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov eax, edx
sub ecx, edx
shr eax, 5
dec eax
mov edi, eax
and eax, edx
not edi
and ecx, edi
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
and eax, 0x7fffffff
push eax
push dword [esp + 0x1c]
push esi
call fcn.1002e0d0
lea eax, [esi + 0x80]
push ebp
push eax
call fcn.1002d3a0
mov ecx, dword [ebp]
and edi, 1
mov eax, dword [esi + 0x80]
neg edi
and eax, edi
mov edx, edi
not edx
and ecx, edx
xor ecx, eax
mov eax, edi
mov dword [ebp], ecx
and eax, dword [esi + 0x84]
mov ecx, dword [ebp + 4]
and ecx, edx
xor ecx, eax
mov dword [ebp + 4], ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x88]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x8c]
and ecx, edx
and eax, edi
xor ecx, eax
mov eax, edi
mov dword [esi + 0x2c], ecx
mov ecx, edx
and ecx, dword [esi + 0x30]
and eax, dword [esi + 0x90]
xor ecx, eax
mov eax, edi
mov dword [esi + 0x30], ecx
mov ecx, edx
and ecx, dword [esi + 0x34]
and eax, dword [esi + 0x94]
xor ecx, eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x98]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x3c]
mov eax, dword [esi + 0x9c]
and ecx, edx
push esi
and eax, edi
xor ecx, eax
push ebx
mov dword [esi + 0x3c], ecx
push ebx
call fcn.1002e760
mov eax, dword [esp + 0x4c]
add esp, 0x20
add dword [esp + 0x18], 0x600
add eax, 0x21
sub dword [esp + 0x50], 1
mov dword [esp + 0x2c], eax
jne 0x1018edc1
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], 1
jmp 0x1018ef38
call fcn.10105aa0
push str.ecp_nistz256_windowed_mul
push 0x2a2
push str.cryptoececp_nistz256.c
call fcn.10105ba0
push 0
push 0x92
push 0x10
call fcn.10105cb0
mov ebx, dword [esp + 0x34]
add esp, 0x18
jmp 0x1018ef38
call fcn.10105aa0
push str.ecp_nistz256_windowed_mul
push 0x286
push str.cryptoececp_nistz256.c
call fcn.10105ba0
push 0
push 0x80003
push 0x10
call fcn.10105cb0
add esp, 0x18
mov ebx, dword [esp + 0x1c]
jmp 0x1018ef38
xor ebx, ebx
push 0x304
push str.cryptoececp_nistz256.c
push ebx
call fcn.10101d20
push 0x305
push str.cryptoececp_nistz256.c
push dword [esp + 0x28]
call fcn.10101d20
push 0x306
push str.cryptoececp_nistz256.c
push dword [esp + 0x48]
call fcn.10101d20
mov eax, dword [esp + 0x54]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret