Function at 0x562650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1b0
mov esi, dword [ebp + 0xc]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x1a8], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x190], xmm0
test esi, esi
je 0x562795
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x28]
jne 0x5627a3
mov edi, ecx
mov dword [esp + 8], edx
lea ebx, [esp + 0x10]
push 0x180
push 0
push ebx
call fcn.006ccfc0
add esp, 0xc
lea eax, [edi + 0xf8]
lea ecx, [esp + 0x60]
push 0x120
push eax
push ecx
call fcn.006cca40
add esp, 0xc
push esi
push dword [ebp + 8]
push edi
push ebx
call fcn.005561d0
add esp, 0x10
mov eax, dword [esp + 0x48]
mov ecx, edi
xor edi, edi
or eax, dword [esp + 0x4c]
jne 0x5627bd
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 0x24]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
add esi, edx
adc ebx, 0
mov ecx, esi
neg ecx
mov ecx, 0x20000000
sbb ecx, ebx
jb 0x5627bd
mov edi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x170]
mov eax, dword [esp + 0x174]
mov dword [esp + 4], eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
mov eax, dword [esp + 0x184]
test eax, eax
je 0x5627d5
test edx, edx
lea ebx, [esp + 0x10]
je 0x56297e
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [edi]
xor byte [esp + eax + 0x50], bl
add edi, 1
lea esi, [edx - 1]
add eax, 1
and eax, 0xf
je 0x56276c
cmp edx, 1
mov edx, esi
jne 0x562750
test eax, eax
lea ebx, [esp + 0x10]
jne 0x56297e
lea ebx, [esp + 0x50]
call dword [section..00cfg]
lea eax, [esp + 0x70]
push eax
push ebx
lea ebx, [esp + 0x18]
call ecx
add esp, 8
mov edx, esi
jmp 0x5627d9
push 0x421
push str..._.._third_party_boringssl_src_crypto_fipsmodule_cipher_e_aes.c
push 0x6f
jmp 0x5627af
push 0x426
push str..._.._third_party_boringssl_src_crypto_fipsmodule_cipher_e_aes.c
push 0x65
push 0
push 0x1e
call fcn.00590370
add esp, 0x14
xor edi, edi
mov ecx, dword [esp + 0x1a8]
xor ecx, ebp
call fcn.006c9121
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esp + 0x10]
mov esi, edx
and esi, 0xfffffff0
je 0x562808
mov ecx, dword [esp + 4]
mov ebx, edx
call dword [section..00cfg]
push esi
push edi
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x5c]
push eax
call ecx
mov edx, ebx
lea ebx, [esp + 0x20]
add esp, 0x10
add edi, esi
and edx, 0xf
xor eax, eax
test edx, edx
je 0x56297e
cmp edx, 8
mov dword [esp + 4], edx
jb 0x56291c
lea ecx, [esp + 0x50]
mov esi, edx
add edx, edi
cmp edx, ecx
mov edx, esi
jbe 0x56283b
lea ecx, [esp + edx]
add ecx, 0x50
cmp edi, ecx
jb 0x56291c
xor eax, eax
cmp edx, 0x20
jb 0x5628ed
mov eax, edx
and eax, 0xffffffe0
lea ecx, [eax - 0x20]
mov edx, ecx
shr edx, 5
add edx, 1
test ecx, ecx
je 0x5628b2
mov esi, edx
and edx, 0xfffffffe
xor ecx, ecx
movups xmm0, xmmword [edi + ecx]
movups xmm1, xmmword [edi + ecx + 0x10]
xorps xmm0, xmmword [esp + ecx + 0x50]
xorps xmm1, xmmword [esp + ecx + 0x60]
movaps xmmword [esp + ecx + 0x50], xmm0
movaps xmmword [esp + ecx + 0x60], xmm1
movdqu xmm0, xmmword [edi + ecx + 0x20]
movdqu xmm1, xmmword [edi + ecx + 0x30]
pxor xmm0, xmmword [esp + ecx + 0x70]
pxor xmm1, xmmword [esp + ecx + 0x80]
movdqa xmmword [esp + ecx + 0x70], xmm0
movdqa xmmword [esp + ecx + 0x80], xmm1
add ecx, 0x40
add edx, 0xfffffffe
jne 0x562861
jmp 0x5628b6
mov esi, edx
xor ecx, ecx
mov edx, esi
test dl, 1
je 0x5628e0
movdqu xmm0, xmmword [edi + ecx]
movdqu xmm1, xmmword [edi + ecx + 0x10]
pxor xmm0, xmmword [esp + ecx + 0x50]
pxor xmm1, xmmword [esp + ecx + 0x60]
movdqa xmmword [esp + ecx + 0x50], xmm0
movdqa xmmword [esp + ecx + 0x60], xmm1
mov edx, dword [esp + 4]
cmp edx, eax
je 0x562918
test dl, 0x18
je 0x56291c
mov ecx, eax
mov eax, edx
and eax, 0xfffffff8
movq xmm0, qword [edi + ecx]
movq xmm1, qword [esp + ecx + 0x50]
pxor xmm1, xmm0
movq qword [esp + ecx + 0x50], xmm1
add ecx, 8
cmp eax, ecx
jne 0x5628f4
mov edx, dword [esp + 4]
cmp edx, eax
jne 0x56291c
mov eax, edx
jmp 0x56297e
mov esi, ebx
mov ecx, eax
not ecx
add ecx, edx
and edx, 3
je 0x562940
nop dword [eax]
movzx ebx, byte [edi + eax]
xor byte [esp + eax + 0x50], bl
add eax, 1
add edx, 0xffffffff
jne 0x562930
cmp ecx, 3
jae 0x56294b
mov eax, dword [esp + 4]
jmp 0x56297c
mov edx, dword [esp + 4]
nop
movzx ecx, byte [edi + eax]
xor byte [esp + eax + 0x50], cl
movzx ecx, byte [edi + eax + 1]
xor byte [esp + eax + 0x51], cl
movzx ecx, byte [edi + eax + 2]
xor byte [esp + eax + 0x52], cl
movzx ecx, byte [edi + eax + 3]
xor byte [esp + eax + 0x53], cl
add eax, 4
cmp edx, eax
jne 0x562950
mov eax, edx
mov ebx, esi
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x184], eax
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x218]
test eax, eax
je 0x5629b3
push eax
push edx
push dword [esp + 0x10]
push ecx
push esi
push ebx
call fcn.00557420
add esp, 0x18
test eax, eax
jne 0x5629cb
jmp 0x5627bb
push edx
push dword [esp + 0xc]
push ecx
push esi
push ebx
call fcn.00556b00
add esp, 0x14
test eax, eax
je 0x5627bb
mov ebx, dword [esp + 0x170]
mov eax, dword [esp + 0x180]
or eax, dword [esp + 0x184]
je 0x5629f9
lea esi, [esp + 0x70]
lea edi, [esp + 0x50]
mov ecx, ebx
call dword [section..00cfg]
push esi
push edi
call ebx
add esp, 8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
shld ecx, eax, 3
shl eax, 3
push ecx
push eax
call fcn.006d7f32
add esp, 8
mov esi, ebx
mov ebx, eax
mov edi, edx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
shld ecx, eax, 3
shl eax, 3
push ecx
push eax
call fcn.006d7f32
add esp, 8
movd xmm0, edi
movd xmm1, ebx
punpckldq xmm1, xmm0
movd xmm0, edx
movd xmm2, eax
punpckldq xmm2, xmm0
punpcklqdq xmm1, xmm2
pxor xmm1, xmmword [esp + 0x50]
movdqa xmmword [esp + 0x50], xmm1
lea edi, [esp + 0x70]
mov ecx, esi
call dword [section..00cfg]
push edi
lea edi, [esp + 0x54]
push edi
call esi
add esp, 8
movdqa xmm0, xmmword [esp + 0x50]
pxor xmm0, xmmword [esp + 0x30]
movdqa xmmword [esp + 0x50], xmm0
mov esi, dword [ebp + 0x1c]
cmp esi, 0x10
mov eax, 0x10
cmovb eax, esi
test eax, eax
je 0x562aa6
lea ecx, [esp + 0x190]
push eax
push edi
push ecx
call fcn.006cca40
add esp, 0xc
lea eax, [esp + 0x190]
push esi
push dword [ebp + 0x18]
push eax
call fcn.004c9e00
add esp, 0xc
test eax, eax
mov edi, 0
je 0x562ae0
push 0x442
push str..._.._third_party_boringssl_src_crypto_fipsmodule_cipher_e_aes.c
push 0x65
push 0
push 0x1e
call fcn.00590370
add esp, 0x14
jmp 0x5627bd
mov edi, 1
jmp 0x5627bd