Function at 0x1400a6a30
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x1400cf040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, rcx
mov dword [rbp - 0x80], 0x50
lea rax, [0x1400a6f60]
mov dword [rbp - 0x7c], 0x40
xor r14d, r14d
mov qword [rbp - 0x78], rax
xor ecx, ecx
mov qword [rbp - 0x70], r14
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdi, [rbx + 0xc0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x68], rax
cmp qword [rdi + 0x18], 7
mov rax, rdi
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
jbe 0x1400a6aab
mov rax, qword [rdi]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], r14
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [rbx + 0x1b0], 1
lea rsi, [rbx + 0x80]
jne 0x1400a6b52
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsi + 0x18], 7
jbe 0x1400a6ae3
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400a6aed
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 0x1400a6bca
cmp qword [rsi + 0x18], 7
cvttss2si ecx, dword [rbx + 0xec]
cvttss2si edx, dword [rbx + 0xe8]
cvttss2si r8d, dword [rbx + 0xe4]
cvttss2si r9d, dword [rbx + 0xe0]
jbe 0x1400a6b7e
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400a6b88
mov rdi, qword [rdi]
mov rax, qword [rbp - 0x68]
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 - 0x68]
lea rdi, [0x1401c0c00]
mov qword [rsp + 0x58], rdi
lea rsi, [0x1401c0bf8]
mov qword [rbx + 0x58], rax
xor r9d, r9d
mov rax, qword [rbx + 0x50]
xor r8d, r8d
mov qword [rbp], rax
mov edx, 1
lea rax, [rsp + 0x60]
mov qword [rbp - 0x1c], r14
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x30]
mov qword [rbp - 0x30], r14
lea r14, [0x1401c0c08]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 8], 2
mov qword [rbp + 0x10], 2
mov dword [rbp - 0x20], 0x1c
mov dword [rbp - 0x28], 0x3c
mov dword [rbp - 0x24], 1
mov dword [rbp - 0xc], 0x20
mov qword [rbp - 0x14], 1
mov qword [rbp + 8], 1
mov dword [rsp + 0x68], 0xb000
mov dword [rsp + 0x6c], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x1400a6ce8
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x1400a6d56
mov rcx, qword [0x1401c0c08]
lea r9, [rsp + 0x70]
lea r8, [0x1400bc368]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x1400a6d33
mov rcx, qword [0x1401c0bf8]
lea r9, [0x1401c0c10]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
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 0x1400a6d6b
call fcn.1400a61c0
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400a8310
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret