Function at 0x4d5f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.00581be0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x30], 0
shl eax, 4
add eax, 6
mov dword [esp + 0x10], 0
push edi
cmp eax, 0x1555555
ja 0x4d672b
imul edi, esi, 0x600
push 0x273
push str.cryptoececp_nistz256.c
lea eax, [edi + 0x220]
push eax
call fcn.00465f40
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x4d672d
mov eax, esi
push 0x275
shl eax, 5
add eax, esi
push str.cryptoececp_nistz256.c
push eax
call fcn.00465f40
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4d672d
push 0x276
lea eax, [esi*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.00465f40
mov edx, eax
add esp, 0xc
mov dword [esp + 0x24], edx
test edx, edx
je 0x4d6727
mov ecx, ebp
mov dword [esp + 0x30], ebx
mov eax, ecx
and eax, 0x3f
sub ecx, eax
add ecx, 0x40
add edi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edi
test esi, esi
je 0x4d6371
mov esi, dword [esp + 0x48]
mov ebp, edx
mov eax, dword [esp + 0x14]
sub esi, edx
mov dword [esp + 0x28], ebx
inc eax
sub dword [esp + 0x4c], edx
mov ebx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
jmp 0x4d6094
mov esi, dword [esp + 0x48]
push dword [esi + ebp]
call fcn.00474fd0
add esp, 4
cmp eax, 0x100
jg 0x4d60bd
push dword [esi + ebp]
call fcn.00474e80
add esp, 4
test eax, eax
jne 0x4d60bd
mov eax, dword [esi + ebp]
mov dword [ebp], eax
jmp 0x4d60f9
push dword [esp + 0x54]
call fcn.004c25a0
mov esi, eax
add esp, 4
test esi, esi
je 0x4d671d
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.00501020
add esp, 0x10
test eax, eax
je 0x4d66f3
mov dword [ebp], esi
push dword [ebp]
xor esi, esi
call fcn.004e3e30
shl eax, 2
add esp, 4
test eax, eax
jle 0x4d616f
mov ebp, dword [esp + 0x38]
add ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
nop dword [eax]
push dword [ebx]
call fcn.004a2af0
mov ecx, esi
test ecx, ecx
jns 0x4d6130
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.004e3e30
shl eax, 2
add esp, 8
cmp esi, eax
jl 0x4d6120
mov ebx, dword [esp + 0x10]
cmp esi, 0x21
jge 0x4d6194
mov edi, dword [esp + 0x28]
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 + 0x2c]
push 8
mov eax, dword [esi]
push dword [eax + 8]
push edi
call fcn.004dc280
add esp, 0xc
test eax, eax
je 0x4d66d1
mov eax, dword [esi]
push 8
push dword [eax + 0xc]
lea eax, [edi + 0x20]
push eax
call fcn.004dc280
add esp, 0xc
test eax, eax
je 0x4d66d1
mov eax, dword [esi]
push 8
push dword [eax + 0x10]
lea eax, [edi + 0x40]
push eax
call fcn.004dc280
add esp, 0xc
test eax, eax
je 0x4d66d1
push 1
push edi
push ebx
call fcn.00433080
lea ebp, [edi + 0x60]
push edi
push ebp
call fcn.00433560
push 2
push ebp
push ebx
call fcn.00433080
push edi
lea ebx, [edi + 0xc0]
push ebp
push ebx
call fcn.00433760
mov esi, dword [esp + 0x3c]
push 3
push ebx
push esi
call fcn.00433080
push ebp
push ebp
call fcn.00433560
add esp, 0x40
push 4
push ebp
push esi
call fcn.00433080
push ebx
push ebx
call fcn.00433560
push 6
push ebx
push esi
call fcn.00433080
push dword [esp + 0x38]
add edi, 0x120
push ebp
push edi
call fcn.00433760
push 5
push edi
push esi
call fcn.00433080
mov eax, dword [esp + 0x50]
push eax
push ebx
lea esi, [eax + 0x180]
push esi
call fcn.00433760
add esp, 0x44
push 7
push esi
push dword [esp + 0x18]
call fcn.00433080
push ebp
push ebp
call fcn.00433560
push 8
push ebp
push dword [esp + 0x2c]
call fcn.00433080
push ebx
push ebx
call fcn.00433560
push 0xc
push ebx
push dword [esp + 0x40]
call fcn.00433080
push edi
push edi
call fcn.00433560
push 0xa
push edi
push dword [esp + 0x54]
call fcn.00433080
add esp, 0x48
push esi
push esi
call fcn.00433560
push 0xe
push esi
push dword [esp + 0x20]
call fcn.00433080
push dword [esp + 0x2c]
push ebx
push ebx
call fcn.00433760
push 0xd
push ebx
push dword [esp + 0x38]
call fcn.00433080
push dword [esp + 0x44]
push edi
push edi
call fcn.00433760
push 0xb
push edi
push dword [esp + 0x50]
call fcn.00433080
mov edi, dword [esp + 0x5c]
add esp, 0x44
push edi
push esi
push esi
call fcn.00433760
push 0xf
push esi
push dword [esp + 0x24]
call fcn.00433080
push edi
push ebp
push ebx
call fcn.00433760
push 9
push ebx
mov ebx, dword [esp + 0x3c]
push ebx
call fcn.00433080
push ebp
push ebp
call fcn.00433560
push 0x10
push ebp
push ebx
call fcn.00433080
mov eax, dword [esp + 0x74]
add ebx, 0x600
mov ebp, dword [esp + 0x70]
inc eax
add dword [esp + 0x6c], 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 + 0x2c], ebp
cmp eax, esi
jb 0x4d6090
mov eax, dword [esp + 0x14]
mov ecx, 0x3f
mov ebp, 0xff
mov dword [esp + 0x18], ebp
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 [esp + 0x20]
push edi
call fcn.004330d0
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 0x4d656c
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 + 0x2c], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], 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 + 0x30]
push edi
call fcn.004330d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.004323a0
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.00433760
mov ecx, dword [esp + 0x50]
add esp, 0x20
add dword [esp + 0x2c], 0x600
add ecx, 0x21
sub dword [esp + 0x28], 1
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
jne 0x4d6440
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x20], ebp
call fcn.00433560
push ebx
push ebx
call fcn.00433560
push ebx
push ebx
call fcn.00433560
push ebx
push ebx
call fcn.00433560
push ebx
push ebx
call fcn.00433560
add esp, 0x28
cmp ebp, 5
jae 0x4d63f0
test esi, esi
je 0x4d66bf
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.004330d0
lea eax, [edi + 0x80]
push ebp
push eax
call fcn.004323a0
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.00433760
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 0x4d65b5
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x34], 1
jmp 0x4d672d
call fcn.0046b260
push str.ecp_nistz256_windowed_mul
push 0x2a2
push str.cryptoececp_nistz256.c
call fcn.0046b2b0
push 0
push 0x92
jmp 0x4d6713
call fcn.0046b260
push str.ecp_nistz256_windowed_mul
push 0x286
push str.cryptoececp_nistz256.c
call fcn.0046b2b0
push 0
push 0x80003
push 0x10
call fcn.0046b2e0
add esp, 0x18
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
jmp 0x4d672d
mov ebx, eax
jmp 0x4d672d
xor ebp, ebp
push 0x304
push str.cryptoececp_nistz256.c
push ebp
call fcn.00465fc0
push 0x305
push str.cryptoececp_nistz256.c
push dword [esp + 0x28]
call fcn.00465fc0
push 0x306
push str.cryptoececp_nistz256.c
push ebx
call fcn.00465fc0
mov eax, dword [esp + 0x58]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret