Function at 0x68f360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30
call fcn.006f2580
push ebx
mov ebx, dword [ebp + 0x18]
mov eax, ebx
shl eax, 4
add eax, 6
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
push esi
push edi
cmp eax, 0x1555555
ja 0x68fa90
imul edi, ebx, 0x600
push 0x276
push str.cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call fcn.0061e3f0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x68fa90
mov eax, ebx
push 0x278
shl eax, 5
add eax, ebx
push str.cryptoececp_nistz256.c
push eax
call fcn.0061e3f0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0xc], esi
test esi, esi
je 0x68fa90
push 0x279
lea eax, [ebx*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.0061e3f0
mov edx, eax
add esp, 0xc
mov dword [ebp - 0x24], edx
test edx, edx
je 0x68fa90
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
and eax, 0x3f
mov dword [ebp - 0x20], 0
sub ecx, eax
add ecx, 0x40
add edi, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edi
test ebx, ebx
je 0x68f73a
mov eax, dword [ebp - 0xc]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
inc eax
sub ecx, edx
mov dword [ebp - 0x18], 0
sub dword [ebp + 0x14], edx
mov esi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp + 0x10], ecx
push dword [ecx + esi]
call fcn.00623f90
add esp, 4
cmp eax, 0x100
jg 0x68f48f
mov eax, dword [ebp + 0x10]
push dword [eax + esi]
call fcn.00623e10
add esp, 4
test eax, eax
jne 0x68f48f
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + esi]
jmp 0x68f4c8
push dword [ebp + 0x1c]
call fcn.00668f00
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x68faab
mov ecx, dword [ebp + 8]
push dword [ebp + 0x1c]
push dword [ecx + 8]
mov ecx, dword [ebp + 0x10]
push dword [ecx + esi]
push eax
call fcn.0068d930
add esp, 0x10
test eax, eax
je 0x68fa82
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.0059e940
shl eax, 2
add esp, 4
test eax, eax
jle 0x68f541
mov ebx, dword [ebp - 0x30]
add ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x10]
nop dword [eax]
push dword [edi]
call fcn.00560ca0
mov ecx, esi
test ecx, ecx
jns 0x68f500
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*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 [edi]
call fcn.0059e940
shl eax, 2
add esp, 8
cmp esi, eax
jl 0x68f4f0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
cmp esi, 0x21
jge 0x68f563
mov edi, dword [ebp - 0x18]
mov ecx, 0x21
sub ecx, esi
add edi, esi
add edi, dword [ebp - 0xc]
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 [ebp - 8]
mov esi, dword [ebp + 0x14]
add esi, dword [ebp - 0x10]
push 8
mov eax, dword [esi]
push dword [eax + 8]
push edi
call fcn.0067e940
add esp, 0xc
test eax, eax
je 0x68fa71
mov eax, dword [esi]
push 8
push dword [eax + 0xc]
lea eax, [edi + 0x20]
push eax
call fcn.0067e940
add esp, 0xc
test eax, eax
je 0x68fa71
mov eax, dword [esi]
push 8
push dword [eax + 0x10]
lea eax, [edi + 0x40]
push eax
call fcn.0067e940
add esp, 0xc
test eax, eax
je 0x68fa71
push 1
push edi
push ebx
call fcn.00443080
lea esi, [edi + 0x60]
push edi
push esi
call fcn.00443560
push 2
push esi
push ebx
call fcn.00443080
push edi
lea ebx, [edi + 0xc0]
push esi
push ebx
call fcn.00443760
push 3
push ebx
push dword [ebp - 4]
call fcn.00443080
push esi
push esi
call fcn.00443560
add esp, 0x40
push 4
push esi
push dword [ebp - 4]
call fcn.00443080
push ebx
push ebx
call fcn.00443560
push 6
push ebx
push dword [ebp - 4]
call fcn.00443080
push dword [ebp - 8]
add edi, 0x120
push esi
push edi
call fcn.00443760
push 5
push edi
push dword [ebp - 4]
call fcn.00443080
mov eax, dword [ebp - 8]
push eax
push ebx
lea esi, [eax + 0x180]
push esi
call fcn.00443760
add esp, 0x44
push 7
push esi
push dword [ebp - 4]
call fcn.00443080
mov eax, dword [ebp - 8]
add eax, 0x60
push eax
push eax
call fcn.00443560
mov eax, dword [ebp - 8]
push 8
add eax, 0x60
push eax
push dword [ebp - 4]
call fcn.00443080
push ebx
push ebx
call fcn.00443560
push 0xc
push ebx
push dword [ebp - 4]
call fcn.00443080
push edi
push edi
call fcn.00443560
push 0xa
push edi
push dword [ebp - 4]
call fcn.00443080
add esp, 0x48
push esi
push esi
call fcn.00443560
push 0xe
push esi
push dword [ebp - 4]
call fcn.00443080
push dword [ebp - 8]
push ebx
push ebx
call fcn.00443760
push 0xd
push ebx
push dword [ebp - 4]
call fcn.00443080
push dword [ebp - 8]
push edi
push edi
call fcn.00443760
push 0xb
push edi
push dword [ebp - 4]
call fcn.00443080
mov edi, dword [ebp - 8]
add esp, 0x44
push edi
push esi
push esi
call fcn.00443760
push 0xf
push esi
push dword [ebp - 4]
call fcn.00443080
push edi
lea esi, [edi + 0x60]
push esi
push ebx
call fcn.00443760
push 9
push ebx
mov ebx, dword [ebp - 4]
push ebx
call fcn.00443080
push esi
push esi
call fcn.00443560
push 0x10
push esi
push ebx
call fcn.00443080
mov eax, dword [ebp - 0x20]
add ebx, 0x600
mov esi, dword [ebp - 0x10]
inc eax
add dword [ebp - 0x18], 0x21
add esi, 4
mov ecx, dword [ebp + 0x10]
add esp, 0x44
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esi
cmp eax, dword [ebp + 0x18]
jb 0x68f463
mov eax, dword [ebp - 0xc]
mov ecx, 0x3f
mov esi, 0xff
mov dword [ebp - 8], esi
movzx edx, byte [eax + 0x1f]
shr edx, 6
and edx, 0x3f
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 [ebp - 0x14]
push edi
call fcn.004430d0
movups xmm0, xmmword [edi]
mov ebx, dword [ebp + 0xc]
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
mov edx, dword [ebp + 0x18]
xor eax, eax
cmp esi, 0xff
sete al
cmp eax, edx
jae 0x68f917
dec esi
imul ebx, eax, 0x600
mov ecx, esi
shr esi, 3
and ecx, 7
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
mov ecx, eax
shl ecx, 5
add ebx, dword [ebp - 0x14]
add ecx, eax
sub edx, eax
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0x30]
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 [ebp - 0x18]
push edi
call fcn.004430d0
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x80]
push eax
call fcn.004423a0
mov eax, dword [edi + 0x80]
and esi, 1
neg esi
and eax, esi
mov edx, esi
not edx
mov ecx, edx
and ecx, dword [edi + 0x20]
xor ecx, eax
mov eax, edx
mov dword [edi + 0x20], ecx
and eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x84]
and ecx, esi
xor ecx, eax
mov eax, esi
mov dword [edi + 0x24], ecx
mov ecx, edx
and ecx, dword [edi + 0x28]
and eax, dword [edi + 0x88]
xor ecx, eax
mov eax, esi
mov dword [edi + 0x28], ecx
mov ecx, edx
and ecx, dword [edi + 0x2c]
and eax, dword [edi + 0x8c]
xor ecx, eax
mov dword [edi + 0x2c], ecx
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x90]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [edi + 0x30], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x94]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [edi + 0x34], ecx
mov ecx, edx
and ecx, dword [edi + 0x38]
and eax, dword [edi + 0x98]
xor ecx, eax
mov dword [edi + 0x38], ecx
and edx, dword [edi + 0x3c]
and esi, dword [edi + 0x9c]
push edi
xor edx, esi
push ebx
push ebx
mov dword [edi + 0x3c], edx
call fcn.00443760
mov ecx, dword [ebp - 0x20]
add esp, 0x20
add dword [ebp - 0x18], 0x600
add ecx, 0x21
sub dword [ebp - 0x10], 1
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
jne 0x68f7f5
mov esi, dword [ebp - 8]
push ebx
sub esi, 5
push ebx
mov dword [ebp - 8], esi
call fcn.00443560
push ebx
push ebx
call fcn.00443560
push ebx
push ebx
call fcn.00443560
push ebx
push ebx
call fcn.00443560
push ebx
push ebx
call fcn.00443560
add esp, 0x28
cmp esi, 5
jae 0x68f7b2
cmp dword [ebp + 0x18], 0
jbe 0x68fa68
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
nop dword [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 [ebp - 0x14]
push edi
call fcn.004430d0
lea eax, [edi + 0x20]
push eax
lea eax, [edi + 0x80]
push eax
call fcn.004423a0
mov eax, dword [edi + 0x80]
and esi, 1
neg esi
and eax, esi
mov edx, esi
not edx
mov ecx, edx
and ecx, dword [edi + 0x20]
xor ecx, eax
mov eax, edx
mov dword [edi + 0x20], ecx
and eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x84]
and ecx, esi
xor ecx, eax
mov eax, esi
mov dword [edi + 0x24], ecx
mov ecx, edx
and ecx, dword [edi + 0x28]
and eax, dword [edi + 0x88]
xor ecx, eax
mov eax, esi
mov dword [edi + 0x28], ecx
mov ecx, edx
and ecx, dword [edi + 0x2c]
and eax, dword [edi + 0x8c]
xor ecx, eax
mov dword [edi + 0x2c], ecx
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x90]
and ecx, edx
and eax, esi
xor ecx, eax
mov dword [edi + 0x30], ecx
mov ecx, dword [edi + 0x34]
mov eax, dword [edi + 0x94]
and ecx, edx
and eax, esi
xor ecx, eax
mov eax, esi
mov dword [edi + 0x34], ecx
mov ecx, edx
and ecx, dword [edi + 0x38]
and eax, dword [edi + 0x98]
xor ecx, eax
mov dword [edi + 0x38], ecx
and edx, dword [edi + 0x3c]
and esi, dword [edi + 0x9c]
xor edx, esi
mov dword [edi + 0x3c], edx
push edi
push ebx
push ebx
call fcn.00443760
mov eax, dword [ebp - 0x20]
add esp, 0x20
add dword [ebp - 0x14], 0x600
add eax, 0x21
sub dword [ebp + 0x18], 1
mov dword [ebp - 0x20], eax
jne 0x68f960
mov dword [ebp - 0x28], 1
jmp 0x68faab
push 0x2a8
push str.cryptoececp_nistz256.c
push 0x92
jmp 0x68fa9c
push 0x28b
push str.cryptoececp_nistz256.c
push 3
jmp 0x68fa9c
push 0x27a
push str.cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call fcn.0062ff40
add esp, 0x14
push 0x30a
push str.cryptoececp_nistz256.c
push dword [ebp - 0x1c]
call fcn.0061e430
push 0x30b
push str.cryptoececp_nistz256.c
push dword [ebp - 0xc]
call fcn.0061e430
push 0x30c
push str.cryptoececp_nistz256.c
push dword [ebp - 0x24]
call fcn.0061e430
mov eax, dword [ebp - 0x28]
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret