Function at 0x18003a770
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1803d2380]
xor rax, rsp
mov qword [rbp + 0x90], rax
cmp dword [0x1803d3494], 0
je 0x18003a7b8
mov al, 1
jmp 0x18003ad91
lea rcx, [rbp + 0x60]
call fcn.1800493b0
nop
mov dword [rbp - 0x40], 0x50
mov dword [rbp - 0x3c], 3
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbp - 0x38], rax
xor ebx, ebx
mov qword [rbp - 0x30], rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rax, qword [rbp + 0x60]
mov qword [rbp], rax
mov qword [rbp + 8], rbx
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_RegisterClassExA]
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r8, qword [rbp + 0x60]
mov qword [rsp + 0x58], rbx
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0xcf0000
mov rdx, qword [rbp]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
movsd xmm0, qword [0x1800c2160]
movsd qword [rsp + 0x60], xmm0
movzx ecx, word [0x1800c2168]
mov word [rsp + 0x68], cx
cmp byte [0x1800c2169], bl
je 0x18003a8c4
mov byte [rsp + 0x60], 0x64
xor byte [rsp + 0x61], 0x32
xor byte [rsp + 0x62], 0x33
xor byte [rsp + 0x63], 0x34
xor byte [rsp + 0x64], 0x35
xor byte [rsp + 0x65], 0x36
xor byte [rsp + 0x66], 0x37
xor byte [rsp + 0x67], 0x38
xor byte [rsp + 0x68], 0x39
xor byte [rsp + 0x69], 0x3a
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, rax
test rax, rax
je 0x18003ab98
movups xmm0, xmmword [0x1800c2170]
movups xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1800c2180]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x1800c2188]
mov dword [rbp - 0x78], eax
movzx eax, word [0x1800c218c]
mov word [rbp - 0x74], ax
cmp byte [0x1800c218d], bl
je 0x18003aac3
mov r8d, ebx
cmp dword [0x1803d2360], 2
jl 0x18003aa7b
movdqa xmm5, xmmword [0x1800c3a80]
movdqa xmm4, xmmword [0x1800c3ea0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1800c3aa0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.1111111111111111]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rsp + 0x74]
mov edx, dword [rbp - 0x70]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c3ae0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800c3ae0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x18003a970
cmp r8d, 0x1e
jge 0x18003aac3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1e
jl 0x18003aa90
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18003ab98
mov dword [rbp + 0x88], 0xa100
mov dword [rbp + 0x8c], 0xb000
mov dword [rbp + 0x10], 0x64
mov dword [rbp + 0x14], 0x64
mov dword [rbp + 0x18], 0x3c
mov dword [rbp + 0x1c], 1
mov qword [rbp + 0x20], 0x1c
mov dword [rbp + 0x28], ebx
mov qword [rbp + 0x2c], 1
mov dword [rbp + 0x34], 0x20
mov dword [rbp + 0x38], 1
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 1
mov ebx, 2
mov dword [rbp + 0x50], ebx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx - 1]
xor ecx, ecx
call rax
test eax, eax
jns 0x18003abb6
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor bl, bl
jmp 0x18003ad50
mov edx, 8
mov ecx, 0xcd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r8, rax
mov qword [0x1803d3448], rax
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rcx]
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rax + 0x70], xmm1
movups xmm0, xmmword [rdx + 0x80]
movups xmmword [rax + 0x80], xmm0
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
lea rax, [r8 + 0x90]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rbx, 1
jne 0x18003ac31
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
mov rcx, qword [rcx + 0x50]
mov qword [rax + 0x50], rcx
mov rax, qword [rbp - 0x58]
mov rcx, qword [rax]
lea rax, [r8 + 0x1e8]
lea edx, [rbx + 9]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x18003acc2
call fcn.180083f50
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov bl, 1
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x18003ad8e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ad89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ad89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084828
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180084e40
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret