Function at 0x4a1eb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.00474480
mov eax, dword [0x51f620]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
push ebx
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
push esi
push edi
xor edi, edi
dec eax
cmp eax, 0x29
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
jl 0x4a20e6
mov ebx, eax
sub ebx, dword [esp + 0x5c]
jns 0x4a1f0b
mov dword [esp + 0x14], 1
xor ebx, ebx
mov dword [esp + 0x5c], eax
lea ebp, [eax - 0x14]
push 0x7b
add eax, ebp
push str..crypto_rsa_rsa_oaep.c
push eax
call fcn.00495230
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4a1f40
push 0x7e
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x7a
push 4
call fcn.004986d0
add esp, 0x14
jmp 0x4a210b
push ebx
lea esi, [edi + ebp]
push 0
push esi
call fcn.004737c0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esi + ebx]
push eax
call fcn.00475820
lea ebx, [esi + 0x14]
mov dword [esp + 0x28], ebx
call fcn.00495a10
push eax
push ebp
push ebx
lea ecx, [esp + 0x44]
push 0x14
push ecx
call fcn.004a1b40
add esp, 0x2c
test eax, eax
jne 0x4a210b
mov edx, esi
lea eax, [esp + 0x20]
xor ecx, ecx
sub edx, eax
nop
lea eax, [esp + ecx + 0x20]
movzx ebx, byte [edx + eax]
xor byte [eax], bl
movzx ebx, byte [esi + ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [esi + ecx + 2]
xor byte [eax + 2], bl
movzx ebx, byte [esi + ecx + 3]
xor byte [eax + 3], bl
movzx ebx, byte [esi + ecx + 4]
xor byte [eax + 4], bl
add ecx, 5
cmp ecx, 0x14
jl 0x4a1f90
call fcn.00495a10
push eax
push 0x14
lea ecx, [esp + 0x28]
push ecx
push ebp
push edi
call fcn.004a1b40
add esp, 0x14
test eax, eax
jne 0x4a210b
test ebp, ebp
jle 0x4a1ffb
mov ecx, dword [esp + 0x10]
mov eax, edi
sub ecx, edi
mov esi, ebp
nop
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub esi, 1
jne 0x4a1ff0
push 0
call fcn.00495a10
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x40]
push eax
push ecx
push edx
call fcn.004958e0
lea eax, [esp + 0x4c]
mov edx, edi
mov esi, eax
add esp, 0x18
mov ecx, 0x14
sub edx, esi
jmp 0x4a2030
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x4a20e6
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x4a2030
cmp dword [esp + 0x14], 0
jne 0x4a20e6
mov eax, 0x14
cmp eax, ebp
jge 0x4a206d
lea ebx, [ebx]
cmp byte [eax + edi], 0
jne 0x4a206b
inc eax
cmp eax, ebp
jl 0x4a2060
cmp eax, ebp
je 0x4a20e6
cmp byte [eax + edi], 1
jne 0x4a20e6
inc eax
sub ebp, eax
cmp dword [esp + 0x54], ebp
jge 0x4a20b7
push 0xa6
push str..crypto_rsa_rsa_oaep.c
push 0x6d
push 0x7a
push 4
call fcn.004986d0
add esp, 0x14
push edi
or ebp, 0xffffffff
call fcn.004953d0
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046d9d8
add esp, 0x3c
ret
add eax, edi
push ebp
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00475820
add esp, 0xc
push edi
call fcn.004953d0
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0046d9d8
add esp, 0x3c
ret
push 0xb3
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.004986d0
add esp, 0x14
test edi, edi
je 0x4a210b
push edi
call fcn.004953d0
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.0046d9d8
add esp, 0x3c
ret