Function at 0x552af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
dec ebx
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test eax, eax
jne 0x552b1f
call fcn.004e9770
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x24]
test ecx, ecx
push eax
cmove ecx, eax
mov dword [ebp + 0x24], ecx
call fcn.004a3e00
mov esi, eax
add esp, 4
mov eax, ebx
mov dword [ebp - 8], esi
lea ecx, [esi + esi]
sub eax, ecx
mov dword [ebp - 0x18], eax
dec eax
cmp dword [ebp + 0x14], eax
jle 0x552b69
push 0x3e
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x6e
push 0x9a
push 4
call fcn.004ace10
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
cmp ebx, eax
jge 0x552b7b
push 0x44
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x552b51
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0x20]
lea ebx, [eax + 1]
mov byte [eax], 0
add eax, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
inc eax
push 0
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.004b7cc0
add esp, 0x18
test eax, eax
je 0x552e28
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp + 0x14]
dec eax
push eax
mov eax, dword [ebp + 0xc]
inc eax
add eax, esi
push 0
push eax
call fcn.00594c60
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
inc eax
sub eax, esi
sub eax, edx
add eax, dword [ebp - 0x10]
push edx
push dword [ebp + 0x10]
push eax
mov byte [eax - 1], 1
call fcn.00594dc0
push esi
push ebx
call fcn.004a21a0
add esp, 0x20
test eax, eax
jle 0x552e28
mov edi, dword [ebp - 0x10]
push 0x55
sub edi, esi
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push edi
mov dword [ebp + 0x14], edi
call fcn.004ad330
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x552c2b
push 0x57
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x41
push 0x9a
push 4
call fcn.004ace10
add esp, 0x14
jmp 0x552e28
push dword [ebp + 0x24]
push esi
push ebx
push edi
push eax
call fcn.005529a0
add esp, 0x14
test eax, eax
js 0x552e28
xor ebx, ebx
test edi, edi
jle 0x552d17
mov edx, dword [ebp - 4]
cmp edi, 0x40
jb 0x552cf0
mov ecx, dword [ebp + 0xc]
inc ecx
lea eax, [ecx - 1]
add eax, edi
mov dword [ebp + 0x20], eax
lea eax, [edx - 1]
add eax, edi
cmp ecx, eax
ja 0x552c72
cmp dword [ebp + 0x20], edx
jae 0x552cf0
mov eax, edi
and eax, 0x8000003f
jns 0x552c80
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp + 0x20], edi
mov esi, edx
sub dword [ebp + 0x20], eax
sub esi, ecx
mov dword [ebp - 0x18], esi
mov eax, ecx
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp - 0x18]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edx + ebx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [edx + ebx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [edx + ebx + 0x30]
add ebx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp ebx, ecx
jl 0x552ca0
mov edi, dword [ebp + 0x14]
cmp ebx, edi
jge 0x552d17
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov eax, dword [ebp + 0xc]
inc ecx
inc eax
mov edx, edi
add ecx, ebx
sub esi, eax
sub edx, ebx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x552d06
mov esi, dword [ebp - 8]
push dword [ebp + 0x24]
mov eax, dword [ebp + 0xc]
push edi
inc eax
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.005529a0
add esp, 0x14
test eax, eax
js 0x552e28
xor edx, edx
test esi, esi
jle 0x552e21
mov ebx, dword [ebp - 0xc]
cmp esi, 0x40
jb 0x552dfc
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x59]
add ecx, esi
cmp ebx, eax
ja 0x552d63
lea eax, [ebp - 0x58]
cmp ecx, eax
jae 0x552dfc
mov eax, esi
and eax, 0x8000003f
jns 0x552d71
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, esi
lea esi, [ebp - 0x58]
sub esi, ebx
sub ecx, eax
mov dword [ebp + 0x24], esi
mov eax, ebx
lea esi, [ebp - 0x48]
sub esi, ebx
mov dword [ebp + 0x20], esi
lea esi, [ebp - 0x38]
mov edi, dword [ebp + 0x20]
sub esi, ebx
mov dword [ebp + 0xc], esi
lea esi, [ebp - 0x28]
sub esi, ebx
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x18], esi
nop dword [eax]
movups xmm0, xmmword [eax]
mov esi, dword [ebp + 0xc]
add edx, 0x40
lea eax, [eax + 0x40]
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [eax + edi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 0x18]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [eax + esi - 0x40]
mov esi, dword [ebp - 8]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jl 0x552da0
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
cmp edx, esi
jge 0x552e21
lea edi, [ebp - 0x58]
sub edi, ebx
lea ecx, [edx + ebx]
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x552e10
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.004ad110
push 0x68
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push edi
push dword [ebp - 4]
call fcn.004ad440
mov eax, dword [ebp - 0x14]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret