Function at 0x480c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
test eax, eax
cmove eax, esi
mov dword [esp + 0x10], eax
mov edx, dword [ecx + 4]
test edx, edx
je 0x480cbf
mov eax, dword [esi + 4]
mov edi, dword [ecx]
xor esi, esi
cmp edx, 8
mov dword [esp + 0x38], eax
mov eax, 0
jb 0x480c97
mov esi, edx
lea eax, [edi + 0x10]
pxor xmm0, xmm0
pxor xmm1, xmm1
and esi, 0xfffffff8
mov ebx, esi
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm2, xmmword [eax - 0x10]
movdqu xmm3, xmmword [eax]
add eax, 0x20
add ebx, 0xfffffff8
por xmm0, xmm2
por xmm1, xmm3
jne 0x480c60
por xmm1, xmm0
cmp edx, esi
pshufd xmm0, xmm1, 0x4e
por xmm0, xmm1
pshufd xmm1, xmm0, 0xe5
por xmm1, xmm0
movd eax, xmm1
je 0x480ca8
mov ebx, edx
sub ebx, esi
lea esi, [edi + esi*4]
nop
or eax, dword [esi]
add esi, 4
dec ebx
jne 0x480ca0
test eax, eax
je 0x480cbf
mov ebx, dword [ebp + 0xc]
nop
test edx, edx
jle 0x480cd0
mov eax, dword [edi + edx*4 - 4]
dec edx
test eax, eax
je 0x480cb0
jmp 0x480cda
push 0x259
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x78
jmp 0x480dc1
je 0x480d99
mov eax, dword [edi + edx*4 - 4]
xor edx, edx
test eax, eax
mov esi, eax
setne dl
shr esi, 0x10
mov edi, esi
xor esi, eax
neg edi
sar edi, 0x1f
and esi, edi
xor esi, eax
mov eax, esi
shr eax, 8
mov edi, eax
xor eax, esi
neg edi
sar edi, 0x1f
and eax, edi
xor eax, esi
mov esi, eax
shr esi, 4
mov edi, esi
xor esi, eax
neg edi
sar edi, 0x1f
and esi, edi
and edi, 4
xor esi, eax
or edi, edx
mov eax, esi
shr eax, 2
mov edx, eax
xor eax, esi
neg edx
sar edx, 0x1f
and eax, edx
and edx, 2
xor eax, esi
or edx, edi
shr eax, 1
neg eax
shr eax, 0x1f
lea eax, [eax + edx - 1]
and eax, 7
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x38]
mov eax, dword [edx]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x480d5a
push edx
call eax
jmp 0x480d60
push ecx
call sym.fastboot.exe_BN_num_bytes
add esp, 4
cmp dword [esp + 0x34], 0
mov esi, ebx
jne 0x480d71
mov byte [esi], 0
dec eax
inc esi
lea ecx, [edi + 2]
cmp eax, ecx
jae 0x480d7f
push 0x266
jmp 0x480dba
mov ecx, dword [ebp + 0x1c]
mov ebx, edi
cmp ecx, 0xffffffff
je 0x480daa
cmp ecx, 0xfffffffe
jne 0x480da0
mov ebx, 0xfffffffe
sub ebx, edi
add ebx, eax
jmp 0x480daa
mov eax, 7
jmp 0x480d41
test ecx, ecx
mov ebx, ecx
js 0x480f55
mov edx, eax
sub edx, edi
lea ecx, [edx - 2]
cmp ecx, ebx
jae 0x480de4
push 0x27b
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x72
push 0
push 4
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
xor esi, esi
xor ebx, ebx
push ebx
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x480e1e
push ebx
call sym.fastboot.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x480f69
mov ecx, ebx
mov ebx, eax
push 0x522770
mov dword [esp + 0xc], ecx
push ecx
push eax
call fcn.00469f40
add esp, 0xc
mov edx, dword [esp + 0x1c]
jmp 0x480e24
mov dword [esp + 8], ebx
xor ebx, ebx
mov eax, dword [ebp + 0x14]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, eax
test eax, eax
je 0x480e6b
push dword [ecx + 0x1c]
call sym.fastboot.exe_OPENSSL_malloc
add esp, 4
test eax, eax
je 0x480f7a
push 0
mov dword [esp + 0x18], eax
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
lea eax, [esi + edx - 1]
mov dword [esp + 0xc], esi
dec edx
lea esi, [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
push esi
call dword [ecx + 0xc]
add esp, 4
mov eax, dword [esp + 0x20]
push 8
push 0x5227ff
push esi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 8]
push ebx
push esi
call dword [eax + 0x10]
add esp, 0xc
mov eax, dword [esp + 0x20]
push dword [esp + 0x14]
push esi
call dword [eax + 0x14]
add esp, 8
mov eax, dword [esp + 0x20]
push dword [eax + 0x1c]
push dword [esp + 0x28]
call sym.fastboot.exe_OPENSSL_cleanse
add esp, 8
push dword [esp + 0x24]
call sym.fastboot.exe_OPENSSL_free
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x480ef7
push dword [esp + 0x28]
call dword [eax]
add esp, 4
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, esi
push dword [esp + 0x10]
push edi
push dword [esp + 0x1c]
call fcn.004802e0
add esp, 0xc
test eax, eax
je 0x480fa6
mov eax, 0xfffffffe
mov ecx, esi
mov esi, dword [esp + 8]
sub eax, edi
add eax, dword [esp + 0x18]
sub eax, esi
xor byte [ecx + eax], 1
test esi, esi
je 0x481061
add eax, dword [esp + 0xc]
xor ecx, ecx
cmp esi, 0x20
jae 0x480fad
xor edx, edx
jmp 0x481043
push 0x274
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x8a
jmp 0x480dc1
push 0x282
push str.external_boringssl_src_crypto_fipsmodule_rsa_padding.c
push 0x41
jmp 0x480dc1
push 0xbb
push str.external_boringssl_src_crypto_fipsmodule_digest_digest.c
push 0x41
push 0
push 0x1d
call sym.fastboot.exe_ERR_put_error
add esp, 0x14
push 0
call sym.fastboot.exe_OPENSSL_free
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
xor esi, esi
jmp 0x480dd1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], esi
lea edx, [eax - 1]
mov eax, edx
sub eax, esi
sub eax, edi
lea edi, [ebx + esi]
mov esi, dword [esp + 0xc]
add eax, dword [esp + 0xc]
cmp eax, edi
mov eax, dword [esp + 0x38]
jae 0x480fe9
sub edx, eax
add edx, esi
cmp ebx, edx
jae 0x480fe9
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
xor edx, edx
jmp 0x481043
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 8]
lea esi, [esi + 0xf]
mov edx, edi
sub esi, edi
and edx, 0xffffffe0
xor edi, edi
sub esi, eax
add dword [esp + 0x10], edx
add esi, dword [esp + 0xc]
movdqu xmm0, xmmword [ebx + edi]
movdqu xmm2, xmmword [esi + edi - 0x10]
movdqu xmm1, xmmword [ebx + edi + 0x10]
movdqu xmm3, xmmword [esi + edi]
pxor xmm2, xmm0
pxor xmm3, xmm1
movdqu xmmword [esi + edi - 0x10], xmm2
movdqu xmmword [esi + edi], xmm3
add edi, 0x20
cmp edx, edi
jne 0x481007
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x10]
cmp esi, edx
je 0x481061
sub esi, edx
add edx, ebx
nop word [eax + eax]
mov edi, eax
movzx eax, byte [edx + ecx]
xor byte [edi + ecx + 1], al
inc ecx
mov eax, edi
cmp esi, ecx
jne 0x481050
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x48107a
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [edx], al
mov eax, dword [esp + 0x18]
mov esi, 1
mov byte [edx + eax - 1], 0xbc
jmp 0x480dd1