Function at 0x100b5f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1013a420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
push edi
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], 0
call fcn.1006b130
test esi, esi
push edi
cmove esi, edi
mov dword [ebp - 0x60], esi
call fcn.1006b560
mov edi, eax
add esp, 8
test edi, edi
js 0x100b6250
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x100b5fbf
mov dword [ebp + 0x1c], edi
mov esi, dword [ebp - 0x4c]
push dword [esi + 0x10]
call fcn.10057000
dec eax
and eax, 7
push esi
mov dword [ebp - 0x4c], eax
call fcn.10095ee0
mov ecx, dword [ebp - 0x4c]
mov esi, eax
mov eax, 0xff
add esp, 8
shl eax, cl
test byte [ebx], al
je 0x100b5feb
push 0x74
push str.rsa_rsa_pss.c
push 0x85
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6250
cmp eax, 0xfffffffe
jne 0x100b5fc9
mov dword [ebp + 0x1c], eax
jmp 0x100b5f74
jge 0x100b5f74
push 0x6c
push str.rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6250
test ecx, ecx
jne 0x100b5ff4
inc ebx
dec esi
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 0x1c]
add eax, 2
add eax, edi
cmp esi, eax
jge 0x100b601d
push 0x7e
push str.rsa_rsa_pss.c
push 0x6d
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6250
cmp byte [ebx + esi - 1], 0xbc
je 0x100b6047
push 0x83
push str.rsa_rsa_pss.c
push 0x86
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6250
push 0x88
sub esi, edi
dec esi
push str.rsa_rsa_pss.c
push esi
mov dword [ebp - 0x54], esi
add ebx, esi
call fcn.1005c350
add esp, 0xc
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x100b6089
push 0x8b
push str.rsa_rsa_pss.c
push 0x41
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6250
push dword [ebp - 0x60]
push edi
push ebx
push esi
push eax
call fcn.100b0260
add esp, 0x14
test eax, eax
js 0x100b6245
mov edx, dword [ebp - 0x48]
test esi, esi
jle 0x100b60bf
sub dword [ebp - 0x50], edx
mov ecx, edx
mov edx, dword [ebp - 0x50]
nop
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
dec esi
jne 0x100b60b0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x100b60d6
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edx], al
mov ecx, dword [ebp - 0x54]
xor esi, esi
cmp byte [edx], 0
jne 0x100b60ee
lea eax, [ecx - 1]
cmp esi, eax
jge 0x100b60ee
inc esi
cmp byte [esi + edx], 0
je 0x100b60e3
mov al, byte [esi + edx]
inc esi
cmp al, 1
je 0x100b6119
push 0x97
push str.rsa_rsa_pss.c
push 0x87
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6245
mov edx, dword [ebp + 0x1c]
test edx, edx
js 0x100b614b
mov eax, ecx
sub eax, esi
cmp eax, edx
je 0x100b614b
push 0x9c
push str.rsa_rsa_pss.c
push 0x88
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
jmp 0x100b6245
push 0
push dword [ebp - 0x5c]
lea eax, [ebp - 0x7c]
push eax
call fcn.1006ace0
add esp, 0xc
test eax, eax
je 0x100b6245
push 8
lea eax, [ebp - 0x7c]
push 0x10116afc
push eax
call fcn.1006ae90
add esp, 0xc
test eax, eax
je 0x100b6245
push edi
push dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
call fcn.1006ae90
add esp, 0xc
test eax, eax
je 0x100b6245
mov eax, dword [ebp - 0x54]
sub eax, esi
je 0x100b61b9
push eax
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1006ae90
add esp, 0xc
test eax, eax
je 0x100b6245
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1006ac30
add esp, 0xc
test eax, eax
je 0x100b6245
lea ecx, [ebp - 0x44]
sub edi, 4
jb 0x100b61e8
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100b61ed
add ecx, 4
add ebx, 4
sub edi, 4
jae 0x100b61d7
cmp edi, 0xfffffffc
je 0x100b623e
mov al, byte [ecx]
cmp al, byte [ebx]
jne 0x100b621a
cmp edi, 0xfffffffd
je 0x100b623e
mov al, byte [ecx + 1]
cmp al, byte [ebx + 1]
jne 0x100b621a
cmp edi, 0xfffffffe
je 0x100b623e
mov al, byte [ecx + 2]
cmp al, byte [ebx + 2]
jne 0x100b621a
cmp edi, 0xffffffff
je 0x100b623e
mov al, byte [ecx + 3]
cmp al, byte [ebx + 3]
je 0x100b623e
push 0xac
push str.rsa_rsa_pss.c
push 0x68
push 0x95
push 4
call fcn.10054d40
add esp, 0x14
mov dword [ebp - 0x58], 0
jmp 0x100b6245
mov dword [ebp - 0x58], 1
push dword [ebp - 0x48]
call fcn.1005c2d0
add esp, 4
lea eax, [ebp - 0x7c]
push eax
call fcn.1006aea0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x58]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1003890f
mov esp, ebp
pop ebp
ret