Function at 0x404d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x442104]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, ecx
push esi
push edi
mov dword [esp + 0x10], eax
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp edi, eax
je 0x404da1
mov ecx, edi
mov edx, eax
mov esi, 0x1e
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40511f
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404d46
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40511f
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x22]
mov esi, 0x1e
mov edx, dword [eax]
add edx, 0x22
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40511f
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404d80
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40511f
mov edi, dword [esp + 0x10]
mov edx, 0x440114
add edi, 4
mov esi, 0x1e
mov dword [esp + 0x18], edi
mov ecx, edi
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404e73
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404dc0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x404e73
mov eax, dword [esp + 0x10]
mov edx, 0x440114
add eax, 0x26
mov esi, 0x1e
mov dword [esp + 0x14], eax
mov ecx, eax
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404e09
add ecx, 4
add edx, 4
sub esi, 4
jae 0x404df8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x404e30
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x404e30
cmp esi, 0xfffffffe
je 0x404e2c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x404e30
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x404e30
xor eax, eax
jmp 0x404e35
sbb eax, eax
or eax, 1
test eax, eax
jne 0x404e7e
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
movups xmm0, xmmword [ecx + 4]
movups xmmword [edi], xmm0
movups xmm0, xmmword [ecx + 0x14]
movups xmmword [edi + 0x10], xmm0
movzx eax, word [ecx + 0x24]
mov word [edi + 0x20], ax
movups xmm0, xmmword [ecx + 0x26]
movups xmmword [edx], xmm0
movups xmm0, xmmword [ecx + 0x36]
movups xmmword [edx + 0x10], xmm0
movzx eax, word [ecx + 0x46]
mov word [edx + 0x20], ax
jmp 0x405105
mov eax, dword [esp + 0x10]
add eax, 0x26
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
cmp dword [esp + 0x10], eax
je 0x4050fc
lea esi, [eax + 4]
mov dword [esp + 0x1c], 0x1e
mov ecx, edi
mov edx, esi
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x404ebf
add ecx, 4
add edx, 4
sub dword [esp + 0x1c], 4
jae 0x404ea0
mov ax, word [ecx]
cmp ax, word [edx]
je 0x4050fc
mov edx, dword [ebp + 8]
xor ecx, ecx
mov edi, dword [esp + 0x14]
add edx, 0x26
nop dword [eax + eax]
mov ax, word [edi + ecx*2]
lea edx, [edx + 2]
xor ax, word [edx - 2]
mov word [esp + ecx*2 + 0x2c], ax
inc ecx
cmp ecx, 0x11
jb 0x404ed0
mov edi, dword [esp + 0x18]
xor ecx, ecx
mov edx, esi
nop
mov ax, word [edi + ecx*2]
lea edx, [edx + 2]
xor ax, word [edx - 2]
mov word [esp + ecx*2 + 0x88], ax
inc ecx
cmp ecx, 0x11
jb 0x404ef0
lea edx, [esp + 0x88]
lea ecx, [esp + 0x50]
call fcn.00401b10
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x8c]
call fcn.00401a00
add esp, 4
lea edx, [esp + 0x88]
lea ecx, [esp + 0x50]
call fcn.00401e80
xor ecx, ecx
movups xmm0, xmmword [esp + ecx*2 + 0x50]
movups xmm1, xmmword [esp + ecx*2 + 0x88]
pxor xmm1, xmm0
movups xmmword [esp + ecx*2 + 0x50], xmm1
add ecx, 8
cmp ecx, 0x10
jb 0x404f43
cmp ecx, 0x11
jae 0x404f83
nop word [eax + eax]
mov ax, word [esp + ecx*2 + 0x88]
xor word [esp + ecx*2 + 0x50], ax
inc ecx
cmp ecx, 0x11
jb 0x404f70
xor ecx, ecx
mov edx, edi
nop word [eax + eax]
mov ax, word [edx]
lea edx, [edx + 2]
xor word [esp + ecx*2 + 0x50], ax
inc ecx
cmp ecx, 0x11
jb 0x404f90
xor ecx, ecx
mov ax, word [esi]
lea esi, [esi + 2]
xor word [esp + ecx*2 + 0x50], ax
inc ecx
cmp ecx, 0x11
jb 0x404fa3
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax]
nop dword [eax]
mov ax, word [edx + ecx*2]
xor word [esp + ecx*2 + 0x50], ax
inc ecx
cmp ecx, 0x11
jb 0x404fc0
lea ecx, [esp + 0x70]
lea eax, [edi + 0x20]
cmp edi, ecx
ja 0x404fec
lea ecx, [esp + 0x50]
cmp eax, ecx
jb 0x404fec
mov esi, ecx
xor eax, eax
sub esi, edi
xor edx, edx
jmp 0x405023
lea esi, [esp + 0x50]
mov eax, edi
sub esi, edi
mov ecx, 2
nop dword [eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
sub ecx, 1
jne 0x405000
mov eax, 0x20
mov edx, 0xfffffff0
lea ecx, [eax + edi]
add edx, 0x11
nop dword [eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
xor word [ecx - 2], ax
sub edx, 1
jne 0x405030
lea eax, [esp + 0x88]
mov edx, edi
push eax
mov ecx, edi
call fcn.00401a00
lea ecx, [esp + 0x74]
add esp, 4
xor eax, eax
cmp edi, ecx
ja 0x405069
lea edx, [esp + 0x50]
lea ecx, [edi + 0x20]
cmp ecx, edx
jae 0x40509d
mov eax, edi
mov dword [esp + 0x18], 0x10
mov ecx, 2
nop dword [eax + eax]
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [esi + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
sub ecx, 1
jne 0x405080
mov eax, dword [esp + 0x18]
mov edx, 0x11
lea ecx, [edi + eax*2]
sub edx, eax
nop word [eax + eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
xor word [ecx - 2], ax
sub edx, 1
jne 0x4050b0
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov edx, edi
nop dword [eax + eax]
mov ax, word [edx]
lea edx, [edx + 2]
xor word [esi + ecx*2], ax
inc ecx
cmp ecx, 0x11
jb 0x4050d0
movups xmm0, xmmword [esp + 0x50]
mov ax, word [esp + 0x70]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [edi + 0x10], xmm0
mov word [edi + 0x20], ax
jmp 0x405105
mov ecx, dword [esp + 0x10]
call fcn.00405140
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.0041bc93
mov esp, ebp
pop ebp
ret 4
push str.Not_on_the_same_curve.
lea ecx, [esp + 0x24]
call fcn.00401720
push 0x441638
lea eax, [esp + 0x24]
push eax
call fcn.0041d2ea
int3