Function at 0x180003900
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor r14d, r14d
mov r12, r9
cmp qword [0x18008afe0], r14
mov r13d, r8d
mov rdi, rdx
mov rsi, rcx
jne 0x1800039ee
movdqa xmm0, xmmword [0x180079b70]
mov ecx, r14d
movdqa xmm1, xmmword [0x18007a010]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x30], 0x1005d53
movdqu xmmword [rbp - 0x40], xmm1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x47]
xor byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x22
jb 0x180003970
cmp byte [0x18008aff0], r14b
mov byte [rbp - 0x2d], r14b
jne 0x1800039be
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x18
lea r8, [0x18008afb0]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov byte [0x18008aff0], 1
mov rcx, qword [0x18008afb0]
lea rdx, [rbp - 0x50]
call fcn.1800032c0
movabs rdx, 0xffffffff00000005
add rdx, rax
mov ecx, dword [rax + 1]
add rdx, rcx
mov qword [0x18008afe0], rdx
je 0x180003b79
lea rcx, [rdi + 0x280]
call fcn.180003180
test eax, eax
je 0x180003b51
mov rdi, qword [rdi + 0x280]
test rdi, rdi
je 0x180003b51
mov rdx, qword [0x18008b000]
mov r14, qword [0x18008afe0]
mov qword [rsp + 0x78], r15
mov r15, qword [0x180087650]
test rdx, rdx
jne 0x180003af7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
mov dword [rbp - 0x24], 0x7865742e
mov byte [rbp - 0x20], 0x74
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 0x14]
movzx eax, word [rcx + 6]
add r8, 0x18
add r8, rcx
lea rcx, [rax + rax*4]
lea r11, [r8 + rcx*8]
cmp r8, r11
je 0x180003ab3
lea r9, [rbp - 0x24]
sub r9, r8
nop word [rax + rax]
lea r10, [r8 + 5]
mov rdx, r8
cmp r8, r10
je 0x180003ab3
nop dword [rax]
movsx ecx, byte [r9 + rdx]
movzx eax, byte [rdx]
cmp eax, ecx
jne 0x180003aa6
inc rdx
cmp rdx, r10
jne 0x180003a90
jmp 0x180003ab3
add r8, 0x28
sub r9, 0x28
cmp r8, r11
jne 0x180003a80
mov eax, dword [r8 + 8]
mov ecx, dword [r8 + 0xc]
add rcx, rbx
mov word [rbp - 0x28], 0x26ff
lea rdx, [rax + rcx]
cmp rax, 2
jb 0x180003af0
movzx eax, word [rbp - 0x28]
lea r8, [rdx - 2]
cmp ax, word [rcx]
je 0x180003aed
nop dword [rax + rax]
cmp rcx, r8
je 0x180003af0
inc rcx
cmp ax, word [rcx]
jne 0x180003ae0
mov rdx, rcx
mov qword [0x18008b000], rdx
xor eax, eax
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x40], rax
xor ebx, ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, r13d
mov qword [rbp - 0x48], r14
mov rdx, r15
mov rcx, rdi
call fcn.180031e10
mov rdx, qword [0x180087650]
mov r15, qword [rsp + 0x78]
mov ecx, dword [rdx + 0x30]
mov dword [r12], ecx
mov ecx, dword [rdx + 0x34]
mov dword [r12 + 4], ecx
mov ecx, dword [rdx + 0x38]
mov dword [r12 + 8], ecx
mov qword [rsi], rbx
mov dword [rsi + 8], ebx
jmp 0x180003b58
mov qword [rsi], r14
mov dword [rsi + 8], r14d
mov rax, rsi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.18003a5b0
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movdqa xmm0, xmmword [0x180079be0]
lea rcx, [rbp - 0x50]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x1007976
call fcn.180003bb0
mov rcx, qword [sym.imp.USER32.dll_MessageBoxA]
mov r8, rax
call fcn.18000e9c0
xor ecx, ecx
call fcn.180041f60
int3