Function at 0x14007de90
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
push rbp
push rbx
push r13
lea rbp, [r11 - 0x48]
sub rsp, 0x130
mov rax, qword [0x1400aa200]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [r11 + 0x10], rsi
lea rax, [0x14007e3c0]
mov r13, rcx
mov qword [r11 + 0x18], rdi
xor esi, esi
mov qword [r11 + 0x20], r12
xor ecx, ecx
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], 0x50
mov dword [rbp - 0x4c], pe_nt_image_headers64
mov qword [rbp - 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
lea rcx, [r13 + 0xc0]
xorps xmm1, xmm1
mov qword [rbp - 0x38], rax
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
call fcn.140021c30
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rsi
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [r13 + 0x1b0], 1
jne 0x14007dfb2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [r13 + 0x80]
mov rbx, rax
call fcn.140021c30
lea rcx, [r13 + 0xc0]
mov rdi, rax
call fcn.140021c30
mov qword [rsp + 0x58], rsi
mov r9d, 0x80000000
mov qword [rsp + 0x50], rbx
mov r8, rdi
mov qword [rsp + 0x48], rsi
mov rdx, rax
mov qword [rsp + 0x40], rsi
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]
lea r9d, [rsi + 2]
mov r8b, 0xff
mov rcx, rax
mov qword [r13 + 0x50], rax
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x14007e057
cvttss2si edi, dword [r13 + 0xec]
mov qword [rsp + 0x128], r14
lea rcx, [r13 + 0x80]
mov qword [rsp + 0x120], r15
cvttss2si r15d, dword [r13 + 0xe0]
cvttss2si esi, dword [r13 + 0xe8]
cvttss2si r14d, dword [r13 + 0xe4]
call fcn.140021c30
lea rcx, [r13 + 0xc0]
mov rbx, rax
call fcn.140021c30
mov rcx, qword [rbp - 0x38]
xor edx, edx
mov qword [rsp + 0x58], rdx
mov r9d, 0xa0000
mov qword [rsp + 0x50], rcx
mov r8, rbx
mov qword [rsp + 0x48], rdx
xor ecx, ecx
mov qword [rsp + 0x40], rdx
mov rdx, rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, qword [rsp + 0x120]
xor esi, esi
mov r14, qword [rsp + 0x128]
mov qword [r13 + 0x50], rax
mov rax, qword [rbp - 0x38]
lea rdi, [0x140104210]
mov qword [rsp + 0x58], rdi
lea rbx, [0x140104208]
mov qword [r13 + 0x58], rax
xor r9d, r9d
mov rax, qword [r13 + 0x50]
xor r8d, r8d
mov qword [rbp - 0x70], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rsp + 0x74], rsi
mov qword [rsp + 0x50], rax
lea rsi, [0x140104218]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea edx, [r9 + 1]
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], 2
mov qword [rbp - 0x60], 2
mov qword [rsp + 0x60], 0
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]
mov r12, qword [rsp + 0x168]
cmp eax, 0x887a0004
jne 0x14007e181
mov qword [rsp + 0x58], rdi
lea rax, [rbp]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
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]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x158]
test eax, eax
jne 0x14007e1c0
mov rcx, rbx
call fcn.14007d380
mov rcx, qword [r13 + 0x50]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [r13 + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [r13 + 0x50], 0
setne al
jmp 0x14007e1d5
call fcn.14007d300
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.140087740
add rsp, 0x130
pop r13
pop rbx
pop rbp
ret