Function at 0x1800674bc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
cmp byte [0x1800f62b8], 0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
jne 0x18006776f
mov rax, qword [rcx]
lea r8, [rbp + 0x68]
lea rdx, [0x1800a23a0]
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x10]
mov edx, 0xfffffffc
mov r8, qword [rbp + 0x78]
mov qword [rdi], rcx
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x68]
mov rcx, qword [rbp + 0x68]
lea rdx, [0x1800badd0]
and qword [rbp - 0x68], 0
or r14d, 0xffffffff
mov qword [rsi], rax
mov r8d, 0x8d08
or esi, 0xffffffff
mov dword [rsp + 0x68], r14d
lea rax, [0x1800f6138]
mov dword [rsp + 0x6c], r14d
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea ebx, [rsi - 2]
mov dword [rsp + 0x70], r14d
mov dword [rbp - 0x74], ebx
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x7c], esi
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x7c], r14d
mov dword [rbp - 0x78], r14d
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x6c], r14d
call sub.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory
and qword [rsp + 0x30], 0
lea rax, [0x1800f6140]
mov rcx, qword [rbp + 0x68]
lea r9, [rbp - 0x60]
and qword [rbp - 0x30], 0
lea rdx, [0x1800c3ae0]
mov qword [rsp + 0x28], rax
mov r8d, 0x31036
and qword [rsp + 0x20], 0
mov dword [rbp - 0x60], r14d
mov dword [rbp - 0x5c], r14d
mov dword [rbp - 0x58], r14d
mov dword [rbp - 0x54], r14d
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x4c], esi
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x40], r14d
mov dword [rbp - 0x3c], ebx
mov dword [rbp - 0x38], r14d
mov dword [rbp - 0x34], r14d
call sub.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory
xor ecx, ecx
call fcn.180025660
call fcn.18002774c
mov rsi, rax
mov rbx, qword [rax + 0x50]
mov rcx, rbx
mov dword [rax], 0x20
call fcn.18003941c
movdqa xmm0, xmmword [0x1800a26f0]
mov rcx, rax
movdqa xmm1, xmmword [0x1800a2740]
xor eax, eax
mov byte [rsp + 0x60], al
xor r8d, r8d
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
movsxd rdx, r8d
lea eax, [r8 + 0x39]
inc r8d
xor byte [rsp + rdx + 0x40], al
cmp r8d, 0x20
jb 0x18006765c
movss xmm2, dword [0x18009faec]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rbx
mov byte [rsp + 0x60], 0
call fcn.180036cf8
mov qword [0x1800f62c8], rax
mov rbx, qword [rsi + 0x50]
mov rcx, rbx
call fcn.18003941c
movdqa xmm0, xmmword [0x1800a26f0]
mov rcx, rax
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x242a1e15
xor r8d, r8d
mov dword [rsp + 0x54], 0x7e2e2322
mov dword [rsp + 0x58], 0x352625
movsxd rdx, r8d
lea eax, [r8 + 0x39]
inc r8d
xor byte [rsp + rdx + 0x40], al
cmp r8d, 0x1b
jb 0x1800676d1
movss xmm2, dword [0x1800a23c4]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov rcx, rbx
mov byte [rsp + 0x5b], 0
call fcn.180036cf8
mov qword [0x1800f62d0], rax
mov rbx, qword [rsi + 0x50]
mov rcx, rbx
call fcn.18003941c
movss xmm3, dword [0x18009d644]
lea rdx, [0x1800ba370]
mov qword [rsp + 0x28], rax
mov r8d, 0xa58
and qword [rsp + 0x20], 0
mov rcx, rbx
call fcn.1800370c8
mov rdx, qword [rbp + 0x70]
mov rcx, qword [rbp + 0x68]
mov qword [0x1800f62c0], rax
call fcn.180044568
mov rcx, qword [rdi]
call fcn.180045398
call fcn.18005b094
call fcn.180013cc8
mov byte [0x1800f62b8], 1
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret