Function at 0x100645f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x74
call fcn.100bdff0
mov eax, dword [0x101151b0]
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.1004eb90
add esp, 4
test edi, edi
jne 0x1006464f
mov dword [esp + 0x1c], ebp
push ebp
call fcn.10026760
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
js 0x1006495e
mov eax, dword [esp + 0x9c]
cmp eax, 0xffffffff
jne 0x100646be
mov dword [esp + 0x9c], edi
mov edx, dword [ebx + 0x10]
push edx
call fcn.10013410
lea ebp, [eax - 1]
push ebx
and ebp, 7
call fcn.10032610
mov edx, 0xff
mov ecx, ebp
shl edx, cl
add esp, 8
test byte [esi], dl
je 0x100646ee
push 0x76
push str..crypto_rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x1006495e
cmp eax, 0xfffffffe
jne 0x100646cc
mov dword [esp + 0x9c], eax
jmp 0x10064679
jge 0x10064679
push 0x6f
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x1006495e
test ebp, ebp
jne 0x100646f4
inc esi
dec eax
mov edx, dword [esp + 0x9c]
lea ecx, [edi + edx + 2]
cmp eax, ecx
jge 0x10064720
push 0x7e
push str..crypto_rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x1006495e
cmp byte [esi + eax - 1], 0xbc
je 0x1006474a
push 0x82
push str..crypto_rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x1006495e
sub eax, edi
lea edi, [eax - 1]
push 0x87
lea edx, [esi + edi]
push str..crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x20], edx
call fcn.10008570
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1006478f
push 0x89
push str..crypto_rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x1006495e
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.10064dd0
add esp, 0x14
test eax, eax
js 0x10064955
test edi, edi
jle 0x100647c9
mov eax, ebx
sub esi, ebx
mov ecx, edi
lea ebx, [ebx]
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x100647c0
test ebp, ebp
je 0x100647dd
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x100647f2
lea eax, [edi - 1]
cmp esi, eax
jge 0x100647f2
inc esi
cmp byte [esi + ebx], 0
je 0x100647e7
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x1006481e
push 0x94
push str..crypto_rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x10064955
mov eax, dword [esp + 0x9c]
test eax, eax
js 0x10064854
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x10064854
push 0x98
push str..crypto_rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
jmp 0x10064955
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.1004ebe0
add esp, 0xc
test eax, eax
je 0x10064955
push 8
lea edx, [esp + 0x2c]
push 0x100f649c
push edx
call fcn.1004ed90
add esp, 0xc
test eax, eax
je 0x10064955
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.1004ed90
add esp, 0xc
test eax, eax
je 0x10064955
sub edi, esi
je 0x100648c8
push edi
add esi, ebx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.1004ed90
add esp, 0xc
test eax, eax
je 0x10064955
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.1004eda0
add esp, 0xc
test eax, eax
je 0x10064955
mov esi, dword [esp + 0x14]
mov eax, ebp
lea edi, [esp + 0x40]
cmp ebp, 4
jb 0x10064904
nop
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x10064928
sub eax, 4
add esi, 4
add edi, 4
cmp eax, 4
jae 0x100648f0
test eax, eax
je 0x1006494d
mov cl, byte [esi]
cmp cl, byte [edi]
jne 0x10064928
cmp eax, 1
jbe 0x1006494d
mov dl, byte [esi + 1]
cmp dl, byte [edi + 1]
jne 0x10064928
cmp eax, 2
jbe 0x1006494d
mov al, byte [esi + 2]
cmp al, byte [edi + 2]
je 0x1006494d
push 0xa6
push str..crypto_rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.10009e40
add esp, 0x14
mov dword [esp + 0x10], 0
jmp 0x10064955
mov dword [esp + 0x10], 1
push ebx
call fcn.10008770
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.1004ee20
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.100bc5e4
add esp, 0x74
ret