Function at 0x472fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0xb4]
test edx, edx
jne 0x472fda
push 0x462460
push 0x5c46d4
call sym.adb.exe_CRYPTO_once
add esp, 8
mov edx, 0x5c46d8
mov edi, dword [edx + 4]
test ebp, ebp
cmove ebp, edx
xor esi, esi
lea eax, [edi + edi + 2]
cmp eax, ebx
jbe 0x47300c
push 0x1db
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x85
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
jmp 0x47325a
sub ebx, edi
mov dword [esp + 8], edx
dec ebx
push ebx
call sym.adb.exe_OPENSSL_malloc
add esp, 4
mov esi, eax
test eax, eax
je 0x473240
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x10]
mov edx, edi
lea eax, [eax + edi + 1]
push ebp
push ebx
mov dword [esp + 8], eax
push eax
call fcn.00472e10
add esp, 0xc
test eax, eax
je 0x47325a
test edi, edi
je 0x4730bd
xor eax, eax
cmp edi, 0x1f
jbe 0x4730a1
mov eax, edi
mov edx, edi
mov edi, dword [esp + 0xb0]
xor ecx, ecx
and eax, 0xffffffe0
nop dword [eax]
movups xmm0, xmmword [edi + ecx + 1]
movups xmm2, xmmword [esp + ecx + 0x10]
movups xmm1, xmmword [edi + ecx + 0x11]
movups xmm3, xmmword [esp + ecx + 0x20]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esp + ecx + 0x10], xmm2
movups xmmword [esp + ecx + 0x20], xmm3
add ecx, 0x20
cmp eax, ecx
jne 0x473070
mov edi, edx
cmp edx, eax
je 0x4730bd
mov ecx, dword [esp + 0xb0]
inc ecx
nop dword [eax]
movzx edx, byte [ecx + eax]
xor byte [esp + eax + 0x10], dl
inc eax
cmp edi, eax
jne 0x4730b0
mov ecx, esi
mov edx, ebx
push ebp
push edi
lea eax, [esp + 0x18]
push eax
call fcn.00472e10
add esp, 0xc
test eax, eax
je 0x47325a
mov ecx, dword [esp + 0xbc]
mov ebp, dword [esp]
test ebx, ebx
je 0x47317d
xor edx, edx
cmp ebx, 0x1f
jbe 0x473170
mov eax, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
lea eax, [ebp + eax]
mov ebp, dword [esp]
cmp esi, eax
jae 0x473111
lea eax, [esi + ebx]
cmp ebp, eax
jb 0x473170
mov eax, dword [esp + 0xb0]
mov edx, ebx
mov dword [esp + 4], edi
and edx, 0xffffffe0
lea ebp, [eax + edi + 0x11]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x10]
movups xmm2, xmmword [esi + eax]
movups xmm1, xmmword [ebp + eax]
movups xmm3, xmmword [esi + eax + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [esi + eax], xmm2
movups xmmword [esi + eax + 0x10], xmm3
add eax, 0x20
cmp edx, eax
jne 0x473130
mov edi, dword [esp + 4]
mov ebp, dword [esp]
cmp ebx, edx
je 0x47317d
nop word cs:[eax + eax]
nop
movzx eax, byte [ebp + edx]
xor byte [esi + edx], al
inc edx
cmp ebx, edx
jne 0x473170
sub esp, 4
lea ebp, [esp + 0x54]
push dword [esp + 0xc]
push 0
push ebp
push ecx
push dword [esp + 0xcc]
call sym.adb.exe_EVP_Digest
add esp, 0x18
test eax, eax
je 0x47325a
push edi
push ebp
push esi
call sym.adb.exe_CRYPTO_memcmp
add esp, 0xc
mov ecx, dword [esp + 0xb0]
mov edx, eax
dec eax
not edx
movzx ecx, byte [ecx]
dec ecx
and ecx, edx
and ecx, eax
sar ecx, 0x1f
cmp edi, ebx
not ecx
jae 0x473270
mov ebp, dword [esp + 0xb4]
lea eax, [edi + edi]
mov dword [esp], ecx
mov ecx, edi
mov edx, 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp + 0xc], esi
dec ebp
sub ebp, eax
xor eax, eax
mov ebx, edx
mov dword [esp + 8], edx
mov edx, dword [esp + 0xc]
movzx esi, byte [edx + ecx]
mov edx, esi
dec esi
xor edx, 1
sar esi, 0x1f
dec edx
not esi
sar edx, 0x1f
mov edi, edx
not edx
and edx, dword [esp + 8]
and edi, ebx
mov ebx, edi
not edi
and ebx, ecx
and eax, edi
inc ecx
or eax, ebx
and esi, edx
or dword [esp], esi
mov esi, dword [esp + 0xc]
dec ebp
jne 0x4731f0
mov ebx, dword [esp + 4]
mov ecx, dword [esp]
inc eax
or ecx, edx
jne 0x472fec
jmp 0x473282
push 0x19c
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x41
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor esi, esi
push esi
call sym.adb.exe_OPENSSL_free
add esp, 4
xor eax, eax
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 1
mov edx, 0xffffffff
or ecx, edx
jne 0x472fec
sub ebx, eax
cmp ebx, dword [esp + 0xac]
jbe 0x4732a7
push 0x1cf
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x71
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
jmp 0x47325a
mov edi, dword [esp + 0xa8]
test ebx, ebx
je 0x4732c7
mov ecx, esi
add ecx, eax
push ebx
push ecx
push dword [esp + 0xac]
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [edi], ebx
push esi
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, 1
jmp 0x473265