Function at 0x4b04e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x68
call fcn.005e38a0
mov eax, dword [0x6c6e10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
xor eax, eax
push edi
mov edi, edx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.004176e0
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4b082d
cmp dword [ebp - 0x58], 0
jne 0x4b052f
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x4b0556
push 0x143
push str.....cryptoevpevp_lib.c
push 0x9f
push 0xa2
push 6
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
mov esi, dword [esi + 8]
mov dword [ebp - 0x54], esi
test esi, esi
js 0x4b082d
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x4b0589
mov dword [ebp + 0x14], esi
mov eax, dword [edi + 0x10]
test byte [eax + 0x10], 4
mov ecx, dword [eax + 4]
lea esi, [ecx - 1]
je 0x4b05ab
push eax
call fcn.0040a310
add esp, 4
jmp 0x4b05c2
cmp eax, 0xfffffffd
jge 0x4b056f
push 0x3f
push str.....crypto_rsa_rsa_pss.c
push 0x88
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
test ecx, ecx
jne 0x4b05b3
xor eax, eax
jmp 0x4b05c2
mov edx, dword [eax]
mov ecx, dword [edx + esi*4]
call fcn.0040a280
shl esi, 5
add eax, esi
lea esi, [eax - 1]
and esi, 7
push edi
mov dword [ebp - 0x5c], esi
call fcn.004072f0
mov edx, 0xff
mov ecx, esi
shl edx, cl
add esp, 4
test byte [ebx], dl
je 0x4b05fe
push 0x46
push str.....crypto_rsa_rsa_pss.c
push 0x85
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
cmp dword [ebp - 0x5c], 0
jne 0x4b0606
inc ebx
dec eax
mov edx, dword [ebp - 0x54]
lea ecx, [edx + 2]
cmp eax, ecx
jge 0x4b062a
push 0x4e
push str.....crypto_rsa_rsa_pss.c
push 0x6d
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
mov esi, dword [ebp + 0x14]
mov ecx, eax
sub ecx, edx
lea edx, [ecx - 2]
cmp esi, 0xfffffffd
jne 0x4b0660
mov dword [ebp + 0x14], edx
cmp byte [ebx + eax - 1], 0xbc
je 0x4b0668
push 0x58
push str.....crypto_rsa_rsa_pss.c
push 0x86
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
cmp esi, edx
jle 0x4b063c
push 0x54
jmp 0x4b0612
lea esi, [ecx - 1]
push 0x5d
push str.....crypto_rsa_rsa_pss.c
lea edi, [ebx + esi]
push esi
mov dword [ebp - 0x64], edi
call fcn.00413cb0
add esp, 0xc
mov dword [ebp - 0x4c], eax
test eax, eax
jne 0x4b06a2
push 0x5f
push str.....crypto_rsa_rsa_pss.c
push 0x41
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
push ecx
push edx
push esi
push eax
mov ecx, edi
call fcn.00473bc0
add esp, 0x10
test eax, eax
js 0x4b082d
mov edx, dword [ebp - 0x4c]
test esi, esi
jle 0x4b06d9
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov edi, esi
lea ecx, [ecx]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edi
jne 0x4b06d0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4b06f0
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [edx], al
xor edi, edi
cmp byte [edx], 0
jne 0x4b070b
lea eax, [esi - 1]
lea ebx, [ebx]
cmp edi, eax
jge 0x4b070b
inc edi
cmp byte [edi + edx], 0
je 0x4b0700
mov cl, byte [edi + edx]
inc edi
cmp cl, 1
je 0x4b0731
push 0x6a
push str.....crypto_rsa_rsa_pss.c
push 0x87
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
jmp 0x4b082d
mov eax, dword [ebp + 0x14]
cmp eax, 0xfffffffe
je 0x4b0748
mov edx, esi
sub edx, edi
cmp edx, eax
je 0x4b0748
push 0x6e
jmp 0x4b0590
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x48]
push 0
push eax
push ecx
call fcn.00417790
add esp, 0xc
test eax, eax
je 0x4b082d
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x14]
push 8
push 0x66c36c
push eax
call edx
add esp, 0xc
test eax, eax
je 0x4b082d
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
push ebx
push eax
call fcn.004179e0
add esp, 8
test eax, eax
je 0x4b082d
sub esi, edi
je 0x4b07b0
add edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push esi
push edi
call fcn.004179e0
add esp, 8
test eax, eax
je 0x4b082d
mov esi, dword [ebp - 0x48]
xor edi, edi
lea ecx, [ebp - 0x44]
call fcn.00417a80
test eax, eax
je 0x4b082d
mov ecx, dword [ebp - 0x64]
mov eax, ebx
lea edi, [ebp - 0x44]
cmp ebx, 4
jb 0x4b07e4
mov edi, edi
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x4b0808
sub eax, 4
add ecx, 4
add edi, 4
cmp eax, 4
jae 0x4b07d0
test eax, eax
je 0x4b0826
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x4b0808
cmp eax, 1
jbe 0x4b0826
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x4b0808
cmp eax, 2
jbe 0x4b0826
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
je 0x4b0826
push 0x7c
push str.....crypto_rsa_rsa_pss.c
push 0x68
push 0x7e
push 4
call fcn.004058f0
add esp, 0x14
mov dword [ebp - 0x50], 0
jmp 0x4b082d
mov dword [ebp - 0x50], 1
mov eax, dword [fcn.00413ef0]
test eax, eax
je 0x4b0852
cmp eax, fcn.00413ef0
je 0x4b0852
mov ecx, dword [ebp - 0x4c]
push 0x83
push str.....crypto_rsa_rsa_pss.c
push ecx
call eax
add esp, 0xc
jmp 0x4b085e
mov edx, dword [ebp - 0x4c]
push edx
call fcn.005dcea1
add esp, 4
mov esi, dword [ebp - 0x48]
push esi
call fcn.00417660
mov eax, dword [fcn.00413ef0]
add esp, 4
test eax, eax
je 0x4b089b
cmp eax, fcn.00413ef0
je 0x4b089b
push 0x39
push str.....cryptoevpdigest.c
push esi
call eax
mov eax, dword [ebp - 0x50]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret
push esi
call fcn.005dcea1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dcf8a
mov esp, ebp
pop ebp
ret