Function at 0x180050cf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x18010e6c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
cmp edx, 1
jne 0x180050f64
mov r8d, 0x104
mov qword [rsp + 0x240], rbx
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
lea rax, [rbp + 0x10]
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180050d50
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.180001bb0
xor ebx, ebx
mov dword [rsp + 0x70], 0xd0fae6c0
mov edx, ebx
mov dword [rsp + 0x74], 0xb5fff4f9
mov dword [rsp + 0x78], 0xfbe5f9
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx - 0x6c]
inc edx
xor byte [rcx], al
cmp edx, 0xb
jb 0x180050d90
xor r8d, r8d
mov byte [rsp + 0x7b], bl
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.180050bf0
cmp rax, 0xffffffffffffffff
je 0x180050f25
movdqa xmm0, xmmword [0x1800f8010]
xor eax, eax
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rbp - 0x66], al
mov edx, ebx
mov dword [rbp - 0x70], 0xccc8cce8
mov dword [rbp - 0x6c], 0xcec0cbe7
mov word [rbp - 0x68], 0xd9cf
nop
movsxd rax, edx
lea rcx, [rbp - 0x80]
add rcx, rax
lea eax, [rdx - 0x6c]
inc edx
xor byte [rcx], al
cmp edx, 0x1a
jb 0x180050df0
mov byte [rbp - 0x66], bl
mov edx, ebx
mov dword [rsp + 0x70], 0xfbf2e1da
mov dword [rsp + 0x74], 0xf7feb7f4
mov word [rsp + 0x78], 0xf0
nop dword [rax]
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x70]
add rcx, rax
lea eax, [rdx - 0x6c]
inc edx
xor byte [rcx], al
cmp edx, 9
jb 0x180050e30
lea rcx, [rsp + 0x70]
mov byte [rsp + 0x79], bl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, 0xffffffffffffffff
mov qword [rsp + 0x68], rbx
xor r8d, r8d
mov qword [rbp - 0x40], 0x48
mov edx, 0x1fffff
mov qword [rbp - 0x38], 0x10003
mov ecx, dword [rax + 4]
inc ecx
mov qword [rsp + 0x70], rbx
mov eax, ecx
mov qword [0x180113df0], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rax, [0x18004fdf0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [0x18010f610], ecx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x30], 0x10
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0x10004
mov qword [rbp - 0x10], 8
mov qword [rbp], rbx
mov qword [rsp + 0x60], rbx
call fcn.18000190c
mov eax, dword [0x180113de8]
mov rcx, qword [rsp + 0x60]
mov dword [0x18010f610], eax
call fcn.18000190c
mov rdx, qword [rbp - 0x48]
mov rbx, qword [rsp + 0x240]
cmp rdx, 0xf
jbe 0x180050f64
mov rcx, qword [rbp - 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050f5f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180050f81
call fcn.180051684
mov eax, 1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.180051b70
add rsp, 0x230
pop rbp
ret
call fcn.18005882c
int3