Function at 0x4fd380
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 0x4fd3af
call fcn.00493fe0
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.0044e690
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 0x4fd3f9
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.004576a0
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 0x4fd40b
push 0x44
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_rsa_rsa_oaep.c
push 0x78
jmp 0x4fd3e1
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.00462550
add esp, 0x18
test eax, eax
je 0x4fd6b8
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.0053f310
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.0053f470
push esi
push ebx
call fcn.0044ca30
add esp, 0x20
test eax, eax
jle 0x4fd6b8
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.00457bc0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x4fd4bb
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.004576a0
add esp, 0x14
jmp 0x4fd6b8
push dword [ebp + 0x24]
push esi
push ebx
push edi
push eax
call fcn.004fd230
add esp, 0x14
test eax, eax
js 0x4fd6b8
xor ebx, ebx
test edi, edi
jle 0x4fd5a7
mov edx, dword [ebp - 4]
cmp edi, 0x40
jb 0x4fd580
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 0x4fd502
cmp dword [ebp + 0x20], edx
jae 0x4fd580
mov eax, edi
and eax, 0x8000003f
jns 0x4fd510
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 0x4fd530
mov edi, dword [ebp + 0x14]
cmp ebx, edi
jge 0x4fd5a7
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 0x4fd596
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.004fd230
add esp, 0x14
test eax, eax
js 0x4fd6b8
xor edx, edx
test esi, esi
jle 0x4fd6b1
mov ebx, dword [ebp - 0xc]
cmp esi, 0x40
jb 0x4fd68c
lea ecx, [ebx - 1]
lea eax, [ebp + esi - 0x59]
add ecx, esi
cmp ebx, eax
ja 0x4fd5f3
lea eax, [ebp - 0x58]
cmp ecx, eax
jae 0x4fd68c
mov eax, esi
and eax, 0x8000003f
jns 0x4fd601
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 0x4fd630
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 0xc]
cmp edx, esi
jge 0x4fd6b1
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 0x4fd6a0
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x58]
push 0x40
push eax
call fcn.004579a0
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.00457cd0
mov eax, dword [ebp - 0x14]
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret