Function at 0x4fbe80
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 0x4fbeae
call fcn.00492770
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.0044ce10
add esp, 4
mov edi, eax
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], ebx
jle 0x4fc291
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x4fc291
mov ecx, dword [ebp + 0x18]
cmp ecx, eax
jl 0x4fc21f
lea eax, [edi*2 + 2]
cmp ecx, eax
jl 0x4fc21f
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.00456350
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x4fbf33
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.00455e30
jmp 0x4fc23e
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x14], eax
je 0x4fbf76
push 0xa1
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push eax
call fcn.004565a0
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4fbf5c
push 0xa4
jmp 0x4fbf1b
mov ecx, dword [ebp + 0x14]
sub eax, ecx
add eax, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push eax
call fcn.0053dc00
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x4fbf79
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.004fb9a0
add esp, 0x14
test eax, eax
jne 0x4fc241
xor edx, edx
test edi, edi
jle 0x4fc062
mov eax, dword [ebp - 4]
cmp edi, 0x40
jb 0x4fc042
dec eax
lea ecx, [ebp + edi - 0x61]
add eax, edi
lea edi, [ebp - 0x60]
cmp edi, eax
mov edi, dword [ebp - 0x14]
ja 0x4fbfdb
mov eax, dword [ebp - 4]
cmp ecx, eax
jae 0x4fc042
mov eax, edi
and eax, 0x8000003f
jns 0x4fbfe9
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 0x4fbff0
cmp edx, edi
jge 0x4fc062
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 0x4fc050
push dword [ebp + 0x28]
lea eax, [ebp - 0x60]
push edi
push eax
push ebx
push esi
call fcn.004fb9a0
add esp, 0x14
test eax, eax
jne 0x4fc241
xor edx, edx
test ebx, ebx
jle 0x4fc146
cmp ebx, 0x40
jb 0x4fc121
mov ecx, dword [ebp - 8]
lea eax, [ecx - 1]
add eax, ebx
cmp esi, eax
ja 0x4fc0a8
lea eax, [esi - 1]
add eax, ebx
cmp eax, ecx
jae 0x4fc121
mov eax, ebx
and eax, 0x8000003f
jns 0x4fc0b6
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 0x4fc0d0
mov esi, dword [ebp - 0x10]
cmp edx, ebx
jge 0x4fc146
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 0x4fc132
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.00460ce0
add esp, 0x18
test eax, eax
je 0x4fc241
push edi
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00457c70
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 0x4fc1ec
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 0x4fc1a0
test edx, ecx
je 0x4fc21f
mov ecx, dword [ebp - 0x18]
mov eax, ebx
inc ecx
sub eax, ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0xc], eax
jge 0x4fc27f
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.00455e30
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.00455e30
mov dword [ebp - 0x20], 0xffffffff
add esp, 0x14
lea eax, [ebp - 0x60]
push 0x40
push eax
call fcn.00456130
push 0xf8
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push ebx
push esi
call fcn.00456460
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.00456460
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.0053dc00
add esp, 0xc
jmp 0x4fc241
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret