Function at 0x46a460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x8c], edx
push edi
push esi
mov dword [ebp - 0x84], esi
mov eax, dword [esi]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], 0
call eax
mov edi, eax
add esp, 4
mov dword [ebp - 0x88], edi
test edi, edi
je 0x46a4b0
mov ecx, dword [edi]
push edi
mov ecx, dword [ecx + 4]
call ecx
add esp, 4
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jle 0x46a66f
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
mov esi, ecx
cmp ecx, eax
push edi
cmova esi, eax
mov eax, dword [edi]
mov dword [ebp - 0x94], esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [ebp - 0x84]
add esp, 4
cmp dword [eax + 0x14], 0x72
jbe 0x46a4fe
push 0x3c0
push str.C:Usersomahr_source_reposputty_caccodecrypto_rsa.c
push str.h__hlen___MAX_HASH_LEN
call fcn.004a3dca
add esp, 0xc
push dword [ebp + 8]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [edi + 4]
call fcn.0048f3c0
mov edx, dword [ebp - 0x7c]
mov ecx, dword [edi + 4]
call fcn.0048f4c0
mov eax, dword [edi]
lea ecx, [ebp - 0x78]
push ecx
push edi
mov eax, dword [eax + 0xc]
call eax
inc dword [ebp - 0x7c]
add esp, 0xc
xor ecx, ecx
test esi, esi
jle 0x46a64e
cmp esi, 8
jb 0x46a630
lea edx, [ebx - 1]
lea eax, [ebp + esi - 0x79]
add edx, esi
cmp ebx, eax
ja 0x46a557
lea eax, [ebp - 0x78]
cmp edx, eax
jae 0x46a630
cmp esi, 0x40
jb 0x46a5ed
mov eax, esi
and eax, 0x8000003f
jns 0x46a56e
dec eax
or eax, 0xffffffc0
inc eax
mov edx, esi
lea edi, [ebp - 0x78]
sub edx, eax
lea esi, [ebp - 0x68]
sub edi, ebx
lea eax, [ebx + 0x20]
sub esi, ebx
mov dword [ebp - 0x90], esi
mov ebx, esi
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea esi, [ebp - 0x78]
movups xmm1, xmmword [esi + ecx]
mov esi, dword [ebp - 0x94]
lea eax, [eax + 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [eax - 0x50]
movups xmm1, xmmword [ebp + ecx - 0x68]
add ecx, 0x40
xorps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edi + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [ebx + eax - 0x40]
movups xmm0, xmmword [eax - 0x30]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x46a590
mov ebx, dword [ebp - 0x80]
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x46a62c
mov eax, esi
and eax, 0x80000007
jns 0x46a5fb
dec eax
or eax, 0xfffffff8
inc eax
mov edx, esi
lea edi, [ebp - 0x78]
sub edx, eax
lea eax, [ecx + ebx]
sub edi, ebx
nop word [eax + eax]
movq xmm1, qword [edi + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [eax - 8], xmm1
cmp ecx, edx
jl 0x46a610
cmp ecx, esi
jge 0x46a64e
lea edi, [ebp - 0x78]
mov edx, esi
sub edi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
nop dword [eax]
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x46a640
mov ecx, dword [ebp + 0x10]
add ebx, esi
mov edi, dword [ebp - 0x88]
sub ecx, esi
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x80], ebx
mov dword [ebp + 0x10], ecx
test ecx, ecx
jg 0x46a4c0
mov eax, dword [edi]
push edi
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret