Function at 0x14004ddf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x380
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1400b8010]
xor rax, rsp
mov qword [rbp + 0x208], rax
xor edi, edi
mov qword [rbp + 0x184], rdi
mov qword [rbp + 0x198], 2
mov qword [rbp + 0x1b0], 2
mov qword [rbp + 0x170], rdi
mov dword [rbp + 0x180], 0x1c
mov dword [rbp + 0x178], 0x3c
mov dword [rbp + 0x17c], 1
mov dword [rbp + 0x194], 0x20
mov rax, qword [0x1400cbd58]
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x18c], 1
mov qword [rbp + 0x1a8], 1
mov dword [rbp + 0x200], 0xb000
mov dword [rbp + 0x204], 0xa000
lea rax, [0x1400cbd60]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x50], rax
lea rax, [0x1400cbd88]
mov qword [rsp + 0x48], rax
lea rax, [0x1400cbdd8]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov rcx, qword [0x1400cbdd8]
mov rax, qword [rcx]
lea r9, [rbp + 0x160]
lea r8, [0x1400af008]
xor edx, edx
call qword [rax + 0x48]
mov rcx, qword [0x1400cbd88]
mov rax, qword [rcx]
lea r9, [0x1400cbea8]
xor r8d, r8d
mov rdx, qword [rbp + 0x160]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [0x1400cbd48]
test rsi, rsi
je 0x14004df97
inc dword [rsi + 0xf4]
mov ecx, 0x5e58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x150], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x158], rcx
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14004dfcb
xor edx, edx
mov rcx, rax
call fcn.140001cf0
jmp 0x14004dfce
mov rax, rdi
mov qword [0x1400cbd48], rax
call fcn.140005c50
test rsi, rsi
je 0x14004dfe8
mov qword [0x1400cbd48], rsi
jmp 0x14004dfef
mov rsi, qword [0x1400cbd48]
or dword [rsi + 8], 3
xorps xmm6, xmm6
xor eax, eax
movups xmmword [rbp - 0x80], xmm6
movups xmmword [rbp - 0x70], xmm6
movups xmmword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x40], xmm6
movups xmmword [rbp - 0x30], xmm6
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov ebx, 0xffff
mov word [rbp - 0x2c], bx
mov byte [rbp - 0x38], 1
mov byte [rbp - 0x60], 1
mov dword [rbp - 0x68], 2
mov dword [rbp - 0x64], 2
mov rcx, qword [0x1400cbd58]
call fcn.14002e300
call fcn.14002e190
mov qword [rbp + 0x1c8], 0xffffffffffffffff
mov qword [rbp + 0x1d0], 0xffffffffffffffff
mov qword [rbp + 0x1d8], 0xffffffffffffffff
mov qword [rbp + 0x1e0], 0xffffffffffffffff
mov dword [rbp + 0x1e8], 0xffffffff
mov qword [rbp + 0x1ec], 0xfffffffffffffffd
mov dword [rbp + 0x1f4], 0xffffffff
mov qword [rbp + 0x1f8], rdi
mov qword [rsp + 0x30], rdi
lea rax, [0x1400cbe98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x1c8]
mov r8d, 0x218f
lea rdx, [0x1400c9410]
mov rcx, qword [0x1400cbd88]
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
xorps xmm12, xmm12
xor eax, eax
movups xmmword [rbp + 0xc0], xmm12
movups xmmword [rbp + 0xd0], xmm12
movups xmmword [rbp + 0xe0], xmm12
movups xmmword [rbp + 0x100], xmm12
movups xmmword [rbp + 0x110], xmm12
mov qword [rbp + 0x140], rax
mov byte [rbp + 0xcc], 1
mov dword [rbp + 0x104], 0x7f7fffff
mov dword [rbp + 0x110], 0x3f800000
mov word [rbp + 0x114], bx
mov dword [rbp + 0xd8], 1
mov dword [rbp + 0xdc], 1
mov byte [rbp + 0xe0], 1
movups xmm0, xmmword [str.q_thb_YVMH_QQ42]
movups xmmword [rbp + 0xa0], xmm0
movsd xmm0, qword [0x1400aefb0]
movsd qword [rbp + 0xb0], xmm0
movzx eax, word [0x1400aefb8]
mov word [rbp + 0xb8], ax
movzx eax, byte [0x1400aefba]
mov byte [rbp + 0xba], al
mov ecx, edi
mov eax, 5
lea edx, [rax + 0x1a]
mov r13d, dword [0x1400b8018]
cmp r13d, 2
jl 0x14004e2ea
movdqa xmm5, xmmword [0x1400af580]
movdqa xmm4, xmmword [0x1400af7b0]
movd xmm7, eax
movdqa xmm8, xmmword [0x1400af5b0]
movd xmm9, edx
movdqa xmm0, xmmword [0x1400af610]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rbp + 0xa4]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, ecx
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, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, xmm7
movdqa xmm0, xmm1
psrld xmm0, xmm9
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14004e1e0
cmp ecx, 0x1b
jge 0x14004e32e
movsxd rax, ecx
lea r8, [rbp + 0xa0]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x14004e300
movss xmm2, dword [0x1400af3b8]
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsi + 0x58]
call fcn.1400288c0
mov r12, qword [rsi + 0x58]
mov rax, qword [0x1400cbd48]
test rax, rax
je 0x14004e35c
inc dword [rax + 0xf4]
mov ecx, 0x286ac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
lea rax, [0x14005e040]
mov qword [0x1400cbf68], rax
lea r14, [r15 + 0x286ac]
mov qword [0x1400cbf70], r14
mov qword [0x1400cbf78], r15
mov qword [0x1400cbf80], r15
lea rbx, [0x14005e050]
mov rcx, rbx
call fcn.14002c740
cmp rax, rbx
je 0x14004e3c9
nop dword [rax + rax]
cmp qword [0x1400cbf80], r14
ja 0x14004e3c9
mov rbx, rax
mov rcx, rax
call fcn.14002c740
cmp rax, rbx
jne 0x14004e3b0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x10], xmm0
movups xmm2, xmmword [rbp - 0x70]
movups xmm3, xmmword [rbp - 0x60]
movups xmm4, xmmword [rbp - 0x40]
movups xmm5, xmmword [rbp - 0x30]
movsd xmm1, qword [rbp]
mov byte [rbp + 0x1c], 1
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x60], xmm3
movups xmmword [rbp - 0x50], xmm6
movups xmmword [rbp - 0x40], xmm4
movups xmmword [rbp - 0x30], xmm5
movups xmmword [rbp - 0x20], xmm6
movups xmmword [rbp - 0x10], xmm6
movsd qword [rbp], xmm1
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x78], 0x286ac
mov dword [rbp - 0x6c], 0x41b00000
lea rax, [0x1400af0f0]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, r12
call fcn.1400285f0
movsd xmm0, qword [str.q_thSYYL]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [str.UOZ]
mov dword [rsp + 0x78], eax
cmp byte [0x1400af183], 0
je 0x14004e5bf
cmp r13d, 2
jl 0x14004e582
movdqa xmm4, xmmword [0x1400af7b0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400af580]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400af5b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
mov eax, dword [0x1400af610]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.q_thSYYL]
xorps xmm2, xmm0
movd dword [rsp + 0x70], xmm2
movdqa xmm3, xmmword [0x1400af5a0]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400af5b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400af5f0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x74]
xorps xmm2, xmm1
movd dword [rsp + 0x74], xmm2
mov edi, 8
movsxd rax, edi
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, dil
sub al, dl
add al, 0x32
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0xc
jl 0x14004e590
movss xmm2, dword [0x1400af3b4]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 0x58]
call fcn.1400288c0
mov qword [0x1400cbde0], rax
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
movups xmmword [rbp - 0x40], xmm2
movups xmmword [rbp - 0x30], xmm2
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
mov dword [rbp - 0x3c], 0x7f7fffff
mov dword [rbp - 0x30], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm2
movups xmmword [rbp + 0x40], xmm2
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x60], xmm1
movups xmmword [rbp + 0x70], xmm2
movups xmmword [rbp + 0x80], xmm2
movsd xmm0, qword [rbp]
movsd qword [rbp + 0x90], xmm0
lea rax, str.OTTO
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0xf428
mov dword [rbp + 0x24], 0x41800000
lea rax, [0x1400adf30]
mov qword [rbp + 0x48], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rsi + 0x58]
call fcn.1400285f0
mov qword [0x1400cbe80], rax
movups xmm11, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x10], xmm11
movups xmm10, xmmword [rbp + 0xd0]
movups xmmword [rbp + 0x20], xmm10
movups xmm9, xmmword [rbp + 0xe0]
movups xmmword [rbp + 0x30], xmm9
movups xmmword [rbp + 0x40], xmm12
movups xmm8, xmmword [rbp + 0x100]
movups xmmword [rbp + 0x50], xmm8
movups xmm7, xmmword [rbp + 0x110]
movups xmmword [rbp + 0x60], xmm7
movups xmmword [rbp + 0x70], xmm12
movups xmmword [rbp + 0x80], xmm12
movsd xmm6, qword [rbp + 0x140]
movsd qword [rbp + 0x90], xmm6
lea rdi, [0x1400b8050]
mov qword [rbp + 0x10], rdi
mov dword [rbp + 0x18], 0x1f90
mov dword [rbp + 0x24], 0x41600000
lea rbx, [0x1400af128]
mov qword [rbp + 0x48], rbx
lea rdx, [rbp + 0x10]
mov rcx, qword [rsi + 0x58]
call fcn.1400285f0
mov qword [0x1400cbd50], rax
movups xmmword [rbp + 0x10], xmm11
movups xmmword [rbp + 0x20], xmm10
movups xmmword [rbp + 0x30], xmm9
movups xmmword [rbp + 0x40], xmm12
movups xmmword [rbp + 0x50], xmm8
movups xmmword [rbp + 0x60], xmm7
movups xmmword [rbp + 0x70], xmm12
movups xmmword [rbp + 0x80], xmm12
movsd qword [rbp + 0x90], xmm6
mov qword [rbp + 0x10], rdi
mov dword [rbp + 0x18], 0x1f90
mov dword [rbp + 0x24], 0x41e00000
mov qword [rbp + 0x48], rbx
lea rdx, [rbp + 0x10]
mov rcx, qword [rsi + 0x58]
call fcn.1400285f0
mov rcx, qword [0x1400cbd58]
call fcn.14002e300
call fcn.14002e190
mov rcx, qword [0x1400cbd88]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rcx, qword [rbp + 0x208]
xor rcx, rsp
call fcn.140054fc0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret