Function at 0x4732e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x1c]
movaps xmmword [esp + 0x20], xmm0
test esi, esi
cmove esi, ecx
mov ecx, dword [ecx + 4]
cmp eax, 0xffffffff
mov edx, ecx
je 0x473336
cmp eax, 0xfffffffe
jne 0x47331b
mov edx, 0xfffffffe
jmp 0x473336
cmp eax, 0xfffffffd
mov edx, eax
jg 0x473336
push 0x1ff
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x47361b
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 4]
mov ebx, dword [ecx + 4]
nop dword [eax + eax]
test ebx, ebx
jle 0x473361
mov edx, dword [ecx]
mov edx, dword [edx + ebx*4 - 4]
dec ebx
test edx, edx
je 0x473350
jmp 0x47336f
test ebx, ebx
je 0x4735ec
mov edx, dword [ecx]
mov edx, dword [edx + ebx*4 - 4]
xor ebx, ebx
test edx, edx
mov esi, edx
setne bl
shr esi, 0x10
mov eax, esi
xor esi, edx
neg eax
sar eax, 0x1f
and esi, eax
and eax, 0x10
xor esi, edx
or eax, ebx
mov edx, esi
shr edx, 8
mov ebx, edx
xor edx, esi
neg ebx
sar ebx, 0x1f
and edx, ebx
and ebx, 8
xor edx, esi
or ebx, eax
mov eax, edx
shr eax, 4
mov esi, eax
xor eax, edx
neg esi
sar esi, 0x1f
and eax, esi
and esi, 4
xor eax, edx
or esi, ebx
mov ebx, eax
shr ebx, 2
mov edx, ebx
xor ebx, eax
neg edx
sar edx, 0x1f
and ebx, edx
and edx, 2
xor ebx, eax
or edx, esi
shr ebx, 1
neg ebx
shr ebx, 0x1f
add ebx, edx
mov eax, dword [edi]
dec ebx
and ebx, 7
mov edx, dword [eax + 0x14]
test edx, edx
je 0x4733ed
push edi
call edx
jmp 0x4733f3
push ecx
call sym.adb.exe_BN_num_bytes
add esp, 4
mov edi, dword [ebp + 0x18]
mov edx, 0xff
mov ecx, ebx
shl edx, cl
movzx esi, byte [edi]
test edx, esi
je 0x47341a
push 0x206
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x7a
jmp 0x47361b
xor edx, edx
test ebx, ebx
lea ecx, [edi + 1]
mov esi, eax
mov dword [esp + 0x44], eax
cmovne ecx, edi
sete dl
mov edi, ecx
mov ecx, dword [esp + 0x18]
sub esi, edx
lea eax, [ecx + 2]
cmp esi, eax
mov eax, dword [esp + 0x48]
jl 0x4735f3
lea eax, [ecx + eax + 2]
cmp esi, eax
jl 0x4735f3
cmp byte [edi + esi - 1], 0xbc
jne 0x473601
sub esi, ecx
mov dword [esp + 0x3c], edx
lea eax, [esi - 1]
mov dword [esp + 0x10], eax
push eax
call sym.adb.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x47360f
mov edx, dword [esp + 0x10]
lea ecx, [edi + esi - 1]
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], ecx
mov ecx, eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x48]
call fcn.00472e10
add esp, 0xc
test eax, eax
je 0x473676
mov eax, dword [esp + 0x10]
neg dword [esp + 0x3c]
mov dword [esp + 0x14], edi
test eax, eax
jle 0x473570
xor eax, eax
cmp dword [esp + 0x10], 0x20
mov dword [esp + 0x1c], 0
jb 0x47353f
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [edx + ecx]
cmp dword [esp + 0xc], ecx
jae 0x4734f6
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], 0
lea ecx, [ecx + edx]
cmp dword [esp + 0x14], ecx
jb 0x47353f
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
xor edx, edx
and ecx, 0xffffffe0
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
movups xmm2, xmmword [edi + edx]
movups xmm3, xmmword [edi + edx + 0x10]
movups xmm0, xmmword [ecx + edx]
movups xmm1, xmmword [ecx + edx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [edi + edx], xmm2
movups xmmword [edi + edx + 0x10], xmm3
add edx, 0x20
cmp dword [esp + 0x1c], edx
jne 0x473507
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x10], ecx
je 0x473570
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
lea edx, [edx + edi - 1]
mov edi, dword [esp + 0xc]
add dword [esp + 0x14], ecx
sub edx, ecx
sub edx, dword [esp + 0x18]
lea edi, [edi + ecx]
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
xor byte [edi + eax], cl
inc eax
cmp edx, eax
jne 0x473560
test ebx, ebx
je 0x473588
mov ecx, 8
mov eax, 0xff
sub ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0xc]
and byte [ecx], al
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
add esi, 0xfffffffe
xor ebx, ebx
nop word cs:[eax + eax]
nop
movzx eax, byte [ecx + ebx]
cmp ebx, esi
lea ebx, [ebx + 1]
jge 0x4735af
test al, al
je 0x4735a0
mov ecx, dword [esp + 0x18]
cmp al, 1
jne 0x47365b
test edx, edx
js 0x47367e
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
lea eax, [eax + esi - 1]
sub eax, edx
sub eax, ecx
cmp eax, ebx
je 0x47367e
push 0x22e
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x47366a
xor ebx, ebx
jmp 0x4733db
push 0x20f
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x71
jmp 0x47361b
push 0x213
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x7f
jmp 0x47361b
push 0x21a
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 edi, edi
xor eax, eax
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
push dword [esp + 0x24]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x473651
push dword [esp + 0x28]
call dword [eax]
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x22a
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8b
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor edi, edi
mov eax, dword [esp + 0xc]
jmp 0x47362b
mov esi, dword [ebp + 0x10]
cmp dword [esp + 0x20], esi
je 0x4736b0
push dword [esi + 0x1c]
call sym.adb.exe_OPENSSL_malloc
add esp, 4
mov edi, eax
test eax, eax
je 0x473757
push dword [esp + 0x24]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x20]
sub edi, ebx
push eax
call dword [esi + 0xc]
add esp, 4
mov eax, dword [esp + 0x20]
push 8
push 0x57c136
lea esi, [esp + 0x28]
push esi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 0x18]
push dword [ebp + 0xc]
push esi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add eax, ebx
push edi
push eax
push esi
call dword [ecx + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
lea ebx, [esp + 0x4c]
push ebx
push esi
call dword [eax + 0x14]
add esp, 8
mov eax, dword [esp + 0x20]
push dword [eax + 0x1c]
push dword [esp + 0x28]
call sym.adb.exe_OPENSSL_cleanse
mov eax, dword [esp + 0x20]
add esp, 8
mov edi, 1
test eax, eax
je 0x473678
push eax
push dword [esp + 0x44]
push ebx
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x473678
push 0x239
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x69
jmp 0x47366a
push 0xb4
push str.external_boringssl_src_crypto_fipsmodule_digest_digest.c
push 0x41
push 0
push 0x1d
jmp 0x47366e