Function at 0x4fd680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov ecx, dword [ebp + 0x24]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x20], 0xffffffff
xor esi, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
push edi
test ecx, ecx
jne 0x4fd6ae
call fcn.00493f40
mov ecx, eax
mov dword [ebp + 0x24], ecx
mov eax, dword [ebp + 0x28]
test eax, eax
push ecx
cmove eax, ecx
mov dword [ebp + 0x28], eax
call fcn.0044e5c0
add esp, 4
mov edi, eax
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], ebx
jle 0x4fda91
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x4fda91
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jl 0x4fda1f
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x4fda1f
mov ebx, ecx
push 0x9a
sub ebx, edi
dec ebx
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push ebx
call fcn.00457af0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x4fd733
push 0x9c
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x41
push 0x99
push 4
call fcn.004575d0
jmp 0x4fda3e
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x14], eax
je 0x4fd776
push 0xa1
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push eax
call fcn.00457d40
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4fd75c
push 0xa4
jmp 0x4fd71b
mov ecx, dword [ebp + 0x14]
sub eax, ecx
add eax, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
call fcn.0053f3e0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x4fd779
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ecx]
push dword [ebp + 0x28]
dec eax
shr eax, 0x1f
neg eax
mov dword [ebp - 0xc], eax
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
lea eax, [ecx + 1]
add eax, edi
push ebx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004fd1a0
add esp, 0x14
test eax, eax
jne 0x4fda41
xor edx, edx
test edi, edi
jle 0x4fd862
mov eax, dword [ebp - 4]
cmp edi, 0x40
jb 0x4fd842
dec eax
lea ecx, [ebp + edi - 0x61]
add eax, edi
lea edi, [ebp - 0x60]
cmp edi, eax
mov edi, dword [ebp - 0x14]
ja 0x4fd7db
mov eax, dword [ebp - 4]
cmp ecx, eax
jae 0x4fd842
mov eax, edi
and eax, 0x8000003f
jns 0x4fd7e9
dec eax
or eax, 0xffffffc0
inc eax
mov ecx, edi
sub ecx, eax
mov eax, dword [ebp - 4]
movups xmm0, xmmword [ebp + edx - 0x60]
movups xmm1, xmmword [eax + edx]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x60], xmm1
movups xmm0, xmmword [ebp + edx - 0x50]
movups xmm1, xmmword [eax + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x50], xmm1
movups xmm0, xmmword [ebp + edx - 0x40]
movups xmm1, xmmword [eax + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x40], xmm1
movups xmm0, xmmword [ebp + edx - 0x30]
movups xmm1, xmmword [eax + edx + 0x30]
pxor xmm1, xmm0
movups xmmword [ebp + edx - 0x30], xmm1
add edx, 0x40
cmp edx, ecx
jl 0x4fd7f0
cmp edx, edi
jge 0x4fd862
lea ecx, [ebp - 0x60]
sub eax, ecx
mov dword [ebp - 4], eax
nop
lea ecx, [ebp - 0x60]
add ecx, edx
inc edx
mov al, byte [ecx + eax]
xor byte [ecx], al
mov eax, dword [ebp - 4]
cmp edx, edi
jl 0x4fd850
push dword [ebp + 0x28]
lea eax, [ebp - 0x60]
push edi
push eax
push ebx
push esi
call fcn.004fd1a0
add esp, 0x14
test eax, eax
jne 0x4fda41
xor edx, edx
test ebx, ebx
jle 0x4fd946
cmp ebx, 0x40
jb 0x4fd921
mov ecx, dword [ebp - 8]
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x4fd8a8
lea eax, [esi - 1]
add eax, ebx
cmp eax, ecx
jae 0x4fd921
mov eax, ebx
and eax, 0x8000003f
jns 0x4fd8b6
dec eax
or eax, 0xffffffc0
inc eax
mov dword [ebp + 0x28], ebx
mov edi, ecx
sub dword [ebp + 0x28], eax
sub edi, esi
mov dword [ebp - 4], edi
mov eax, esi
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x40]
movups xmm1, xmmword [esi + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx + edx + 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx + edx + 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movups xmm1, xmmword [ecx + edx + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, dword [ebp + 0x28]
jl 0x4fd8d0
mov esi, dword [ebp - 0x10]
cmp edx, ebx
jge 0x4fd946
sub dword [ebp - 8], esi
lea ecx, [edx + esi]
mov esi, dword [ebp - 8]
mov edi, ebx
sub edi, edx
mov al, byte [ecx + esi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x4fd932
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push 0
push dword [ebp + 0x24]
lea eax, [ebp - 0xa0]
push 0
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
call fcn.00462490
add esp, 0x18
test eax, eax
je 0x4fda41
push edi
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00459410
mov edx, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [eax - 1]
not eax
shr ecx, 0x1f
shr eax, 0x1f
and ecx, eax
neg ecx
and edx, ecx
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp + 0x28], ecx
cmp edi, ebx
jge 0x4fd9ec
nop dword [eax + eax]
movzx esi, byte [edi + esi]
not ecx
mov eax, esi
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
neg edx
and ecx, edx
mov eax, ecx
and ecx, edi
not eax
inc edi
and eax, dword [ebp - 0x18]
or eax, ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
or ecx, edx
mov edx, dword [ebp - 0xc]
lea eax, [esi - 1]
mov esi, dword [ebp - 0x10]
shr eax, 0x1f
neg eax
mov dword [ebp + 0x28], ecx
or eax, ecx
and edx, eax
mov dword [ebp - 0xc], edx
cmp edi, ebx
jl 0x4fd9a0
test edx, ecx
je 0x4fda1f
mov ecx, dword [ebp - 0x18]
mov eax, ebx
inc ecx
sub eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], eax
jge 0x4fda7f
push 0xe8
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x6d
push 0x99
push 4
call fcn.004575d0
add esp, 0x14
push 0xf5
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x79
push 0x99
push 4
call fcn.004575d0
mov dword [ebp - 0x20], 0xffffffff
add esp, 0x14
lea eax, [ebp - 0x60]
push 0x40
push eax
call fcn.004578d0
push 0xf8
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push ebx
push esi
call fcn.00457c00
push 0xf9
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.00457c00
mov eax, dword [ebp - 0x20]
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ecx + esi]
push eax
push dword [ebp + 8]
call fcn.0053f3e0
add esp, 0xc
jmp 0x4fda41
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret