Function at 0x6b4506d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf0]
mov esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0xcc], esi
xor esi, esi
mov edi, dword [esp + 0xf4]
mov esi, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xf8]
mov dword [esp + 4], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], esi
call sym._bn_wexpand
test eax, eax
je 0x6b4508bb
lea eax, [esp + 0x4c]
cmp dword [esp + 0x24], 0x20
mov dword [esp + 0x28], eax
ja 0x6b450890
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov eax, dword [eax]
test eax, eax
cmove eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
test eax, eax
cmove eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6b4508c0
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor ecx, ecx
lea esi, [esi]
mov edx, dword [esp + 0x1c]
mov eax, ecx
sub eax, dword [edx + 4]
mov edx, dword [esp + 0x2c]
sar eax, 0x1f
and eax, dword [edx + esi*4]
mov edx, ecx
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
setb bl
sub edx, dword [edi + 4]
movzx ebx, bl
sar edx, 0x1f
and edx, dword [eax + ebp*4]
mov eax, dword [esp + 0x20]
add eax, edx
mov edx, dword [esp + 0x28]
adc ebx, 0
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x1c]
add ecx, 1
mov eax, ecx
sub eax, dword [edx + 8]
shr eax, 0x1f
add esi, eax
mov eax, ecx
sub eax, dword [edi + 8]
shr eax, 0x1f
add ebp, eax
cmp dword [esp + 0x24], ecx
jne 0x6b450780
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
lea ebp, [edi + ebp*4]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._bn_sub_words
mov ecx, edi
sub ebx, eax
lea esi, [esi]
mov edx, dword [esi]
mov eax, dword [ecx]
add ecx, 4
add esi, 4
xor eax, edx
and eax, ebx
xor eax, edx
mov dword [esi - 4], eax
mov dword [ecx - 4], 0
cmp ebp, ecx
jne 0x6b450810
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
lea ebx, [esp + 0x4c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 0xc], 0
mov eax, 1
cmp edi, ebx
je 0x6b450871
mov dword [esp + 8], 0x5a
mov dword [esp + 4], str.crypto_bn_bn_mod.c
mov dword [esp], edi
mov dword [esp + 0x1c], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xcc]
xor edi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b4508e9
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 8], 0x3c
mov dword [esp + 4], str.crypto_bn_bn_mod.c
shl eax, 2
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov dword [esp + 0x28], eax
test eax, eax
jne 0x6b45073b
xor eax, eax
jmp 0x6b450871
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._bn_sub_words
jmp 0x6b45082e
call sym.___stack_chk_fail
nop