Function at 0x463360
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 0x463387
test byte [eax + 0x28], 1
mov edi, 1
jne 0x463545
mov eax, dword [ebx + 0x10]
test eax, eax
setne cl
cmp dword [ebx + 0x14], 0
setne dl
cmp cl, dl
je 0x4633ae
push 0x29d
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x86
jmp 0x463537
cmp dword [ebx + 4], 0
je 0x463528
cmp dword [ebx + 8], 0
je 0x463528
cmp dword [ebx + 0xc], 0
mov edi, 1
je 0x463545
test eax, eax
je 0x463545
push 0x2c
call sym.fastboot.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x46354f
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 0x4634d0
mov eax, dword [ebx + 0x14]
cmp dword [eax + 0xc], 0
je 0x463701
push 0x28d
push str.external_boringssl_src_crypto_fipsmodule_bn_mul.c
push 0x6d
push 0
push 3
call sym.fastboot.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.fastboot.exe_ERR_put_error
add esp, 0x14
xor edi, edi
mov eax, dword [esp + 0x30]
test al, 2
jne 0x46351a
push dword [esp + 0x20]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x30]
test al, 1
jne 0x463572
mov dword [esp + 0x20], 0
jmp 0x46357f
push 0x2a2
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x90
push 0
push 4
call sym.fastboot.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.fastboot.exe_ERR_put_error
add esp, 0x14
push 0x2ae
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x41
jmp 0x463537
lea eax, [esp + 0x20]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x50]
test al, 2
jne 0x463597
push dword [esp + 0x40]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x50]
test al, 1
jne 0x4635a5
mov dword [esp + 0x40], 0
jmp 0x4635b2
lea eax, [esp + 0x40]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x80]
test al, 2
jne 0x4635d0
push dword [esp + 0x70]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x80]
test al, 1
jne 0x4635de
mov dword [esp + 0x70], 0
jmp 0x4635eb
lea eax, [esp + 0x70]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xa0]
test al, 2
jne 0x46360c
push dword [esp + 0x90]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xa0]
test al, 1
jne 0x46361d
mov dword [esp + 0x90], 0
jmp 0x46362d
lea eax, [esp + 0x90]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x100]
test al, 2
jne 0x46364e
push dword [esp + 0xf0]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x100]
test al, 1
jne 0x46365f
mov dword [esp + 0xf0], 0
jmp 0x46366f
lea eax, [esp + 0xf0]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xe0]
test al, 2
jne 0x463690
push dword [esp + 0xd0]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xe0]
test al, 1
jne 0x4636a1
mov dword [esp + 0xd0], 0
jmp 0x4636b1
lea eax, [esp + 0xd0]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xc0]
test al, 2
jne 0x4636d2
push dword [esp + 0xb0]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0xc0]
test al, 1
jne 0x4636e3
mov dword [esp + 0xb0], 0
jmp 0x4636f3
lea eax, [esp + 0xb0]
push eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
push esi
call sym.fastboot.exe_BN_CTX_free
add esp, 4
jmp 0x463545
lea ecx, [esp + 0x20]
push esi
push eax
call fcn.00444900
add esp, 8
test eax, eax
je 0x4634e8
mov edi, dword [ebx + 0x10]
push 0x435f70
push 0x53f3a0
call sym.fastboot.exe_CRYPTO_once
add esp, 8
lea eax, [esp + 0x40]
push 0x53f3a4
push edi
push eax
call fcn.004357e0
add esp, 0xc
test eax, eax
je 0x4634e8
mov edi, dword [ebx + 0x14]
push 0x435f70
push 0x53f3a0
call sym.fastboot.exe_CRYPTO_once
add esp, 8
lea eax, [esp + 0x70]
push 0x53f3a4
push edi
mov edi, eax
push eax
call fcn.004357e0
add esp, 0xc
test eax, eax
je 0x4634e8
lea eax, [esp + 0x90]
push esi
push edi
mov edi, eax
lea eax, [esp + 0x48]
push eax
push edi
call sym.fastboot.exe_bn_lcm_consttime
add esp, 0x10
test eax, eax
je 0x4634e8
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x6c]
push esi
push 0
push edi
push dword [ebx + 0xc]
call fcn.00463af0
add esp, 0x10
test eax, eax
je 0x4634e8
mov eax, dword [ebx + 4]
test eax, eax
je 0x4639af
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0xc]
jne 0x4639af
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 0x463850
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 0x46380c
jmp 0x463858
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 0x4638fd
mov edx, eax
xor eax, eax
sub edx, ecx
cmp edx, 7
jbe 0x4638cd
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 0x463896
por xmm1, xmm0
cmp edx, ecx
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd eax, xmm1
je 0x4638e8
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 0x4638e0
mov ecx, eax
dec eax
not ecx
and eax, ecx
mov ecx, dword [esp + 8]
sar eax, 0x1f
not eax
jmp 0x46399d
cmp eax, ecx
jae 0x463912
xor eax, eax
cmp edi, 7
mov dword [esp + 0x10], edi
ja 0x46391b
mov edi, dword [esp + 0x14]
jmp 0x463977
mov ecx, dword [esp + 8]
jmp 0x46399f
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 0x46393a
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 0x463988
mov ecx, dword [esp + 0xc]
sub edi, ecx
lea ecx, [edx + ecx*4]
or eax, dword [ecx]
add ecx, 4
dec edi
jne 0x463980
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 0x4639c3
push 0x2c9
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x84
jmp 0x4634f4
cmp dword [esp + 0x6c], 0
je 0x463a03
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x4639ef
test eax, eax
je 0x4639ef
cmp dword [esp + 0x18], 0
jne 0x4639ef
push dword [esp + 0x58]
push eax
call sym.fastboot.exe_BN_ucmp
add esp, 8
test eax, eax
js 0x463a14
push 0x2d3
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x93
jmp 0x4634f4
push 0x2ce
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x77
jmp 0x4634f4
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 0x463a3e
cmp dword [esp + 8], 0
setne cl
cmp dword [ebx + 0x20], 0
setne dl
cmp cl, dl
je 0x463a4f
push 0x2da
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x7b
jmp 0x4634f4
cmp dword [esp + 8], 0
mov edi, 1
je 0x463502
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.00463af0
add esp, 0x10
test eax, eax
je 0x463ae4
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.00463af0
add esp, 0x10
test eax, eax
je 0x463ae4
mov edx, dword [ebx + 0x14]
lea ecx, [esp + 0x60]
push esi
push 1
push dword [ebx + 0x10]
push dword [ebx + 0x20]
call fcn.00463af0
add esp, 0x10
test eax, eax
je 0x463ae4
cmp dword [esp + 0x68], 0
je 0x463ad3
mov eax, dword [esp + 0x64]
test eax, eax
je 0x463ad3
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x463502
push 0x2eb
push str.external_boringssl_src_crypto_fipsmodule_rsa_rsa.c
push 0x6f
jmp 0x4634f4
push 0x2e6
jmp 0x4634ed