Function at 0x101809b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.10228380
mov eax, dword [0x1033b254]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x94]
push ebx
mov dword [esp + 8], eax
xor ebx, ebx
mov eax, dword [esp + 0x80]
push ebp
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x18], eax
dec ebp
mov eax, dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], ebp
test ecx, ecx
jne 0x10180a36
call sym.libcrypto_3.dll_EVP_sha1
mov ecx, eax
mov dword [esp + 0x1c], eax
test esi, esi
push ecx
cmove esi, ecx
mov dword [esp + 0x38], esi
call sym.libcrypto_3.dll_EVP_MD_get_size
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
test esi, esi
jg 0x10180a8e
call sym.libcrypto_3.dll_ERR_new
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x51
push str.crypto_rsa_rsa_oaep.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0xb5
push 4
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
lea ecx, [esi + esi]
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x28], eax
dec eax
cmp dword [esp + 0x10], eax
jle 0x10180ad9
call sym.libcrypto_3.dll_ERR_new
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x57
push str.crypto_rsa_rsa_oaep.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x6e
push 4
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
lea eax, [ecx + 1]
cmp ebp, eax
jge 0x10180b19
call sym.libcrypto_3.dll_ERR_new
push str.ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex
push 0x5c
push str.crypto_rsa_rsa_oaep.c
call sym.libcrypto_3.dll_ERR_set_debug
push 0
push 0x78
push 4
call sym.libcrypto_3.dll_ERR_set_error
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret
mov eax, dword [esp + 0x20]
push 0
push dword [esp + 0x20]
lea ebp, [eax + 1]
mov byte [eax], bl
add eax, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
inc eax
push 0
push eax
push dword [esp + 0xb0]
push dword [esp + 0x38]
call sym.libcrypto_3.dll_EVP_Digest
add esp, 0x18
test eax, eax
je 0x10180dda
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
dec eax
push eax
mov eax, dword [esp + 0x1c]
inc eax
add eax, esi
push 0
push eax
call fcn.1022a0e0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc eax
sub eax, edx
sub eax, esi
add eax, dword [esp + 0x3c]
push edx
push dword [esp + 0x3c]
push eax
mov byte [eax - 1], 1
call fcn.10229b60
push 0
push esi
push ebp
push dword [esp + 0x38]
call sym.libcrypto_3.dll_RAND_bytes_ex
add esp, 0x28
test eax, eax
jle 0x10180dda
mov edi, dword [esp + 0x30]
push 0x72
sub edi, esi
push str.crypto_rsa_rsa_oaep.c
push edi
mov dword [esp + 0x30], edi
call sym.libcrypto_3.dll_CRYPTO_malloc
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x10180dd6
push dword [esp + 0x34]
push esi
push ebp
push edi
push eax
call sym.libcrypto_3.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x10180dd6
xor ebx, ebx
test edi, edi
jle 0x10180cc2
mov edx, dword [esp + 0x10]
cmp edi, 0x40
jb 0x10180c95
mov ecx, dword [esp + 0x18]
inc ecx
lea eax, [ecx - 1]
add eax, edi
mov dword [esp + 0x14], eax
lea eax, [edx - 1]
add eax, edi
cmp ecx, eax
ja 0x10180c18
cmp dword [esp + 0x14], edx
jae 0x10180c95
mov eax, edi
and eax, 0x8000003f
jns 0x10180c26
dec eax
or eax, 0xffffffc0
inc eax
mov dword [esp + 0x1c], edi
mov esi, edx
sub dword [esp + 0x1c], eax
sub esi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ebx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ebx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ebx + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jl 0x10180c44
mov ebp, dword [esp + 0x20]
cmp ebx, edi
jge 0x10180cc2
mov ecx, dword [esp + 0x18]
mov ebp, edx
mov eax, dword [esp + 0x18]
inc ecx
inc eax
mov edx, edi
add ecx, ebx
sub ebp, eax
sub edx, ebx
nop dword [eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x10180cb0
mov ebp, dword [esp + 0x20]
push dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push edi
inc eax
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call sym.libcrypto_3.dll_PKCS1_MGF1
add esp, 0x14
test eax, eax
js 0x10180dd6
xor edx, edx
test esi, esi
jle 0x10180dce
cmp esi, 0x40
jb 0x10180dad
lea ecx, [ebp - 1]
lea eax, [esp + esi + 0x3f]
add ecx, esi
cmp ebp, eax
ja 0x10180d0f
lea eax, [esp + 0x40]
cmp ecx, eax
jae 0x10180dad
mov eax, esi
and eax, 0x8000003f
jns 0x10180d1d
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea ebx, [esp + 0x40]
lea esi, [esp + 0x50]
sub ecx, eax
sub esi, ebp
sub ebx, ebp
mov dword [esp + 0x14], esi
mov eax, ebp
lea esi, [esp + 0x60]
sub esi, ebp
mov dword [esp + 0x2c], esi
lea esi, [esp + 0x70]
mov edi, dword [esp + 0x2c]
sub esi, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x28], esi
nop
movups xmm0, xmmword [eax]
mov esi, dword [esp + 0x28]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [esp + 0x38]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x10180d50
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
cmp edx, esi
jge 0x10180dce
lea ebx, [esp + 0x40]
sub ebx, ebp
lea ecx, [edx + ebp]
sub esi, edx
nop dword [eax]
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x10180dc0
mov dword [esp + 0x3c], 1
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push 0x40
push eax
call sym.libcrypto_3.dll_OPENSSL_cleanse
push 0x87
push str.crypto_rsa_rsa_oaep.c
push edi
push ebx
call sym.libcrypto_3.dll_CRYPTO_clear_free
mov ecx, dword [esp + 0x98]
add esp, 0x18
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022836f
add esp, 0x74
ret