Function at 0x472ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x472ae7
test byte [eax + 0x28], 1
mov edi, 1
jne 0x472ca5
mov eax, dword [ebx + 0x10]
test eax, eax
setne cl
cmp dword [ebx + 0x14], 0
setne dl
cmp cl, dl
je 0x472b0e
push 0x29d
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x86
jmp 0x472c97
cmp dword [ebx + 4], 0
je 0x472c88
cmp dword [ebx + 8], 0
je 0x472c88
cmp dword [ebx + 0xc], 0
mov edi, 1
je 0x472ca5
test eax, eax
je 0x472ca5
push 0x2c
call sym.adb.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x472caf
pxor xmm0, xmm0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x28], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xc0], 0
mov esi, eax
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov edx, dword [ebx + 0x10]
cmp dword [edx + 0xc], 0
jne 0x472c30
mov eax, dword [ebx + 0x14]
cmp dword [eax + 0xc], 0
je 0x472e61
push 0x28d
push str.external_boringssl_src_crypto_fipsmodule_bn_mul.c
push 0x6d
push 0
push 3
call sym.adb.exe_ERR_put_error
add esp, 0x14
push 0x2c4
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 3
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor edi, edi
mov eax, dword [esp + 0x30]
test al, 2
jne 0x472c7a
push dword [esp + 0x20]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x30]
test al, 1
jne 0x472cd2
mov dword [esp + 0x20], 0
jmp 0x472cdf
push 0x2a2
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x90
push 0
push 4
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor edi, edi
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x7f
push str.external_boringssl_src_crypto_fipsmodule_bn_ctx.c
push 0x41
push 0
push 3
call sym.adb.exe_ERR_put_error
add esp, 0x14
push 0x2ae
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x41
jmp 0x472c97
lea eax, [esp + 0x20]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x50]
test al, 2
jne 0x472cf7
push dword [esp + 0x40]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x50]
test al, 1
jne 0x472d05
mov dword [esp + 0x40], 0
jmp 0x472d12
lea eax, [esp + 0x40]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x80]
test al, 2
jne 0x472d30
push dword [esp + 0x70]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x80]
test al, 1
jne 0x472d3e
mov dword [esp + 0x70], 0
jmp 0x472d4b
lea eax, [esp + 0x70]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xa0]
test al, 2
jne 0x472d6c
push dword [esp + 0x90]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xa0]
test al, 1
jne 0x472d7d
mov dword [esp + 0x90], 0
jmp 0x472d8d
lea eax, [esp + 0x90]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x100]
test al, 2
jne 0x472dae
push dword [esp + 0xf0]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x100]
test al, 1
jne 0x472dbf
mov dword [esp + 0xf0], 0
jmp 0x472dcf
lea eax, [esp + 0xf0]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xe0]
test al, 2
jne 0x472df0
push dword [esp + 0xd0]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xe0]
test al, 1
jne 0x472e01
mov dword [esp + 0xd0], 0
jmp 0x472e11
lea eax, [esp + 0xd0]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xc0]
test al, 2
jne 0x472e32
push dword [esp + 0xb0]
call sym.adb.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xc0]
test al, 1
jne 0x472e43
mov dword [esp + 0xb0], 0
jmp 0x472e53
lea eax, [esp + 0xb0]
push eax
call sym.adb.exe_OPENSSL_free
add esp, 4
push esi
call sym.adb.exe_BN_CTX_free
add esp, 4
jmp 0x472ca5
lea ecx, [esp + 0x20]
push esi
push eax
call fcn.00454060
add esp, 8
test eax, eax
je 0x472c48
mov edi, dword [ebx + 0x10]
push 0x4456d0
push 0x5d9190
call sym.adb.exe_CRYPTO_once
add esp, 8
lea eax, [esp + 0x40]
push 0x5d9194
push edi
push eax
call fcn.00444f40
add esp, 0xc
test eax, eax
je 0x472c48
mov edi, dword [ebx + 0x14]
push 0x4456d0
push 0x5d9190
call sym.adb.exe_CRYPTO_once
add esp, 8
lea eax, [esp + 0x70]
push 0x5d9194
push edi
mov edi, eax
push eax
call fcn.00444f40
add esp, 0xc
test eax, eax
je 0x472c48
lea eax, [esp + 0x90]
push esi
push edi
mov edi, eax
lea eax, [esp + 0x48]
push eax
push edi
call sym.adb.exe_bn_lcm_consttime
add esp, 0x10
test eax, eax
je 0x472c48
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x6c]
push esi
push 0
push edi
push dword [ebx + 0xc]
call fcn.00473250
add esp, 0x10
test eax, eax
je 0x472c48
mov eax, dword [ebx + 4]
test eax, eax
je 0x47310f
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0xc]
jne 0x47310f
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x20]
cmp ecx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
cmovb eax, ecx
test eax, eax
je 0x472fb0
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + edi*4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + edi*4]
mov eax, edx
sub eax, ecx
xor ecx, edx
xor eax, edx
or eax, ecx
xor eax, edx
sar eax, 0x1f
mov edx, eax
not edx
and edx, 1
or edx, eax
mov eax, ecx
dec ecx
xor eax, 0x80000000
test ecx, eax
mov ecx, dword [esp + 8]
cmovns ecx, edx
inc edi
cmp edi, dword [esp + 0x5c]
mov dword [esp + 8], ecx
jb 0x472f6c
jmp 0x472fb8
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov edi, ecx
sub edi, eax
jae 0x47305d
mov edx, eax
xor eax, eax
sub edx, ecx
cmp edx, 7
jbe 0x47302d
mov eax, dword [esp + 0x10]
mov edi, edx
pxor xmm0, xmm0
pxor xmm1, xmm1
and edi, 0xfffffff8
lea eax, [eax + ecx*4 + 0x10]
add ecx, edi
mov dword [esp + 0x14], ecx
mov ecx, edi
movdqu xmm2, xmmword [eax - 0x10]
movdqu xmm3, xmmword [eax]
add eax, 0x20
add edi, 0xfffffff8
por xmm0, xmm2
por xmm1, xmm3
jne 0x472ff6
por xmm1, xmm0
cmp edx, ecx
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd eax, xmm1
je 0x473048
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub dword [esp + 0xc], ecx
lea edi, [edx + ecx*4]
mov ecx, dword [esp + 0xc]
or eax, dword [edi]
add edi, 4
dec ecx
jne 0x473040
mov ecx, eax
dec eax
not ecx
and eax, ecx
mov ecx, dword [esp + 8]
sar eax, 0x1f
not eax
jmp 0x4730fd
cmp eax, ecx
jae 0x473072
xor eax, eax
cmp edi, 7
mov dword [esp + 0x10], edi
ja 0x47307b
mov edi, dword [esp + 0x14]
jmp 0x4730d7
mov ecx, dword [esp + 8]
jmp 0x4730ff
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
pxor xmm0, xmm0
pxor xmm1, xmm1
and edi, 0xfffffff8
lea eax, [edx + ecx*4 + 0x10]
add ecx, edi
mov dword [esp + 0xc], ecx
mov ecx, edi
movdqu xmm2, xmmword [eax - 0x10]
movdqu xmm3, xmmword [eax]
add eax, 0x20
add edi, 0xfffffff8
por xmm0, xmm2
por xmm1, xmm3
jne 0x47309a
por xmm1, xmm0
cmp dword [esp + 0x10], ecx
mov edi, dword [esp + 0x14]
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd eax, xmm1
je 0x4730e8
mov ecx, dword [esp + 0xc]
sub edi, ecx
lea ecx, [edx + ecx*4]
or eax, dword [ecx]
add ecx, 4
dec edi
jne 0x4730e0
mov ecx, eax
dec eax
not ecx
and eax, ecx
sar eax, 0x1f
mov ecx, eax
and eax, dword [esp + 8]
not ecx
and ecx, 1
or ecx, eax
mov eax, ecx
neg eax
cmp dword [esp + 0x18], 0
cmove eax, ecx
test eax, eax
je 0x473123
push 0x2c9
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x84
jmp 0x472c54
cmp dword [esp + 0x6c], 0
je 0x473163
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x47314f
test eax, eax
je 0x47314f
cmp dword [esp + 0x18], 0
jne 0x47314f
push dword [esp + 0x58]
push eax
call sym.adb.exe_BN_ucmp
add esp, 8
test eax, eax
js 0x473174
push 0x2d3
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x93
jmp 0x472c54
push 0x2ce
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x77
jmp 0x472c54
mov eax, dword [ebx + 0x18]
test eax, eax
mov dword [esp + 8], eax
setne cl
cmp dword [ebx + 0x1c], 0
setne dl
xor dl, cl
jne 0x47319e
cmp dword [esp + 8], 0
setne cl
cmp dword [ebx + 0x20], 0
setne dl
cmp cl, dl
je 0x4731af
push 0x2da
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x7b
jmp 0x472c54
cmp dword [esp + 8], 0
mov edi, 1
je 0x472c62
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x68]
push esi
push 1
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call fcn.00473250
add esp, 0x10
test eax, eax
je 0x473244
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x64]
push esi
push 1
lea eax, [esp + 0x78]
push eax
push dword [ebx + 0x1c]
call fcn.00473250
add esp, 0x10
test eax, eax
je 0x473244
mov edx, dword [ebx + 0x14]
lea ecx, [esp + 0x60]
push esi
push 1
push dword [ebx + 0x10]
push dword [ebx + 0x20]
call fcn.00473250
add esp, 0x10
test eax, eax
je 0x473244
cmp dword [esp + 0x68], 0
je 0x473233
mov eax, dword [esp + 0x64]
test eax, eax
je 0x473233
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x472c62
push 0x2eb
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x6f
jmp 0x472c54
push 0x2e6
jmp 0x472c4d