Function at 0x6b55beb0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [esp + 0x110]
mov esi, dword [esp + 0x118]
mov ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0xec], ecx
xor ecx, ecx
mov ebx, dword [esp + 0x11c]
mov ebp, dword [esp + 0x130]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x44], eax
test eax, eax
je 0x6b55c6f8
mov eax, dword [esp + 0x44]
test ebp, ebp
mov dword [esp], eax
cmove ebp, eax
call sym.libcrypto_1_1.dll_EVP_MD_size
mov edx, dword [esp + 0x114]
mov dword [esp + 0x2c], eax
test edx, edx
jle 0x6b55c7bf
test ebx, ebx
jle 0x6b55c7bf
cmp ebx, dword [esp + 0x120]
jg 0x6b55c764
add eax, 1
mov dword [esp + 0x3c], eax
add eax, eax
cmp eax, dword [esp + 0x120]
jg 0x6b55c764
mov eax, dword [esp + 0x120]
mov dword [esp + 8], 0x9d
mov dword [esp + 4], str.crypto_rsa_rsa_oaep.c
sub eax, 1
sub eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov dword [esp + 0x30], eax
test eax, eax
je 0x6b55c698
mov eax, dword [esp + 0x120]
mov dword [esp + 8], 0xa3
mov dword [esp + 4], str.crypto_rsa_rsa_oaep.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_malloc
lea ecx, [esi + ebx]
mov esi, dword [esp + 0x120]
mov dword [esp + 0x4c], eax
add esi, eax
mov edx, esi
test eax, eax
je 0x6b55c72f
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x120]
mov eax, ebx
lea edi, [ebx - 1]
sub edx, 1
not eax
and edi, eax
sar edi, 0x1f
mov eax, edi
add edi, 1
sub ecx, edi
sub ebx, edi
mov edi, esi
not eax
sub edi, edx
and al, byte [ecx]
mov byte [edx], al
cmp ebp, edi
jg 0x6b55bfd0
mov ebx, dword [esp + 0x120]
mov ecx, 0xffffffff
movzx eax, al
mov edx, dword [esp + 0x120]
mov edi, dword [esp + 0x120]
mov ebp, dword [esp + 0x34]
neg edx
test ebx, ebx
cmovle edx, ecx
mov ecx, 0
mov dword [esp + 0x10], ebp
lea ebx, [esi + edx]
mov edx, 1
sub edx, dword [esp + 0x120]
test edi, edi
mov dword [esp + 0x48], ebx
lea edi, [eax - 1]
mov ebx, ecx
not eax
cmovg ebx, edx
and eax, edi
mov ecx, dword [esp + 0x28]
cdq
mov eax, dword [esp + 0x2c]
add esi, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
lea edi, [esi + eax]
lea eax, [esp + 0x6c]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
call sym.libcrypto_1_1.dll_PKCS1_MGF1
mov dword [esp + 0x54], eax
test eax, eax
jne 0x6b55c3bd
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x6b55c288
mov edx, dword [esp + 0x120]
mov ecx, dword [esp + 0x120]
mov eax, dword [esp + 0x4c]
add edx, ebx
lea ecx, [ebx + ecx + 4]
add edx, eax
add ecx, eax
cmp dword [esp + 0x40], ecx
lea ecx, [esp + 0x70]
setae byte [esp + 0x38]
movzx eax, byte [esp + 0x38]
cmp edx, ecx
setae cl
or ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, 1
cmp eax, 2
seta byte [esp + 0x38]
movzx eax, byte [esp + 0x38]
test al, cl
mov ecx, dword [esp + 0x2c]
je 0x6b55c706
test dl, 3
jne 0x6b55c706
shr ecx, 2
mov eax, dword [edx]
xor dword [esp + 0x6c], eax
cmp ecx, 1
je 0x6b55c250
mov eax, dword [esp + 0x70]
xor eax, dword [edx + 4]
mov dword [esp + 0x70], eax
cmp ecx, 2
je 0x6b55c250
mov eax, dword [esp + 0x74]
xor eax, dword [edx + 8]
mov dword [esp + 0x74], eax
cmp ecx, 3
je 0x6b55c250
mov eax, dword [esp + 0x78]
xor eax, dword [edx + 0xc]
mov dword [esp + 0x78], eax
cmp ecx, 4
je 0x6b55c250
mov eax, dword [esp + 0x7c]
xor eax, dword [edx + 0x10]
mov dword [esp + 0x7c], eax
cmp ecx, 5
je 0x6b55c250
mov eax, dword [esp + 0x80]
xor eax, dword [edx + 0x14]
mov dword [esp + 0x80], eax
cmp ecx, 6
je 0x6b55c250
mov eax, dword [esp + 0x84]
xor eax, dword [edx + 0x18]
mov dword [esp + 0x84], eax
cmp ecx, 7
je 0x6b55c250
mov eax, dword [esp + 0x88]
xor eax, dword [edx + 0x1c]
mov dword [esp + 0x88], eax
cmp ecx, 8
je 0x6b55c250
mov eax, dword [esp + 0x8c]
xor eax, dword [edx + 0x20]
mov dword [esp + 0x8c], eax
cmp ecx, 9
je 0x6b55c250
mov eax, dword [esp + 0x90]
xor eax, dword [edx + 0x24]
mov dword [esp + 0x90], eax
cmp ecx, 0xa
je 0x6b55c250
mov eax, dword [esp + 0x94]
xor eax, dword [edx + 0x28]
mov dword [esp + 0x94], eax
cmp ecx, 0xb
je 0x6b55c250
mov eax, dword [esp + 0x98]
xor eax, dword [edx + 0x2c]
mov dword [esp + 0x98], eax
cmp ecx, 0xc
je 0x6b55c250
mov eax, dword [esp + 0x9c]
xor eax, dword [edx + 0x30]
mov dword [esp + 0x9c], eax
cmp ecx, 0xd
je 0x6b55c250
mov eax, dword [esp + 0xa0]
xor eax, dword [edx + 0x34]
mov dword [esp + 0xa0], eax
cmp ecx, 0xe
je 0x6b55c250
mov eax, dword [esp + 0xa4]
xor eax, dword [edx + 0x38]
mov dword [esp + 0xa4], eax
cmp ecx, 0xf
je 0x6b55c250
mov eax, dword [esp + 0xa8]
xor eax, dword [edx + 0x3c]
mov dword [esp + 0xa8], eax
nop
mov ecx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0xfffffffc
test cl, 3
je 0x6b55c288
movzx edx, byte [esi + eax]
xor byte [esp + eax + 0x6c], dl
lea edx, [eax + 1]
cmp edx, ecx
jge 0x6b55c288
movzx ecx, byte [esi + eax + 1]
xor byte [esp + edx + 0x6c], cl
lea edx, [eax + 2]
cmp dword [esp + 0x2c], edx
jle 0x6b55c288
movzx eax, byte [esi + eax + 2]
xor byte [esp + edx + 0x6c], al
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_PKCS1_MGF1
mov dword [esp + 0x38], eax
test eax, eax
jne 0x6b55c3bd
mov edx, dword [esp + 0x28]
test edx, edx
jle 0x6b55c37b
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
add edx, ebx
lea eax, [ebx + eax + 4]
mov ebx, dword [esp + 0x28]
add edx, esi
add eax, esi
mov esi, dword [esp + 0x30]
add eax, ecx
add edx, ecx
cmp esi, eax
lea eax, [esi + 4]
setae cl
cmp edx, eax
setae al
or eax, ecx
lea ecx, [ebx - 1]
cmp ecx, 2
seta cl
test al, cl
je 0x6b55c73c
mov eax, esi
or eax, edx
test al, 3
jne 0x6b55c73c
and ebx, 0xfffffffc
mov eax, esi
add ebx, esi
lea esi, [esi]
nop
mov ecx, dword [eax]
xor ecx, dword [edx]
add eax, 4
add edx, 4
mov dword [eax - 4], ecx
cmp eax, ebx
jne 0x6b55c330
mov esi, dword [esp + 0x28]
mov eax, esi
and eax, 0xfffffffc
test esi, 3
je 0x6b55c37b
mov ebx, dword [esp + 0x30]
movzx edx, byte [edi + eax]
xor byte [ebx + eax], dl
lea edx, [eax + 1]
cmp edx, esi
jge 0x6b55c37b
movzx ecx, byte [edi + eax + 1]
xor byte [ebx + edx], cl
lea edx, [eax + 2]
cmp esi, edx
jle 0x6b55c37b
movzx eax, byte [edi + eax + 2]
xor byte [ebx + edx], al
mov eax, dword [esp + 0x44]
lea ebx, [esp + 0xac]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_Digest
test eax, eax
jne 0x6b55c460
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0xffffffff
not eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], 0x40
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], 0x10b
mov dword [esp + 8], str.crypto_rsa_rsa_oaep.c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
mov eax, dword [esp + 0x120]
mov dword [esp + 0xc], 0x10c
mov dword [esp + 8], str.crypto_rsa_rsa_oaep.c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_clear_free
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
and edi, dword [esp + 0x44]
or eax, edi
mov esi, dword [esp + 0xec]
xor esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b55c7c9
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_memcmp
mov edi, eax
sub eax, 1
not edi
and edi, eax
sar edi, 0x1f
and edi, dword [esp + 0x34]
cmp esi, dword [esp + 0x28]
jge 0x6b55c79a
mov ebx, esi
xor esi, esi
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x30]
movzx ebp, byte [eax + ebx]
mov eax, ebp
xor eax, 1
movzx eax, al
mov edx, eax
sub eax, 1
not edx
and edx, eax
mov eax, esi
sar edx, 0x1f
not eax
and eax, edx
or esi, edx
mov ecx, eax
not eax
and ecx, ebx
and eax, dword [esp + 0x38]
add ebx, 1
or ecx, eax
mov eax, ebp
sub ebp, 1
not eax
mov dword [esp + 0x38], ecx
and eax, ebp
sar eax, 0x1f
or eax, esi
and edi, eax
cmp dword [esp + 0x28], ebx
jne 0x6b55c4a0
mov ebx, ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x114]
and esi, edi
add ebx, 1
sub ecx, ebx
sub eax, ecx
mov dword [esp + 0x44], ecx
xor eax, ecx
xor ecx, dword [esp + 0x114]
or eax, ecx
xor eax, dword [esp + 0x114]
sar eax, 0x1f
not eax
and eax, esi
mov esi, eax
mov dword [esp + 0x34], eax
not eax
and esi, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edi, 1
mov edx, dword [esp + 0x114]
not ecx
lea esi, [eax + ecx]
xor edx, esi
mov eax, esi
sub eax, dword [esp + 0x114]
mov dword [esp + 0x50], esi
xor eax, dword [esp + 0x114]
or eax, edx
xor eax, esi
sar eax, 0x1f
mov edx, eax
not eax
and edx, esi
and eax, dword [esp + 0x114]
or edx, eax
lea eax, [ecx + ebx]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
cmp esi, 1
jle 0x6b55c5ef
lea esi, [esi]
nop
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x28]
and eax, edi
sub ebp, edi
mov ebx, eax
sub eax, 1
not ebx
and ebx, eax
sar ebx, 0x1f
mov eax, ebx
not eax
cmp dword [esp + 0x3c], ebp
jge 0x6b55c5e7
mov ecx, dword [esp + 0x30]
movzx esi, al
mov eax, dword [esp + 0x3c]
or ebx, 0xffffff00
add eax, ecx
add ebp, ecx
lea esi, [esi]
nop
movzx edx, byte [eax + edi]
movzx ecx, byte [eax]
add eax, 1
and edx, esi
and ecx, ebx
or edx, ecx
mov byte [eax - 1], dl
cmp eax, ebp
jne 0x6b55c5d0
add edi, edi
cmp dword [esp + 0x50], edi
jg 0x6b55c590
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x6b55c658
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
sub ebp, edi
mov edx, edi
lea ebx, [eax + edi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], ebp
neg edx
lea esi, [eax + edi]
add esi, dword [esp + 0x30]
lea esi, [esi]
nop
lea ecx, [edx + edi]
mov ebp, edx
mov eax, ecx
xor ebp, edi
xor eax, edi
or eax, ebp
xor eax, ecx
movzx ecx, byte [esi + edx + 1]
sar eax, 0x1f
and eax, dword [esp + 0x34]
movzx eax, al
mov ebp, eax
not eax
and ecx, ebp
movzx ebp, byte [ebx + edx]
and eax, ebp
or eax, ecx
mov byte [ebx + edx], al
add edx, 1
cmp edx, dword [esp + 0x2c]
jne 0x6b55c620
mov dword [esp + 0x10], 0x106
mov dword [esp + 0xc], str.crypto_rsa_rsa_oaep.c
mov dword [esp + 8], 0x79
mov dword [esp + 4], 0x99
mov dword [esp], 4
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym._err_clear_last_constant_time
jmp 0x6b55c3cf
mov dword [esp + 0x10], 0x9f
mov dword [esp + 0xc], str.crypto_rsa_rsa_oaep.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x99
mov dword [esp], 4
call sym.libcrypto_1_1.dll_ERR_put_error
lea eax, [esp + 0x6c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], eax
jmp 0x6b55c3cf
call sym.libcrypto_1_1.dll_EVP_sha1
mov dword [esp + 0x44], eax
jmp 0x6b55bf07
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x38], ebx
lea esi, [esi]
movzx ebx, byte [esi + eax]
xor byte [edx + eax], bl
add eax, 1
cmp ecx, eax
jne 0x6b55c718
mov ebx, dword [esp + 0x38]
jmp 0x6b55c288
mov dword [esp + 0x10], 0xa5
jmp 0x6b55c6a0
mov esi, dword [esp + 0x30]
mov eax, edi
mov edx, esi
add esi, dword [esp + 0x28]
mov ecx, esi
lea esi, [esi]
movzx ebx, byte [eax]
xor byte [edx], bl
add edx, 1
add eax, 1
cmp edx, ecx
jne 0x6b55c750
jmp 0x6b55c37b
mov dword [esp + 0x10], 0x97
mov dword [esp + 0xc], str.crypto_rsa_rsa_oaep.c
mov dword [esp + 8], 0x79
mov dword [esp + 4], 0x99
mov dword [esp], 4
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, 0xffffffff
jmp 0x6b55c43c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
mov ebx, 1
mov dword [esp + 0x34], 0
sub eax, 1
mov dword [esp + 0x44], eax
jmp 0x6b55c533
mov eax, 0xffffffff
jmp 0x6b55c43c
call sym.___stack_chk_fail
nop