Function at 0x6b44d420
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov ebx, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_start
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_get
mov edi, eax
test eax, eax
jne 0x6b44d45c
jmp 0x6b44d487
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BN_is_zero
test eax, eax
je 0x6b44d4a0
mov dword [esp], esi
call sym.libcrypto_1_1.dll_BN_num_bits
mov dword [esp + 0xc], 0
sub eax, 1
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.libcrypto_1_1.dll_BN_priv_rand
test eax, eax
jne 0x6b44d450
xor ebp, ebp
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_end
add esp, 0x7c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_GF2m_mod_mul
test eax, eax
je 0x6b44d487
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_start
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp], ebx
mov dword [esp + 0x24], eax
call sym.libcrypto_1_1.dll_BN_CTX_get
mov dword [esp + 0x2c], eax
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x90]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_GF2m_mod
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_is_zero
test eax, eax
je 0x6b44d54d
lea esi, [esi]
nop
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_end
jmp 0x6b44d489
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov dword [esp], ecx
call sym.libcrypto_1_1.dll_BN_copy
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_num_bits
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp], ecx
call sym.libcrypto_1_1.dll_BN_num_bits
mov ecx, dword [esi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x3c], ecx
call sym._bn_wexpand
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
cmp dword [esp + 0x3c], edx
jle 0x6b44d5d3
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp + 0x40], ecx
sub eax, edx
lea edx, [ecx + edx*4]
shl eax, 2
mov dword [esp], edx
mov dword [esp + 8], eax
call sym._memset
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._bn_wexpand
mov ecx, dword [esp + 0x40]
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
mov dword [edx], 1
cmp eax, 1
jle 0x6b44d9c0
mov dword [esp + 0x40], ecx
lea ecx, [eax - 1]
add edx, 4
lea eax, [ecx*4]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp + 0x54], ecx
call sym._memset
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._bn_wexpand
mov ecx, dword [esp + 0x40]
test eax, eax
je 0x6b44d540
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x3c]
mov edx, 4
mov dword [esp + 4], 0
lea eax, [ecx*4]
test ecx, ecx
cmovle eax, edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._memset
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], edi
mov dword [esp + 0x98], esi
mov dword [edx + 4], eax
mov edx, dword [esp + 0x2c]
shl eax, 2
mov dword [esp + 0x60], eax
sub eax, 4
mov edx, dword [edx]
mov dword [esp + 0x64], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x48]
lea esi, [esi]
nop
mov eax, dword [esp + 0x34]
mov edx, dword [ecx]
test eax, eax
je 0x6b44d820
test dl, 1
je 0x6b44d879
cmp eax, 0x20
jle 0x6b44d7a0
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x34], edx
jge 0x6b44d840
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
test edi, edi
jle 0x6b44d99e
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x3c]
xor eax, eax
mov edx, dword [ebx + eax*4]
xor dword [ecx + eax*4], edx
mov edx, dword [esi + eax*4]
xor dword [ebp + eax*4], edx
add eax, 1
cmp edi, eax
jne 0x6b44d750
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x38], edx
je 0x6b44d92a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
jmp 0x6b44d6f0
cmp edx, 1
jne 0x6b44d710
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x98]
mov dword [esp], eax
mov ebx, dword [esp + 0x9c]
call sym._bn_correct_top
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_copy
test eax, eax
je 0x6b44d540
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_end
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BN_GF2m_mod_mul
test eax, eax
setne al
movzx eax, al
mov ebp, eax
jmp 0x6b44d489
test edx, edx
jne 0x6b44d7a0
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_BN_CTX_end
jmp 0x6b44d487
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
test ebx, ebx
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
jg 0x6b44d74a
jmp 0x6b44d764
mov esi, dword [ebp]
mov eax, esi
and eax, 1
neg eax
mov ebx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
and ebx, dword [eax]
xor ebx, esi
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x54]
test ebx, ebx
jle 0x6b44d9b7
lea edi, [eax + 4]
add eax, dword [esp + 0x60]
mov dword [esp + 0x58], ebp
lea esi, [ecx + 4]
mov dword [esp + 0x4c], eax
lea ebx, [ebp + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
lea esi, [esi]
nop
mov eax, edx
mov edx, dword [esi]
add edi, 4
add esi, 4
shr eax, 1
add ebx, 4
mov ebp, edx
shl ebp, 0x1f
or eax, ebp
mov dword [esi - 8], eax
mov eax, ecx
mov ecx, dword [esp + 0x48]
and ecx, dword [edi - 4]
xor ecx, dword [ebx - 4]
shr eax, 1
mov ebp, ecx
shl ebp, 0x1f
or eax, ebp
mov dword [ebx - 8], eax
cmp dword [esp + 0x4c], edi
jne 0x6b44d8c8
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x5c]
lea ebx, [ecx + eax]
add eax, ebp
shr edx, 1
sub dword [esp + 0x34], 1
mov dword [ebx], edx
mov edx, dword [esp + 0x50]
shr edx, 1
mov dword [eax], edx
jmp 0x6b44d6f0
mov edx, dword [esp + 0x38]
lea eax, [edx + 0x1e]
sub edx, 1
cmovs edx, eax
mov edi, edx
sar edi, 5
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x6b44d952
jmp 0x6b44d999
sub edi, 1
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x6b44d999
test edi, edi
jne 0x6b44d948
mov dword [esp], eax
mov dword [esp + 0x48], ecx
call sym.libcrypto_1_1.dll_BN_num_bits_word
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
add eax, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
jmp 0x6b44d6f0
shl edi, 5
jmp 0x6b44d956
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
jmp 0x6b44d772
mov eax, ebp
mov ebx, ecx
jmp 0x6b44d914
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym._bn_wexpand
test eax, eax
je 0x6b44d540
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx]
cmp eax, 1
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x44]
je 0x6b44da06
sub eax, 1
mov dword [esp + 0x54], eax
jmp 0x6b44d6aa
mov dword [esp + 0x54], 0
jmp 0x6b44d675