Function at 0x18004de90
Capabilities:
Execute command
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rcx, qword [0x180065fb8]
mov rax, qword [rcx]
mov r9, qword [rax + 0x4b8]
lea r8, [0x180066228]
mov esi, 1
mov edx, esi
call r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x26
lea rdx, [0x180059278]
lea rcx, [rsp + 0x40]
call fcn.1800018a0
nop
lea r8, [rsp + 0x40]
mov rdx, qword [0x180065fb8]
mov rcx, qword [0x180065fb0]
call fcn.18004db90
mov rbx, rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004df45
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004df40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004df40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f5f8
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov r10, qword [rax + 0x480]
lea r9, [0x180059308]
lea r8, [0x1800592a0]
mov rdx, rbx
call r10
mov rcx, qword [0x180065fb0]
mov r10, qword [rcx]
mov r9, qword [0x180066238]
mov r8, rax
mov rdx, rbx
call qword [r10 + 0x4d0]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066238]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066230]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066228]
call qword [rax + 0xb8]
cmp byte [0x180066281], 0
je 0x18004e068
mov rdi, qword [0x180066268]
mov byte [0x180066281], 0
mov r8, qword [0x180066368]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
lea r8d, [rax - 0x1ac]
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x1e2
mov dword [rsp + 0x20], 0x358
lea r9d, [rbx - 0xf1]
mov rdx, rdi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066058]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066050]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066080]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180066028]
call qword [rax + 0xb8]
mov rcx, qword [0x180065fb0]
mov rax, qword [rcx]
mov rdx, qword [0x180065ff8]
call qword [rax + 0xb8]
mov rcx, qword [0x180066148]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov byte [0x180065f91], 0
mov r8, qword [0x180066130]
mov edx, 0xfffffffc
mov rcx, qword [0x180066268]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
xor edx, edx
xor ecx, ecx
call fcn.18004a3a0
call fcn.18004a190
mov rdx, qword [0x180066350]
mov rcx, qword [0x180066338]
call qword [sym.imp.OPENGL32.dll_wglMakeCurrent]
mov rcx, qword [0x180066340]
call qword [sym.imp.OPENGL32.dll_wglDeleteContext]
mov rbx, qword [0x1800660e8]
mov qword [0x1800660e8], rbx
call fcn.1800162c0
xor edi, edi
mov qword [0x1800660e8], rdi
test rbx, rbx
je 0x18004e17b
mov rcx, rbx
call fcn.18002b060
mov rax, qword [0x1800660e8]
test rax, rax
je 0x18004e172
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [0x180066360], dil
je 0x18004e19a
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rbx, rdi
xor eax, eax
lock cmpxchg dword [0x1800660f8], esi
je 0x18004e1d1
nop dword [rax]
cmp rbx, 0x20
jae 0x18004e1ba
xor ecx, ecx
jmp 0x18004e1bc
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800660f8], esi
jne 0x18004e1b0
cmp qword [0x180066100], rdi
je 0x18004e251
xor ecx, ecx
call fcn.180049cc0
test eax, eax
jne 0x18004e251
mov rcx, qword [0x1800663a0]
mov qword [0x1800663a0], rdi
test rcx, rcx
je 0x18004e219
nop dword [rax + rax]
mov rbx, qword [rcx]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbx
test rbx, rbx
jne 0x18004e200
mov r8, qword [0x180066390]
xor edx, edx
mov rcx, qword [0x180066100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x180066100]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
mov qword [0x180066100], rdi
mov qword [0x180066390], rdi
mov qword [0x180066398], rdi
xchg dword [0x1800660f8], edi
lea rcx, [0x18005b400]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]