Function at 0x5387c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xb0
call fcn.004c3410
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc8]
push ebx
push ebp
mov ebp, dword [esp + 0xcc]
push esi
mov esi, dword [esp + 0xe0]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xdc]
push edi
mov edi, dword [esp + 0xd0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jne 0x53884c
call fcn.004df100
mov dword [esp + 0x14], eax
cmp esi, ebx
jne 0x538854
mov dword [esp + 0x28], eax
push eax
call fcn.004df260
add esp, 4
cmp dword [esp + 0xc8], ebx
mov esi, eax
jle 0x538b17
cmp edi, ebx
jle 0x538b17
cmp ebp, edi
jl 0x538b0e
lea eax, [esi + esi + 2]
cmp ebp, eax
jl 0x538b0e
mov edi, ebp
push 0x9b
sub edi, esi
dec edi
push str..crypto_rsa_rsa_oaep.c
push edi
call fcn.004c5d80
push 0x9c
push str..crypto_rsa_rsa_oaep.c
push ebp
mov dword [esp + 0x28], eax
call fcn.004c5d80
add esp, 0x18
cmp dword [esp + 0x10], 0
mov ebx, eax
mov dword [esp + 0x2c], ebx
je 0x538af1
test ebx, ebx
je 0x538af1
push ebp
push 0
push ebx
call fcn.004add60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
push eax
sub ebp, eax
push ecx
add ebp, ebx
push ebp
call fcn.004ad550
movzx eax, byte [ebx]
lea ebp, [eax - 1]
not eax
shr eax, 0x1f
shr ebp, 0x1f
and ebp, eax
mov eax, dword [esp + 0x40]
push eax
lea edx, [ebx + 1]
push edi
lea ebx, [esi + ebx + 1]
push ebx
lea ecx, [esp + 0x60]
push esi
push ecx
neg ebp
mov dword [esp + 0x44], edx
call fcn.00538430
add esp, 0x2c
test eax, eax
jne 0x538ab7
xor ecx, ecx
test esi, esi
jle 0x538952
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
sub edx, eax
mov dword [esp + 0x18], edx
jmp 0x538944
mov edx, dword [esp + 0x18]
lea eax, [esp + ecx + 0x3c]
mov dl, byte [edx + eax]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x538940
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
call fcn.00538430
add esp, 0x14
test eax, eax
jne 0x538ab7
test edi, edi
jle 0x53898c
mov eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, eax
mov edx, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
sub edx, 1
jne 0x538981
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xdc]
push 0
push eax
mov eax, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.004dec10
add esp, 0x18
test eax, eax
je 0x538ab7
mov edx, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x80]
push ecx
push edx
call fcn.004c66b0
lea ecx, [eax - 1]
shr ecx, 0x1f
not eax
shr eax, 0x1f
and ecx, eax
neg ecx
and ebp, ecx
add esp, 0xc
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x14], ebp
jge 0x538a44
jmp 0x5389f0
mov edx, dword [esp + 0x10]
movzx ecx, byte [esi + edx]
mov eax, ecx
xor eax, 1
lea edx, [eax - 1]
not eax
shr eax, 0x1f
shr edx, 0x1f
and edx, eax
mov eax, ebx
not eax
neg edx
and eax, edx
mov ebp, eax
and eax, esi
not ebp
and ebp, dword [esp + 0x20]
or ebx, edx
or ebp, eax
lea eax, [ecx - 1]
shr eax, 0x1f
not ecx
shr ecx, 0x1f
and eax, ecx
neg eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x14]
or eax, ebx
and ebp, eax
inc esi
cmp esi, edi
mov dword [esp + 0x14], ebp
jl 0x5389f0
test ebp, ebx
je 0x538a81
mov ecx, dword [esp + 0x20]
inc ecx
mov eax, edi
sub eax, ecx
cmp dword [esp + 0xc8], eax
mov dword [esp + 0x24], eax
jge 0x538aa2
push 0xe1
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0xa1
push 4
call fcn.004c7820
add esp, 0x14
mov dword [esp + 0x24], 0xffffffff
mov ebp, dword [esp + 0x1c]
push 0xee
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0xa1
push 4
call fcn.004c7820
add esp, 0x14
jmp 0x538abb
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
add ecx, edx
push ecx
push eax
call fcn.004ad550
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x538ad3
push edi
push esi
call fcn.004d3da0
push esi
call fcn.004c5f80
add esp, 0xc
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x538aeb
push ebp
push esi
call fcn.004d3da0
push esi
call fcn.004c5f80
add esp, 0xc
mov eax, dword [esp + 0x24]
jmp 0x538b1a
push 0x9e
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0xa1
push 4
call fcn.004c7820
add esp, 0x14
jmp 0x538abb
mov edi, dword [esp + 0x30]
jmp 0x538a85
or eax, 0xffffffff
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a314d
add esp, 0xb0
ret