Function at 0x100df940
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.101aa6d0
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov eax, ebp
shl eax, 4
xor ebx, ebx
add eax, 6
push esi
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], ebx
cmp eax, 0x1555555
ja 0x100e00d4
mov edi, ebp
imul edi, edi, 0x600
push 0x257
lea eax, [edi + 0x220]
push str...cryptoececp_nistz256.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov esi, eax
add esp, 0xc
mov dword [esp + 0x28], esi
test esi, esi
je 0x100e00d4
mov eax, ebp
push 0x259
shl eax, 5
add eax, ebp
push str...cryptoececp_nistz256.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov esi, eax
add esp, 0xc
mov dword [esp + 0x18], esi
test esi, esi
je 0x100e00d4
push 0x25a
lea eax, [ebp*4]
push str...cryptoececp_nistz256.c
push eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x100e00d2
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 0x3f
sub ecx, eax
add ecx, 0x40
mov dword [esp + 0x1c], ecx
lea ebx, [edi + ecx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100dfd2b
lea eax, [esi + 1]
mov esi, dword [esp + 0x48]
sub esi, edx
sub dword [esp + 0x4c], edx
mov ebp, edx
mov edi, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], esi
lea esp, [esp]
push dword [esi + ebp]
call sym.libcrypto_1_1.dll_BN_num_bits
add esp, 4
cmp eax, 0x100
jg 0x100dfa79
push dword [esi + ebp]
call sym.libcrypto_1_1.dll_BN_is_negative
add esp, 4
test eax, eax
jne 0x100dfa79
mov eax, dword [esi + ebp]
mov dword [ebp], eax
jmp 0x100dfab5
push dword [esp + 0x54]
call sym.libcrypto_1_1.dll_BN_CTX_get
mov esi, eax
add esp, 4
test esi, esi
je 0x100e007b
push dword [esp + 0x54]
mov eax, dword [esp + 0x44]
push dword [eax + 8]
mov eax, dword [esp + 0x50]
push dword [eax + ebp]
push esi
call sym.libcrypto_1_1.dll_BN_nnmod
add esp, 0x10
test eax, eax
je 0x100e00c4
mov dword [ebp], esi
push dword [ebp]
xor esi, esi
call fcn.100059cf
shl eax, 2
add esp, 4
test eax, eax
jle 0x100dfb24
mov ebx, dword [esp + 0x38]
add ebx, dword [esp + 0x24]
push dword [ebp]
call fcn.1000691f
mov ecx, eax
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
add esi, 4
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
mov byte [ebx + esi - 4], al
mov byte [ebx + esi - 5], cl
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebx + esi - 3], al
mov byte [ebx + esi - 2], cl
push dword [ebp]
call fcn.100059cf
shl eax, 2
add esp, 8
cmp esi, eax
jl 0x100dfad1
mov ebx, dword [esp + 0x14]
cmp esi, 0x21
jge 0x100dfb49
mov edi, dword [esp + 0x24]
add edi, esi
add edi, dword [esp + 0x18]
mov ecx, 0x21
sub ecx, esi
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 + 0x10]
mov esi, dword [esp + 0x4c]
push 8
mov eax, dword [esi + ebp]
push dword [eax + 8]
push ebx
call fcn.10001654
add esp, 0xc
test eax, eax
je 0x100e005d
mov eax, dword [esi + ebp]
push 8
push dword [eax + 0xc]
lea ecx, [ebx + 0x20]
push ecx
call fcn.10001654
add esp, 0xc
test eax, eax
je 0x100e005d
mov eax, dword [esi + ebp]
push 8
push dword [eax + 0x10]
lea eax, [ebx + 0x40]
push eax
call fcn.10001654
add esp, 0xc
test eax, eax
je 0x100e005d
push 1
push ebx
push edi
call fcn.100d3080
lea ebp, [ebx + 0x60]
push ebx
push ebp
call fcn.100d3560
push 2
push ebp
push edi
call fcn.100d3080
mov esi, dword [esp + 0x34]
push esi
add ebx, 0xc0
push ebp
push ebx
call fcn.100d3760
push 3
push ebx
push edi
call fcn.100d3080
push ebp
push ebp
call fcn.100d3560
add esp, 0x40
push 4
push ebp
push edi
call fcn.100d3080
push ebx
push ebx
call fcn.100d3560
push 6
push ebx
push edi
call fcn.100d3080
push esi
lea edi, [esi + 0x120]
push ebp
push edi
call fcn.100d3760
push 5
push edi
push dword [esp + 0x44]
call fcn.100d3080
push dword [esp + 0x4c]
add esi, 0x180
push ebx
push esi
call fcn.100d3760
add esp, 0x44
push 7
push esi
push dword [esp + 0x18]
call fcn.100d3080
push ebp
push ebp
call fcn.100d3560
push 8
push ebp
push dword [esp + 0x2c]
call fcn.100d3080
push ebx
push ebx
call fcn.100d3560
push 0xc
push ebx
push dword [esp + 0x40]
call fcn.100d3080
push edi
push edi
call fcn.100d3560
push 0xa
push edi
push dword [esp + 0x54]
call fcn.100d3080
add esp, 0x48
push esi
push esi
call fcn.100d3560
push 0xe
push esi
push dword [esp + 0x20]
call fcn.100d3080
push dword [esp + 0x28]
push ebx
push ebx
call fcn.100d3760
push 0xd
push ebx
push dword [esp + 0x38]
call fcn.100d3080
push dword [esp + 0x40]
push edi
push edi
call fcn.100d3760
push 0xb
push edi
push dword [esp + 0x50]
call fcn.100d3080
mov edi, dword [esp + 0x58]
add esp, 0x44
push edi
push esi
push esi
call fcn.100d3760
push 0xf
push esi
push dword [esp + 0x24]
call fcn.100d3080
push edi
push ebp
push ebx
call fcn.100d3760
mov edi, dword [esp + 0x34]
push 9
push ebx
push edi
call fcn.100d3080
push ebp
push ebp
call fcn.100d3560
push 0x10
push ebp
push edi
call fcn.100d3080
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
add dword [esp + 0x68], 0x21
mov ebx, dword [esp + 0x58]
inc esi
add edi, 0x600
add ebp, 4
add esp, 0x44
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], ebp
jb 0x100dfa50
mov esi, dword [esp + 0x18]
movzx edx, byte [esi + 0x1f]
shr edx, 6
and edx, 0x3f
mov eax, edx
shr eax, 5
dec eax
not eax
mov ecx, 0x3f
sub ecx, edx
and ecx, eax
not eax
and eax, edx
or ecx, eax
mov eax, ecx
and eax, 1
mov dword [esp + 0x14], 0xff
lea eax, [ecx + eax*2]
shr eax, 1
push eax
push dword [esp + 0x20]
push ebx
call fcn.100d30d0
mov ebp, dword [esp + 0x50]
mov ecx, 0x18
mov esi, ebx
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x5c]
add esp, 0xc
mov esi, 0xff
xor eax, eax
cmp esi, 0xff
sete al
cmp eax, edi
jae 0x100dff00
dec esi
mov edx, eax
imul edx, edx, 0x600
add edx, dword [esp + 0x1c]
mov ecx, esi
shr ecx, 3
mov dword [esp + 0x38], ecx
mov ecx, eax
shl ecx, 5
and esi, 7
add ecx, eax
sub edi, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], edi
lea esp, [esp]
mov eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x18]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
mov ecx, esi
shl edx, 8
or edx, eax
shr edx, cl
mov ecx, 0x3f
and edx, 0x3f
mov esi, edx
shr esi, 5
dec esi
not esi
sub ecx, edx
mov eax, esi
not eax
and eax, edx
and ecx, esi
or ecx, eax
mov eax, ecx
and eax, 1
and ecx, 0xfffffffe
and esi, 1
lea edi, [ecx + eax*2]
add edi, esi
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x28]
push ebx
call fcn.100d30d0
lea esi, [ebx + 0x20]
lea eax, [ebx + 0x80]
push esi
push eax
call fcn.100d23a0
and edi, 1
neg edi
mov edx, edi
not edx
mov ecx, edx
and ecx, dword [esi]
mov eax, edi
and eax, dword [ebx + 0x80]
xor ecx, eax
mov eax, dword [esi + 4]
mov dword [esi], ecx
and eax, edx
mov ecx, edi
and ecx, dword [ebx + 0x84]
xor ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esi + 8]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0x8c]
and ecx, edi
mov eax, edx
and eax, dword [esi + 0xc]
xor ecx, eax
mov dword [esi + 0xc], ecx
mov ecx, edx
and ecx, dword [esi + 0x10]
mov eax, edi
and eax, dword [ebx + 0x90]
xor ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], ecx
mov ecx, edi
and ecx, dword [ebx + 0x94]
and eax, edx
xor ecx, eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [ebx + 0x98]
and ecx, edx
and edx, dword [esi + 0x1c]
and eax, edi
xor ecx, eax
mov dword [esi + 0x18], ecx
mov eax, dword [ebx + 0x9c]
push ebx
and eax, edi
xor eax, edx
push ebp
push ebp
mov dword [esi + 0x1c], eax
call fcn.100d3760
mov ecx, dword [esp + 0x50]
add dword [esp + 0x44], 0x600
mov esi, dword [esp + 0x54]
add ecx, 0x21
add esp, 0x20
dec dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
jne 0x100dfdd0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x50]
push ebp
sub esi, 5
push ebp
mov dword [esp + 0x1c], esi
call fcn.100d3560
push ebp
push ebp
call fcn.100d3560
push ebp
push ebp
call fcn.100d3560
push ebp
push ebp
call fcn.100d3560
push ebp
push ebp
call fcn.100d3560
add esp, 0x28
cmp esi, 5
jae 0x100dfd84
test edi, edi
je 0x100e0053
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
movzx edx, byte [eax]
and edx, 0x1f
add edx, edx
mov esi, edx
shr esi, 5
dec esi
not esi
mov eax, esi
not eax
and eax, edx
mov ecx, 0x3f
sub ecx, edx
and ecx, esi
or ecx, eax
mov eax, ecx
and eax, 1
and ecx, 0xfffffffe
and esi, 1
lea edi, [ecx + eax*2]
add edi, esi
mov eax, edi
shr eax, 1
push eax
push dword [esp + 0x20]
push ebx
call fcn.100d30d0
lea esi, [ebx + 0x20]
lea eax, [ebx + 0x80]
push esi
push eax
call fcn.100d23a0
and edi, 1
neg edi
mov edx, edi
not edx
mov ecx, edx
and ecx, dword [esi]
mov eax, edi
and eax, dword [ebx + 0x80]
xor ecx, eax
mov eax, dword [esi + 4]
mov dword [esi], ecx
and eax, edx
mov ecx, edi
and ecx, dword [ebx + 0x84]
xor ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x88]
mov ecx, dword [esi + 8]
and ecx, edx
and eax, edi
xor ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [ebx + 0x8c]
and ecx, edi
mov eax, edx
and eax, dword [esi + 0xc]
xor ecx, eax
mov dword [esi + 0xc], ecx
mov ecx, edx
and ecx, dword [esi + 0x10]
mov eax, edi
and eax, dword [ebx + 0x90]
xor ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x10], ecx
and eax, edx
mov ecx, edi
and ecx, dword [ebx + 0x94]
xor ecx, eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x18]
mov eax, dword [ebx + 0x98]
and eax, edi
and ecx, edx
and edx, dword [esi + 0x1c]
xor ecx, eax
mov dword [esi + 0x18], ecx
mov eax, dword [ebx + 0x9c]
and eax, edi
xor eax, edx
push ebx
push ebp
push ebp
mov dword [esi + 0x1c], eax
call fcn.100d3760
mov eax, dword [esp + 0x50]
add dword [esp + 0x3c], 0x600
add eax, 0x21
add esp, 0x20
dec dword [esp + 0x50]
mov dword [esp + 0x30], eax
jne 0x100dff46
mov dword [esp + 0x34], 1
jmp 0x100e007b
push 0x289
push str...cryptoececp_nistz256.c
push 0x92
push 0xf2
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
mov ebx, dword [esp + 0x20]
push 0x2eb
push str...cryptoececp_nistz256.c
push dword [esp + 0x30]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x2ec
push str...cryptoececp_nistz256.c
push dword [esp + 0x2c]
call sym.libcrypto_1_1.dll_CRYPTO_free
push 0x2ed
push str...cryptoececp_nistz256.c
push ebx
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x58]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
push 0x26c
push str...cryptoececp_nistz256.c
push 3
jmp 0x100e006c
mov ebx, eax
push 0x25b
push str...cryptoececp_nistz256.c
push 0x41
push 0xf2
push 0x10
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
jmp 0x100e007f