Function at 0x5bd190
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x34
call fcn.00508210
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
xor esi, esi
mov eax, edi
mov dword [esp + 0x30], 0
shl eax, 4
add eax, 6
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], 0
cmp eax, 0x1555555
ja 0x5bd917
imul esi, edi, 0x600
push 0x25d
push str.cryptoececp_nistz256.c
lea eax, [esi + 0x220]
push eax
call fcn.00562190
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x5bd915
mov eax, edi
push 0x25f
shl eax, 5
add eax, edi
push str.cryptoececp_nistz256.c
push eax
call fcn.00562190
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x5bd911
push 0x260
lea eax, [edi*4]
push str.cryptoececp_nistz256.c
push eax
call fcn.00562190
mov edx, eax
add esp, 0xc
mov dword [esp + 0x2c], edx
test edx, edx
je 0x5bd911
mov eax, ebp
mov dword [esp + 0x28], 0
and eax, 0x3f
mov ecx, ebp
sub ecx, eax
add ecx, 0x40
add esi, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], esi
test edi, edi
je 0x5bd578
mov eax, dword [esp + 0x18]
mov ebp, ecx
mov ebx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
sub eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x40], eax
push dword [ebx]
mov edi, dword [esp + 0x60]
call fcn.00568dc0
add esp, 4
cmp eax, 0x100
jg 0x5bd2ca
push dword [ebx]
call fcn.00568c70
add esp, 4
test eax, eax
jne 0x5bd2ca
mov edi, dword [ebx]
jmp 0x5bd2fb
push edi
call fcn.005a1270
mov edi, eax
add esp, 4
test edi, edi
je 0x5bd8ba
mov eax, dword [esp + 0x48]
push dword [esp + 0x5c]
push dword [eax + 8]
push dword [ebx]
push edi
call fcn.005c3800
add esp, 0x10
test eax, eax
je 0x5bd903
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
push edi
mov dword [ecx + eax*4], edi
call fcn.005683e0
shl eax, 2
add esp, 4
test eax, eax
jle 0x5bd37d
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
push dword [esi + ebp]
call fcn.0053a4a0
mov ecx, ebx
test ecx, ecx
jns 0x5bd339
add ecx, 3
sar ecx, 2
mov ecx, dword [eax + ecx*4]
mov eax, ecx
shr eax, 8
mov byte [edi + ebx], al
mov eax, ecx
mov byte [edi + ebx - 1], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [edi + ebx + 1], al
mov byte [edi + ebx + 2], cl
add ebx, 4
push dword [esi + ebp]
call fcn.005683e0
shl eax, 2
add esp, 8
cmp ebx, eax
jl 0x5bd328
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x10]
cmp ebx, 0x21
jge 0x5bd39e
mov edi, dword [esp + 0x20]
mov ecx, 0x21
sub ecx, ebx
add edi, ebx
add edi, dword [esp + 0x18]
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 + 0x40]
add edi, dword [esp + 0x24]
push 8
mov eax, dword [edi]
push dword [eax + 8]
push esi
call fcn.005b3ac0
add esp, 0xc
test eax, eax
je 0x5bd89c
mov eax, dword [edi]
push 8
push dword [eax + 0xc]
lea eax, [esi + 0x20]
push eax
call fcn.005b3ac0
add esp, 0xc
test eax, eax
je 0x5bd89c
mov eax, dword [edi]
push 8
push dword [eax + 0x10]
lea eax, [esi + 0x40]
push eax
call fcn.005b3ac0
add esp, 0xc
test eax, eax
je 0x5bd89c
push 1
push esi
push ebp
call fcn.00446080
lea edi, [esi + 0x60]
push esi
push edi
call fcn.00446560
push 2
push edi
push ebp
call fcn.00446080
push esi
lea ebp, [esi + 0xc0]
push edi
push ebp
call fcn.00446760
mov ebx, dword [esp + 0x3c]
push 3
push ebp
push ebx
call fcn.00446080
push edi
push edi
call fcn.00446560
add esp, 0x40
push 4
push edi
push ebx
call fcn.00446080
push ebp
push ebp
call fcn.00446560
push 6
push ebp
push ebx
call fcn.00446080
push esi
lea ebx, [esi + 0x120]
push edi
push ebx
call fcn.00446760
push 5
push ebx
push dword [esp + 0x44]
call fcn.00446080
push esi
lea edi, [esi + 0x180]
push ebp
push edi
call fcn.00446760
add esp, 0x44
push 7
push edi
push dword [esp + 0x18]
call fcn.00446080
lea eax, [esi + 0x60]
push eax
push eax
call fcn.00446560
push 8
lea eax, [esi + 0x60]
push eax
push dword [esp + 0x2c]
call fcn.00446080
push ebp
push ebp
call fcn.00446560
push 0xc
push ebp
push dword [esp + 0x40]
call fcn.00446080
push ebx
push ebx
call fcn.00446560
push 0xa
push ebx
push dword [esp + 0x54]
call fcn.00446080
add esp, 0x48
push edi
push edi
call fcn.00446560
push 0xe
push edi
push dword [esp + 0x20]
call fcn.00446080
push esi
push ebp
push ebp
call fcn.00446760
push 0xd
push ebp
push dword [esp + 0x38]
call fcn.00446080
push esi
push ebx
push ebx
call fcn.00446760
push 0xb
push ebx
mov ebx, dword [esp + 0x50]
push ebx
call fcn.00446080
add esp, 0x44
push esi
push edi
push edi
call fcn.00446760
push 0xf
push edi
push ebx
call fcn.00446080
push esi
lea ebx, [esi + 0x60]
push ebx
push ebp
call fcn.00446760
push 9
push ebp
mov ebp, dword [esp + 0x3c]
push ebp
call fcn.00446080
push ebx
push ebx
call fcn.00446560
push 0x10
push ebx
push ebp
call fcn.00446080
mov eax, dword [esp + 0x6c]
add ebp, 0x600
mov ebx, dword [esp + 0x68]
inc eax
add dword [esp + 0x64], 0x21
add ebx, 4
mov edi, dword [esp + 0x9c]
add esp, 0x44
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
cmp eax, edi
jb 0x5bd2a3
mov ebx, dword [esp + 0x18]
movzx ecx, byte [ebx + 0x1f]
mov ebp, 0xff
shr ecx, 6
mov eax, ecx
mov dword [esp + 0x20], ebp
shr eax, 1
and ecx, 1
add eax, ecx
push eax
push dword [esp + 0x20]
push esi
call fcn.004460d0
movups xmm0, xmmword [esi]
mov ebx, dword [esp + 0x58]
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 0x5bd739
lea edx, [ebp - 1]
mov ebp, eax
mov ecx, edx
shl ebp, 5
and ecx, 7
shr edx, 3
mov dword [esp + 0x40], ecx
add ebp, eax
imul ecx, eax, 0x600
mov dword [esp + 0x3c], edx
add ecx, dword [esp + 0x1c]
sub edi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x18]
lea eax, [edx + ebp]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x40]
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, 0x3f
and edx, 0x3f
mov edi, edx
sub ecx, edx
shr edi, 5
dec edi
not edi
mov eax, edi
and ecx, edi
not eax
and edi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edi + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x2c]
push esi
call fcn.004460d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004453a0
mov ecx, dword [esi + 0x80]
and edi, 1
neg edi
and ecx, edi
mov edx, edi
not edx
mov eax, edx
and eax, dword [esi + 0x20]
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, dword [esi + 0x28]
mov eax, dword [esi + 0x88]
and ecx, edx
and eax, edi
xor ecx, eax
mov eax, edi
mov dword [esi + 0x28], ecx
mov ecx, edx
and ecx, dword [esi + 0x2c]
and eax, dword [esi + 0x8c]
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, dword [esi + 0x94]
mov eax, dword [esi + 0x34]
and ecx, edi
and eax, edx
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
and edi, dword [esi + 0x9c]
and edx, dword [esi + 0x3c]
push esi
xor edi, edx
push ebx
push ebx
mov dword [esi + 0x3c], edi
call fcn.00446760
add dword [esp + 0x48], 0x600
lea ebp, [ebp + 0x21]
mov edx, dword [esp + 0x5c]
add esp, 0x20
sub dword [esp + 0x24], 1
jne 0x5bd612
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
push ebx
sub ebp, 5
push ebx
mov dword [esp + 0x28], ebp
call fcn.00446560
push ebx
push ebx
call fcn.00446560
push ebx
push ebx
call fcn.00446560
push ebx
push ebx
call fcn.00446560
push ebx
push ebx
call fcn.00446560
add esp, 0x28
cmp ebp, 5
jae 0x5bd5d1
test edi, edi
je 0x5bd892
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x28], eax
movzx edx, byte [eax]
mov ecx, 0x3f
and edx, 0x1f
add edx, edx
mov edi, edx
sub ecx, edx
shr edi, 5
dec edi
not edi
mov eax, edi
and ecx, edi
not eax
and edi, 1
and eax, edx
or ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
add eax, ecx
lea edi, [edi + eax*2]
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x20]
push esi
call fcn.004460d0
lea eax, [esi + 0x20]
push eax
lea eax, [esi + 0x80]
push eax
call fcn.004453a0
mov ecx, dword [esi + 0x80]
and edi, 1
neg edi
and ecx, edi
mov edx, edi
not edx
mov eax, edx
and eax, dword [esi + 0x20]
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, edi
and ecx, dword [esi + 0x8c]
mov eax, dword [esi + 0x2c]
and eax, edx
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 eax, edi
mov dword [esi + 0x34], ecx
mov ecx, edx
and ecx, dword [esi + 0x38]
and eax, dword [esi + 0x98]
xor ecx, eax
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x3c]
and ecx, edi
and eax, edx
push esi
xor ecx, eax
push ebx
push ebx
mov dword [esi + 0x3c], ecx
call fcn.00446760
mov eax, dword [esp + 0x48]
add esp, 0x20
add dword [esp + 0x1c], 0x600
add eax, 0x21
mov dword [esp + 0x28], eax
sub ebp, 1
jne 0x5bd783
mov dword [esp + 0x30], 1
jmp 0x5bd8ba
push 0x28f
push str.cryptoececp_nistz256.c
push 0x92
push 0xf2
push 0x10
call fcn.0056b200
add esp, 0x14
mov esi, dword [esp + 0x14]
push 0x2f1
push str.cryptoececp_nistz256.c
push esi
call fcn.005621c0
push 0x2f2
push str.cryptoececp_nistz256.c
push dword [esp + 0x2c]
call fcn.005621c0
push 0x2f3
push str.cryptoececp_nistz256.c
push dword [esp + 0x4c]
call fcn.005621c0
mov eax, dword [esp + 0x54]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x272
push str.cryptoececp_nistz256.c
push 3
jmp 0x5bd8ab
mov esi, ebp
jmp 0x5bd917
mov esi, eax
push 0x261
push str.cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call fcn.0056b200
add esp, 0x14
jmp 0x5bd8be