Function at 0x102aff70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.100aa0d0
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 + 0x28], ebp
push edi
cmp eax, 0x1555555
ja 0x102b0730
imul edi, esi, 0x600
push 0x25d
push str.cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call fcn.10223820
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x102b0730
mov eax, esi
push 0x25f
shl eax, 5
add eax, esi
push str.cryptoececp_nistz256.c
push eax
call fcn.10223820
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x102b0730
push 0x260
lea eax, [esi*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.10223820
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x102b072e
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x3f
mov dword [esp + 0x30], ebp
sub ecx, eax
add ecx, 0x40
add edi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
test esi, esi
je 0x102b0365
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 + 0x28], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
jmp 0x102b0084
mov esi, dword [esp + 0x48]
push dword [esi + ebp]
call fcn.1022b030
add esp, 4
cmp eax, 0x100
jg 0x102b00ad
push dword [esi + ebp]
call fcn.1022aef0
add esp, 4
test eax, eax
jne 0x102b00ad
mov eax, dword [esi + ebp]
mov dword [ebp], eax
jmp 0x102b00e9
push dword [esp + 0x54]
call fcn.10255dd0
mov esi, eax
add esp, 4
test esi, esi
je 0x102b06d7
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 fcn.10280cb0
add esp, 0x10
test eax, eax
je 0x102b0720
mov dword [ebp], esi
push dword [ebp]
xor esi, esi
call fcn.10251d80
shl eax, 2
add esp, 4
test eax, eax
jle 0x102b015f
mov ebp, dword [esp + 0x38]
add ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
nop dword [eax]
push dword [ebx]
call fcn.10288bf0
mov ecx, esi
test ecx, ecx
jns 0x102b0120
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
mov eax, ecx
shr eax, 8
mov byte [esi + ebp], al
mov eax, ecx
mov byte [esi + ebp - 1], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esi + ebp + 1], al
mov byte [esi + ebp + 2], cl
add esi, 4
push dword [ebx]
call fcn.10251d80
shl eax, 2
add esp, 8
cmp esi, eax
jl 0x102b0110
mov ebx, dword [esp + 0x10]
cmp esi, 0x21
jge 0x102b0184
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]
add esi, dword [esp + 0x28]
push 8
mov eax, dword [esi]
push dword [eax + 8]
push edi
call fcn.10257bb0
add esp, 0xc
test eax, eax
je 0x102b06b9
mov eax, dword [esi]
push 8
push dword [eax + 0xc]
lea eax, [edi + 0x20]
push eax
call fcn.10257bb0
add esp, 0xc
test eax, eax
je 0x102b06b9
mov eax, dword [esi]
push 8
push dword [eax + 0x10]
lea eax, [edi + 0x40]
push eax
call fcn.10257bb0
add esp, 0xc
test eax, eax
je 0x102b06b9
push 1
push edi
push ebx
call fcn.10048080
lea ebp, [edi + 0x60]
push edi
push ebp
call fcn.10048560
push 2
push ebp
push ebx
call fcn.10048080
push edi
lea ebx, [edi + 0xc0]
push ebp
push ebx
call fcn.10048760
mov esi, dword [esp + 0x3c]
push 3
push ebx
push esi
call fcn.10048080
push ebp
push ebp
call fcn.10048560
add esp, 0x40
push 4
push ebp
push esi
call fcn.10048080
push ebx
push ebx
call fcn.10048560
push 6
push ebx
push esi
call fcn.10048080
push dword [esp + 0x38]
add edi, 0x120
push ebp
push edi
call fcn.10048760
push 5
push edi
push esi
call fcn.10048080
mov eax, dword [esp + 0x50]
push eax
push ebx
lea esi, [eax + 0x180]
push esi
call fcn.10048760
add esp, 0x44
push 7
push esi
push dword [esp + 0x18]
call fcn.10048080
push ebp
push ebp
call fcn.10048560
push 8
push ebp
push dword [esp + 0x2c]
call fcn.10048080
push ebx
push ebx
call fcn.10048560
push 0xc
push ebx
push dword [esp + 0x40]
call fcn.10048080
push edi
push edi
call fcn.10048560
push 0xa
push edi
push dword [esp + 0x54]
call fcn.10048080
add esp, 0x48
push esi
push esi
call fcn.10048560
push 0xe
push esi
push dword [esp + 0x20]
call fcn.10048080
push dword [esp + 0x2c]
push ebx
push ebx
call fcn.10048760
push 0xd
push ebx
push dword [esp + 0x38]
call fcn.10048080
push dword [esp + 0x44]
push edi
push edi
call fcn.10048760
push 0xb
push edi
push dword [esp + 0x50]
call fcn.10048080
mov edi, dword [esp + 0x5c]
add esp, 0x44
push edi
push esi
push esi
call fcn.10048760
push 0xf
push esi
push dword [esp + 0x24]
call fcn.10048080
push edi
push ebp
push ebx
call fcn.10048760
push 9
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.10048080
push ebp
push ebp
call fcn.10048560
push 0x10
push ebp
push ebx
call fcn.10048080
mov eax, dword [esp + 0x74]
add ebx, 0x600
mov ebp, dword [esp + 0x6c]
inc eax
add dword [esp + 0x68], 0x21
add ebp, 4
mov esi, dword [esp + 0x94]
add esp, 0x44
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebp
cmp eax, esi
jb 0x102b0080
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.100480d0
movups xmm0, xmmword [edi]
mov ebx, dword [esp + 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebx + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ebx + 0x40], xmm0
movups xmm0, xmmword [edi + 0x50]
movups xmmword [ebx + 0x50], xmm0
nop dword [eax]
xor eax, eax
cmp ebp, 0xff
sete al
cmp eax, esi
jae 0x102b055c
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 + 0x28], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], esi
nop dword [eax]
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 + 0x2c]
push edi
call fcn.100480d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100473a0
mov eax, dword [edi + 0x80]
and esi, 1
neg esi
and eax, esi
mov edx, esi
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 eax, esi
mov dword [ebp + 4], ecx
mov ecx, edx
and ecx, dword [ebp + 8]
and eax, dword [edi + 0x88]
xor ecx, eax
mov eax, esi
mov dword [ebp + 8], ecx
mov ecx, edx
and ecx, dword [ebp + 0xc]
and eax, dword [edi + 0x8c]
xor ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x90]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 0x94]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [ebp + 0x14], ecx
mov ecx, edx
and ecx, dword [ebp + 0x18]
and eax, dword [edi + 0x98]
xor ecx, eax
mov dword [ebp + 0x18], ecx
and edx, dword [ebp + 0x1c]
and esi, dword [edi + 0x9c]
push edi
xor edx, esi
push ebx
push ebx
mov dword [ebp + 0x1c], edx
call fcn.10048760
mov ecx, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x28], 0x600
add ecx, 0x21
sub dword [esp + 0x24], 1
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
jne 0x102b0430
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x20], ebp
call fcn.10048560
push ebx
push ebx
call fcn.10048560
push ebx
push ebx
call fcn.10048560
push ebx
push ebx
call fcn.10048560
push ebx
push ebx
call fcn.10048560
add esp, 0x28
cmp ebp, 5
jae 0x102b03e0
test esi, esi
je 0x102b06af
mov eax, dword [esp + 0x14]
lea ebp, [edi + 0x20]
mov dword [esp + 0x30], eax
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.100480d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.100473a0
mov eax, dword [edi + 0x80]
and esi, 1
neg esi
and eax, esi
mov edx, esi
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 eax, esi
mov dword [ebp + 4], ecx
mov ecx, edx
and ecx, dword [ebp + 8]
and eax, dword [edi + 0x88]
xor ecx, eax
mov eax, esi
mov dword [ebp + 8], ecx
mov ecx, edx
and ecx, dword [ebp + 0xc]
and eax, dword [edi + 0x8c]
xor ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x90]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 0x94]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [ebp + 0x14], ecx
mov ecx, edx
and ecx, dword [ebp + 0x18]
and eax, dword [edi + 0x98]
xor ecx, eax
mov dword [ebp + 0x18], ecx
and edx, dword [ebp + 0x1c]
and esi, dword [edi + 0x9c]
xor edx, esi
mov dword [ebp + 0x1c], edx
push edi
push ebx
push ebx
call fcn.10048760
mov eax, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x1c], 0x600
add eax, 0x21
sub dword [esp + 0x50], 1
mov dword [esp + 0x30], eax
jne 0x102b05a5
mov dword [esp + 0x34], 1
jmp 0x102b06d7
push 0x28f
push str.cryptoececp_nistz256.c
push 0x92
push 0xf2
push 0x10
call fcn.10224dd0
add esp, 0x14
mov ebp, dword [esp + 0x20]
push 0x2f1
push str.cryptoececp_nistz256.c
push dword [esp + 0x34]
call fcn.10223850
push 0x2f2
push str.cryptoececp_nistz256.c
push dword [esp + 0x28]
call fcn.10223850
push 0x2f3
push str.cryptoececp_nistz256.c
push ebp
call fcn.10223850
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 0x102b06c8
mov ebp, eax
push 0x261
push str.cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call fcn.10224dd0
add esp, 0x14
jmp 0x102b06db