Function at 0x1017bbc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x74]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
call fcn.100e32b0
test eax, eax
mov dword [esp + 0x10], eax
je 0x1017bf52
cmp dword [esp + 0x1c], ebx
jne 0x1017bc1d
mov dword [esp + 0x1c], ebp
push ebp
call fcn.100e91a0
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jl 0x1017bf52
mov ecx, dword [esp + 0x88]
cmp ecx, 0xffffffff
jne 0x1017bc8b
mov dword [esp + 0x88], eax
mov edx, dword [edi + 0x10]
push edx
call fcn.100d4560
mov ebp, eax
sub ebp, 1
push edi
and ebp, 7
call fcn.100e41e0
mov ecx, ebp
mov edx, 0xff
shl edx, cl
mov cl, byte [esi]
add esp, 8
test cl, dl
je 0x1017bcad
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
cmp ecx, 0xfffffffd
jge 0x1017bc45
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
test ebp, ebp
jne 0x1017bcb7
add esi, 1
sub eax, 1
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
cmp eax, ecx
jge 0x1017bcdc
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
mov edi, dword [esp + 0x88]
mov ecx, eax
sub ecx, edx
cmp edi, 0xfffffffd
lea edx, [ecx - 2]
jne 0x1017bd1a
mov dword [esp + 0x88], edx
cmp byte [esi + eax - 1], 0xbc
je 0x1017bd22
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
cmp edi, edx
jle 0x1017bcf6
push 0x54
jmp 0x1017bcc4
lea edi, [ecx - 1]
push 0x5d
lea eax, [esi + edi]
push str.crypto_rsa_rsa_pss.c
push edi
mov dword [esp + 0x2c], eax
call fcn.100de150
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x1017bd5c
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push edi
push ebx
call fcn.10153eb0
add esp, 0x14
test eax, eax
jl 0x1017bf52
test edi, edi
jle 0x1017bd9d
mov ecx, esi
mov eax, ebx
sub ecx, ebx
mov esi, edi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x1017bd90
test ebp, ebp
je 0x1017bdb1
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x1017bdcd
lea eax, [edi - 1]
jmp 0x1017bdc0
cmp esi, eax
jge 0x1017bdcd
add esi, 1
cmp byte [esi + ebx], 0
je 0x1017bdc0
mov cl, byte [esi + ebx]
add esi, 1
cmp cl, 1
je 0x1017bdf5
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
jmp 0x1017bf52
mov eax, dword [esp + 0x88]
cmp eax, 0xfffffffe
je 0x1017be10
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x1017be10
push 0x6e
jmp 0x1017bc92
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call fcn.100e32f0
add esp, 0xc
test eax, eax
je 0x1017bf52
mov edx, dword [esp + 0x10]
push 8
push 0x1024ee40
push edx
call fcn.100e3480
add esp, 0xc
test eax, eax
je 0x1017bf52
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ebp
push eax
push ecx
call fcn.100e3480
add esp, 0xc
test eax, eax
je 0x1017bf52
sub edi, esi
je 0x1017be84
mov edx, dword [esp + 0x10]
push edi
add esi, ebx
push esi
push edx
call fcn.100e3480
add esp, 0xc
test eax, eax
je 0x1017bf52
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.100e34a0
add esp, 0xc
test eax, eax
je 0x1017bf52
cmp ebp, 4
mov ecx, dword [esp + 0x20]
mov eax, ebp
lea edx, [esp + 0x2c]
jb 0x1017bec4
nop
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x1017bec8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x1017beb0
test eax, eax
je 0x1017bf25
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017bf17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017bf25
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017bf17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017bf25
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x1017bf17
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x1017bf25
movzx esi, byte [edx]
movzx edx, byte [ecx]
sub esi, edx
je 0x1017bf25
test esi, esi
mov eax, 1
jg 0x1017bf27
or eax, 0xffffffff
jmp 0x1017bf27
xor eax, eax
test eax, eax
je 0x1017bf4a
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.100dc5a0
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x1017bf52
mov dword [esp + 0x14], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push ebx
call fcn.100de200
mov eax, dword [esp + 0x1c]
push eax
call fcn.100e32d0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x60
ret