Function at 0x4e1e30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xd8
call fcn.005555e0
sub rsp, rax
mov rax, qword [0x005c3458]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xa8], r13
xor r13d, r13d
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x100]
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r15
dec eax
mov r14d, r9d
mov qword [rsp + 0x48], r8
cmp eax, 0x29
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x40], rcx
mov rsi, r13
mov r15d, r13d
jl 0x4e20dd
mov ebx, eax
sub ebx, r9d
jns 0x4e1ed6
lea r15d, [r13 + 1]
mov ebx, r13d
mov r14d, eax
lea edi, [rax - 0x14]
lea rdx, [0x005d2a90]
mov r8d, 0x7b
lea ecx, [rdi + rax]
call fcn.00472400
test rax, rax
mov rsi, rax
jne 0x4e1f19
lea r9, [0x005d2aa8]
lea edx, [rax + 0x7a]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x7e
call fcn.00475480
jmp 0x4e210a
movsxd r12, edi
movsxd rbx, ebx
xor edx, edx
lea rbp, [r12 + rax]
mov r8, rbx
mov rcx, rbp
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x48]
lea rcx, [rbx + rbp]
movsxd r8, r14d
call sub.msvcrt.dll_memcpy
lea r14, [rbp + 0x14]
call fcn.004c3780
mov ebx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x50]
mov r9d, edi
mov r8, r14
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.004e1990
test eax, eax
jne 0x4e210a
lea rax, [rsp + 0x50]
mov r8, rbp
mov rdx, r13
sub r8, rax
nop
lea rcx, [rsp + rdx + 0x50]
add rdx, 5
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
movzx eax, byte [rdx + rbp - 4]
xor byte [rcx + 1], al
movzx eax, byte [rdx + rbp - 3]
xor byte [rcx + 2], al
movzx eax, byte [rdx + rbp - 2]
xor byte [rcx + 3], al
movzx eax, byte [rdx + rbp - 1]
xor byte [rcx + 4], al
cmp rdx, rbx
jl 0x4e1f80
call fcn.004c3780
lea r8, [rsp + 0x50]
mov r9d, ebx
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.004e1990
test eax, eax
jne 0x4e210a
test edi, edi
jle 0x4e2000
mov rcx, rsi
sub r14, rsi
mov rdx, r12
nop
nop
nop
movzx eax, byte [r14 + rcx]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x4e1ff0
call fcn.004c3780
movsxd rdx, dword [rsp + 0x110]
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.004d6700
mov rcx, qword [rsi]
lea rax, [rsp + 0x68]
cmp rcx, qword [rax]
jne 0x4e2048
mov rcx, qword [rsi + 8]
cmp rcx, qword [rax + 8]
jne 0x4e2048
mov ecx, dword [rsi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x4e2050
sbb eax, eax
sbb eax, 0xffffffff
mov r13d, eax
test r13d, r13d
jne 0x4e20dd
test r15d, r15d
jne 0x4e20dd
cmp rbx, r12
mov rax, rbx
jge 0x4e2076
cmp byte [rax + rsi], 0
jne 0x4e2076
inc rax
inc ebx
cmp rax, r12
jl 0x4e2066
cmp ebx, edi
je 0x4e20dd
movsxd rax, ebx
cmp byte [rax + rsi], 1
jne 0x4e20dd
inc ebx
sub edi, ebx
cmp dword [rsp + 0x30], edi
jge 0x4e20be
mov edx, 0x7a
lea r9, [0x005d2ac0]
mov dword [rsp + 0x20], 0xa6
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 0xd]
call fcn.00475480
mov rcx, rsi
mov edi, 0xffffffff
call fcn.004728d0
mov eax, edi
jmp 0x4e210f
mov rcx, qword [rsp + 0x40]
movsxd rdx, ebx
movsxd r8, edi
add rdx, rsi
call sub.msvcrt.dll_memcpy
mov rcx, rsi
call fcn.004728d0
mov eax, edi
jmp 0x4e210f
mov edx, 0x7a
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0xb3
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 1]
call fcn.00475480
test rsi, rsi
je 0x4e210a
mov rcx, rsi
call fcn.004728d0
mov eax, 0xffffffff
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
call fcn.005555b0
add rsp, 0xd8
ret