Function at 0x100b5510
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x60
call fcn.101cf170
mov eax, dword [0x10263fdc]
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.1004bd90
mov dword [esp + 0x10], eax
test eax, eax
je 0x100b583f
cmp dword [esp + 0x1c], ebx
jne 0x100b556d
mov dword [esp + 0x1c], ebp
push ebp
call fcn.100470e0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
js 0x100b583f
mov ecx, dword [esp + 0x88]
cmp ecx, 0xffffffff
jne 0x100b55d7
mov dword [esp + 0x88], eax
mov edx, dword [edi + 0x10]
push edx
call fcn.1004afa0
lea ebp, [eax - 1]
push edi
and ebp, 7
call fcn.100ace10
mov edx, 0xff
mov ecx, ebp
shl edx, cl
add esp, 8
test byte [esi], dl
je 0x100b55f9
push 0x46
push str.crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
cmp ecx, 0xfffffffd
jge 0x100b5595
push 0x3f
push str.crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
test ebp, ebp
jne 0x100b55ff
inc esi
dec eax
mov edx, dword [esp + 0x18]
lea ecx, [edx + 2]
cmp eax, ecx
jge 0x100b5624
push 0x4e
push str.crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
mov edi, dword [esp + 0x88]
mov ecx, eax
sub ecx, edx
lea edx, [ecx - 2]
cmp edi, 0xfffffffd
jne 0x100b5662
mov dword [esp + 0x88], edx
cmp byte [esi + eax - 1], 0xbc
je 0x100b566a
push 0x58
push str.crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
cmp edi, edx
jle 0x100b563e
push 0x54
jmp 0x100b560c
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.100326e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x100b56a4
push 0x5f
push str.crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
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.100b6320
add esp, 0x14
test eax, eax
js 0x100b583f
test edi, edi
jle 0x100b56da
mov ecx, esi
mov eax, ebx
sub ecx, ebx
mov esi, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x100b56d1
test ebp, ebp
je 0x100b56ee
mov ecx, 8
sub ecx, ebp
mov eax, 0xff
sar eax, cl
and byte [ebx], al
xor esi, esi
cmp byte [ebx], 0
jne 0x100b5703
lea eax, [edi - 1]
cmp esi, eax
jge 0x100b5703
inc esi
cmp byte [esi + ebx], 0
je 0x100b56f8
mov cl, byte [esi + ebx]
inc esi
cmp cl, 1
je 0x100b5729
push 0x6a
push str.crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
jmp 0x100b583f
mov eax, dword [esp + 0x88]
cmp eax, 0xfffffffe
je 0x100b5744
mov edx, edi
sub edx, esi
cmp edx, eax
je 0x100b5744
push 0x6e
jmp 0x100b55de
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
call fcn.1004bdd0
add esp, 0xc
test eax, eax
je 0x100b583f
mov edx, dword [esp + 0x10]
push 8
push 0x102087dc
push edx
call fcn.1004bf80
add esp, 0xc
test eax, eax
je 0x100b583f
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ebp
push eax
push ecx
call fcn.1004bf80
add esp, 0xc
test eax, eax
je 0x100b583f
sub edi, esi
je 0x100b57b8
mov edx, dword [esp + 0x10]
push edi
add esi, ebx
push esi
push edx
call fcn.1004bf80
add esp, 0xc
test eax, eax
je 0x100b583f
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.1004bfa0
add esp, 0xc
test eax, eax
je 0x100b583f
mov ecx, dword [esp + 0x20]
mov eax, ebp
lea esi, [esp + 0x2c]
cmp ebp, 4
jb 0x100b57f4
nop
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x100b5818
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x100b57e0
test eax, eax
je 0x100b5837
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x100b5818
cmp eax, 1
jbe 0x100b5837
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100b5818
cmp eax, 2
jbe 0x100b5837
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x100b5837
push 0x7c
push str.crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.1003c300
add esp, 0x14
mov dword [esp + 0x14], 0
jmp 0x100b583f
mov dword [esp + 0x14], 1
push 0x83
push str.crypto_rsa_rsa_pss.c
push ebx
call fcn.10032790
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.1004bdb0
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.101ce9e2
add esp, 0x60
ret