Function at 0x449530
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov ebx, 0xfffffffc
mov edi, eax
nop word cs:[eax + eax]
test edi, edi
je 0x449761
mov edx, edi
dec edi
add ebx, 4
mov eax, dword [ecx + edx*4 - 4]
test eax, eax
je 0x449550
test edi, edi
jne 0x449576
mov ebp, dword [esp + 0x40]
cmp dword [ecx], ebp
jbe 0x449761
mov ecx, eax
mov dword [esp + 4], edx
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov ebp, ecx
shr ebp, 8
or ebp, ecx
mov ecx, edi
mov edi, dword [esp + 0x3c]
mov eax, ebp
shr eax, 0x10
test ebx, ebx
mov dword [esp + 8], eax
je 0x4495bc
lea eax, [edi + ecx*4 + 4]
push ebx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
mov ecx, esi
add esp, 0xc
mov esi, dword [esp + 0x48]
lea eax, [ecx + 1]
or dword [esp + 8], ebp
mov ebp, dword [esp + 4]
mov dword [esp + 0x18], ecx
shl esi, 2
sub esi, ebx
mov ebx, eax
mov eax, ecx
and eax, 0xfffffff8
mov dword [esp + 0x20], esi
mov esi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
lea eax, [eax + 1]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x14]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, 0x64
nop
dec eax
je 0x44976f
mov dword [esp + 0x24], eax
push dword [esp + 0x4c]
push dword [esp + 0x24]
push esi
call fcn.004497a0
add esp, 0xc
mov eax, dword [esp + 8]
and dword [esi + ebp*4 - 4], eax
test edi, edi
je 0x449650
cmp ebx, 1
je 0x449660
test ebx, ebx
mov eax, ebx
mov ecx, ebx
je 0x44974e
mov edx, dword [esp + 0x18]
cmp edx, 8
jae 0x449664
xor ecx, ecx
mov eax, 1
jmp 0x4496c0
mov dword [esp + 0xc], 0xffffffff
jmp 0x4496ea
xor ecx, ecx
jmp 0x4496c8
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
pxor xmm0, xmm0
pxor xmm1, xmm1
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm2, xmmword [ecx - 0x10]
movdqu xmm3, xmmword [ecx]
add ecx, 0x20
add eax, 0xfffffff8
por xmm0, xmm2
por xmm1, xmm3
jne 0x449680
por xmm1, xmm0
cmp edx, dword [esp]
mov eax, dword [esp + 0x14]
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd ecx, xmm1
je 0x4496c8
nop dword [eax]
or ecx, dword [esi + eax*4]
inc eax
cmp ebx, eax
jne 0x4496c0
mov ebx, dword [esi]
mov ebp, ecx
dec ecx
not ebp
mov eax, ebx
mov edx, ebx
sub eax, edi
xor edx, edi
xor eax, ebx
or eax, edx
xor eax, ebx
and eax, ebp
and eax, ecx
sar eax, 0x1f
not eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
nop word cs:[eax + eax]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esi + edx*4]
mov esi, dword [eax + edx*4]
mov ebx, ebp
sub ebx, esi
xor esi, ebp
xor ebx, ebp
or ebx, esi
xor ebx, ebp
sar ebx, 0x1f
mov ebp, ebx
not ebp
and ebp, 1
or ebp, ebx
mov ebx, esi
dec esi
xor ebx, 0x80000000
test esi, ebx
cmovns ecx, ebp
inc edx
cmp edi, edx
jne 0x449700
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov ebx, edi
shr ecx, 0x1f
mov eax, ebp
mov ebp, dword [esp + 4]
mov edi, eax
mov eax, dword [esp + 0xc]
test ecx, eax
mov eax, dword [esp + 0x24]
je 0x449600
mov eax, 1
jmp 0x449789
push 0xe2
push str.external_boringssl_src_crypto_fipsmodule_bn_random.c
push 0x6c
jmp 0x44977b
push 0x10b
push str.external_boringssl_src_crypto_fipsmodule_bn_random.c
push 0x73
push 0
push 3
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret