Function at 0x567ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x80e040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test esi, esi
cmove esi, edx
mov dword [ebp - 0x78], esi
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
mov ecx, dword [edx + 4]
mov dword [ebp - 0x70], ecx
cmp eax, 0xffffffff
jne 0x567ea0
mov dword [ebp - 0x7c], ecx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edi, dword [eax + 4]
test edi, edi
jle 0x567f41
mov edx, dword [eax]
mov eax, edi
cmp dword [edx + eax*4 - 4], 0
je 0x567e80
lea ecx, [eax - 1]
shl ecx, 5
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], edx
mov eax, dword [edx + eax*4 - 4]
xor edx, edx
test eax, eax
setne dl
mov esi, eax
shr esi, 0x10
cmp eax, 0x10000
cmovb esi, eax
mov eax, 0
setae al
shl eax, 4
mov dword [ebp - 0x68], eax
mov ecx, esi
shr ecx, 8
xor eax, eax
cmp esi, 0x100
cmovb ecx, esi
setae al
mov dword [ebp - 0x74], eax
mov esi, ecx
shr esi, 4
xor eax, eax
cmp ecx, 0x10
cmovb esi, ecx
setae al
mov dword [ebp - 0x80], eax
mov ecx, esi
shr ecx, 2
xor eax, eax
cmp esi, 4
cmovb ecx, esi
setae al
add edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x74]
lea edx, [edx + esi*8]
mov esi, dword [ebp - 0x80]
lea edx, [edx + esi*4]
cmp ecx, 2
lea eax, [edx + eax*2]
sbb eax, 0xffffffff
dec eax
and eax, 7
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x567f79
test edi, edi
mov ecx, dword [ebp - 0x64]
jle 0x567e98
cmp dword [ecx + edi*4 - 4], 0
je 0x567e6b
lea esi, [edi - 1]
shl esi, 5
mov eax, dword [ecx + edi*4 - 4]
xor edx, edx
test eax, eax
setne dl
mov ecx, eax
shr ecx, 0x10
cmp eax, 0x10000
cmovb ecx, eax
mov eax, 0
setae al
shl eax, 4
mov dword [ebp - 0x64], eax
mov edi, ecx
shr edi, 8
xor eax, eax
cmp ecx, 0x100
cmovb edi, ecx
setae al
mov dword [ebp - 0x68], eax
mov eax, edi
shr eax, 4
xor ecx, ecx
cmp edi, 0x10
cmovb eax, edi
setae cl
mov dword [ebp - 0x74], ecx
mov edi, eax
shr edi, 2
xor ecx, ecx
cmp eax, 4
cmovb edi, eax
setae cl
or edx, esi
add edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x74]
lea eax, [eax + edx*4]
lea eax, [eax + ecx*2]
cmp edi, 2
mov edi, eax
sbb edi, 0xffffffff
add edi, 7
shr edi, 3
movzx edx, byte [ebx]
mov ecx, dword [ebp - 0x6c]
shr edx, cl
test edx, edx
mov esi, dword [ebp - 0x70]
jne 0x567f12
xor edx, edx
test ecx, ecx
sete dl
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edx
sub edi, edx
lea eax, [esi + 2]
cmp edi, eax
jb 0x567f20
mov edx, esi
mov esi, dword [ebp - 0x7c]
test esi, esi
sets cl
add eax, esi
cmp edi, eax
setae al
or al, cl
je 0x567f20
add ebx, dword [ebp - 0x64]
cmp byte [ebx + edi - 1], 0xbc
jne 0x567f04
mov eax, edx
not eax
add edi, eax
push edi
mov esi, edx
call fcn.00565eb0
add esp, 4
test eax, eax
je 0x567f38
mov ecx, esi
mov esi, eax
lea eax, [ebx + edi]
push dword [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], eax
push eax
push edi
push esi
call fcn.004c2a20
add esp, 0x14
test eax, eax
je 0x567f3a
test edi, edi
je 0x567cec
xor eax, eax
mov cl, byte [ebx + eax]
xor byte [esi + eax], cl
inc eax
cmp edi, eax
jne 0x567ce1
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x567d00
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [esi], al
neg dword [ebp - 0x64]
lea eax, [edi - 1]
xor ebx, ebx
mov edx, ebx
mov cl, byte [esi + ebx]
inc ebx
cmp edx, eax
jae 0x567d16
test cl, cl
je 0x567d08
cmp cl, 1
jne 0x567ed9
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
mov eax, dword [ebp + 0x10]
js 0x567d3e
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
not ecx
add ecx, edx
sub ecx, dword [ebp - 0x70]
cmp ecx, ebx
jne 0x567ec8
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
test eax, eax
je 0x567d86
push dword [eax + 0x1c]
call fcn.00565eb0
add esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
je 0x567f3a
push 0
call fcn.00565f50
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
sub edi, ebx
mov ecx, dword [eax + 0xc]
call dword [0x8072c0]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 4
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [0x8072c0]
push 8
push 0x793587
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [0x8072c0]
push dword [ebp - 0x70]
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
mov eax, esi
add eax, ebx
mov dword [ebp - 0x64], eax
lea ebx, [ebp - 0x60]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [0x8072c0]
push edi
push dword [ebp - 0x64]
push ebx
call ecx
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
call dword [0x8072c0]
lea edi, [ebp - 0x50]
push edi
push ebx
call ecx
add esp, 8
mov eax, dword [ebx]
push dword [eax + 0x1c]
push dword [ebx + 4]
call fcn.00565f90
mov eax, dword [ebp - 0x70]
add esp, 8
xor ebx, ebx
inc ebx
test eax, eax
je 0x567e38
push eax
push dword [ebp - 0x78]
push edi
call fcn.005cb2cd
add esp, 0xc
test eax, eax
jne 0x567eea
push esi
call fcn.00565f50
add esp, 4
push dword [ebp - 0x5c]
call fcn.00565f50
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x567f4c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c9f16
mov eax, ebx
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi - 1]
cmp edi, 1
mov edi, eax
jg 0x567bbb
xor edi, edi
jmp 0x567c4d
lea ecx, [eax - 1]
cmp eax, 1
mov eax, ecx
jg 0x567b08
mov dword [ebp - 0x64], edx
xor eax, eax
jmp 0x567b99
jne 0x567bc6
jmp 0x567e79
cmp eax, 0xfffffffe
jne 0x567eaf
mov ecx, 0xfffffffe
jmp 0x567aed
mov ecx, eax
jge 0x567aed
push 0xe9
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x567f2c
push 0x11f
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x567ef6
push 0x119
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
jmp 0x567ef6
push 0x12b
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.006be890
add esp, 0x14
jmp 0x567f3a
push 0xfe
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x567f2c
push 0xf0
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x567f2c
push 0xfa
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.006be890
add esp, 0x14
xor esi, esi
xor ebx, ebx
jmp 0x567e38
je 0x567f62
mov edx, dword [eax]
mov eax, edi
jmp 0x567b13
mov ecx, dword [eax]
mov esi, dword [ebp - 0x58]
call dword [0x8072c0]
push esi
call ecx
add esp, 4
jmp 0x567e57
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x6c], 7
test ecx, ecx
je 0x567e79
call dword [0x8072c0]
push dword [ebp + 8]
call ecx
add esp, 4
mov edi, eax
jmp 0x567c4d