Function at 0x14006ac80
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x50], 0x50
lea rax, [0x14006b1a0]
mov dword [rbp - 0x4c], 0x40
xor r14d, r14d
mov qword [rbp - 0x48], rax
xor ecx, ecx
mov qword [rbp - 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdi, [rbx + 0xc0]
mov qword [rbp - 0x38], rax
cmp qword [rdi + 0x18], 8
mov rax, rdi
vpxor xmm0, xmm0, xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x30], xmm0
vmovdqu xmmword [rbp - 0x20], xmm1
jb 0x14006acfd
mov rax, qword [rdi]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r14
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [rbx + 0x1b0], 1
lea rsi, [rbx + 0x80]
jne 0x14006ada4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsi + 0x18], 8
jb 0x14006ad35
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14006ad3f
mov rdi, qword [rdi]
mov qword [rsp + 0x58], r14
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov r8, rsi
mov qword [rsp + 0x48], r14
mov rdx, rdi
mov qword [rsp + 0x40], r14
mov ecx, 0xa8
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
mov qword [rbx + 0x50], rax
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x14006ae1a
cmp qword [rsi + 0x18], 8
vcvttss2si ecx, dword [rbx + 0xec]
vcvttss2si edx, dword [rbx + 0xe8]
vcvttss2si r8d, dword [rbx + 0xe4]
vcvttss2si r9d, dword [rbx + 0xe0]
jb 0x14006adce
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14006add8
mov rdi, qword [rdi]
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], edx
mov rdx, rdi
mov dword [rsp + 0x28], r8d
mov r8, rsi
mov dword [rsp + 0x20], r9d
mov r9d, 0xa0000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x50], rax
mov rax, qword [rbp - 0x38]
lea rsi, [0x14016e2d8]
mov qword [rsp + 0x58], rsi
lea rdi, [0x14016e2d0]
mov qword [rbx + 0x58], rax
xor r9d, r9d
mov rax, qword [rbx + 0x50]
xor r8d, r8d
mov qword [rbp - 0x70], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rax
lea edx, [r9 + 1]
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x74], r14
lea r14, [0x14016e2e0]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
lea rax, [rbp + 8]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x78], 1
mov qword [rbp - 0x60], 2
mov dword [rsp + 0x70], 0x1c
mov dword [rsp + 0x68], 0x3c
mov dword [rsp + 0x6c], 1
mov dword [rbp - 0x7c], 0x20
mov qword [rsp + 0x7c], 1
mov qword [rbp - 0x68], 1
mov dword [rbp + 8], 0xb000
mov dword [rbp + 0xc], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14006af38
mov qword [rsp + 0x58], rsi
lea rax, [rbp]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp + 8]
mov dword [rsp + 0x28], 2
lea edx, [r9 + 5]
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x14006af67
mov rcx, rdi
call fcn.140069fd0
mov rcx, qword [rbx + 0x50]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rbx + 0x50], 0
setne al
jmp 0x14006af7c
call fcn.140069f50
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400809b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret