Function at 0x46f580
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.004aee10
mov eax, dword [0x56b0f0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push ebx
mov ebx, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x94]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], 0
call fcn.0042a330
add esp, 4
test edi, edi
jne 0x46f5df
mov dword [esp + 0x1c], ebp
push ebp
call fcn.0042afb0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jl 0x46f8fa
mov eax, dword [esp + 0x9c]
cmp eax, 0xffffffff
jne 0x46f650
mov dword [esp + 0x9c], edi
mov edx, dword [ebx + 0x10]
push edx
call fcn.0041ab50
mov ebp, eax
dec ebp
push ebx
and ebp, 7
call fcn.004288a0
mov ecx, ebp
mov edx, 0xff
shl edx, cl
mov cl, byte [esi]
add esp, 8
test cl, dl
je 0x46f680
push 0x74
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8fa
cmp eax, 0xfffffffe
jne 0x46f65e
mov dword [esp + 0x9c], eax
jmp 0x46f609
jge 0x46f609
push 0x6c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8fa
test ebp, ebp
jne 0x46f686
inc esi
dec eax
mov edx, dword [esp + 0x9c]
lea ecx, [edi + edx + 2]
cmp eax, ecx
jge 0x46f6b2
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8fa
cmp byte [esi + eax - 1], 0xbc
je 0x46f6dc
push 0x83
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8fa
sub eax, edi
dec eax
mov edi, eax
push 0x88
lea edx, [esi + edi]
push str..crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x20], edx
call fcn.00419d30
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46f721
push 0x8b
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8ed
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
push edi
push ebx
call fcn.0046ac60
add esp, 0x14
test eax, eax
jl 0x46f8ed
test edi, edi
jle 0x46f75b
mov eax, ebx
sub esi, ebx
mov ecx, edi
lea esp, [esp]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x46f750
test ebp, ebp
je 0x46f76f
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x46f78b
lea eax, [edi - 1]
lea esp, [esp]
cmp esi, eax
jge 0x46f78b
inc esi
cmp byte [esi + ebx], 0
je 0x46f780
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x46f7b7
push 0x97
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8ed
mov eax, dword [esp + 0x9c]
test eax, eax
jl 0x46f7ed
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x46f7ed
push 0x9c
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.00423100
add esp, 0x14
jmp 0x46f8ed
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042a380
add esp, 0xc
test eax, eax
je 0x46f8ed
push 8
lea edx, [esp + 0x2c]
push 0x55a284
push edx
call fcn.0042a530
add esp, 0xc
test eax, eax
je 0x46f8ed
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042a530
add esp, 0xc
test eax, eax
je 0x46f8ed
sub edi, esi
je 0x46f861
push edi
add esi, ebx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0042a530
add esp, 0xc
test eax, eax
je 0x46f8ed
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0042a540
add esp, 0xc
test eax, eax
je 0x46f8ed
mov esi, dword [esp + 0x14]
mov eax, ebp
lea edi, [esp + 0x40]
cmp ebp, 4
jb 0x46f89c
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x46f8c0
sub eax, 4
add esi, 4
add edi, 4
cmp eax, 4
jae 0x46f888
test eax, eax
je 0x46f8e5
mov cl, byte [esi]
cmp cl, byte [edi]
jne 0x46f8c0
cmp eax, 1
jbe 0x46f8e5
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x46f8c0
cmp eax, 2
jbe 0x46f8e5
mov al, byte [esi + 2]
cmp al, byte [edi + 2]
je 0x46f8e5
push 0xac
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.00423100
add esp, 0x14
mov dword [esp + 0x10], 0
jmp 0x46f8ed
mov dword [esp + 0x10], 1
test ebx, ebx
je 0x46f8fa
push ebx
call fcn.00419ed0
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.0042a5c0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004add49
add esp, 0x74
ret