Function at 0x1800796c0
Capabilities:
Enumerate gui resources
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1800bc040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [0x1800bd1c8], rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1800ae77c]
lea rdx, str.CONOUT_
lea rcx, [0x1800bd140]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov edi, 2
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1800ae77c]
lea rdx, str.CONOUT_
lea rcx, [0x1800bd160]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1800ae778]
lea rdx, str.CONIN_
lea rcx, [0x1800bd158]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x40], eax
mov rcx, rbx
xor eax, eax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
lea rcx, [0x180079630]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x48]
xor ebp, ebp
mov qword [0x1800bd1a0], rax
mov ebx, ebp
xor eax, eax
mov dword [0x1800bd190], 6
lock cmpxchg dword [0x1800bd038], r14d
je 0x1800797e9
cmp rbx, 0x20
jae 0x1800797d0
xor ecx, ecx
jmp 0x1800797d3
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800bd038], r14d
jne 0x1800797c6
cmp qword [0x1800bd040], rbp
jne 0x180079806
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1800bd040], rax
mov eax, ebp
mov qword [rsp + 0x80], rsi
xchg dword [0x1800bd038], eax
mov ecx, dword [0x1800bd190]
mov qword [rsp + 0x88], r15
cmp ecx, 6
jne 0x180079a48
lea rcx, str.lwjgl64.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180079896
lea rdx, str.Java_org_lwjgl_opengl_GL11_nglDepthFunc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov qword [0x1800bd138], rax
lea r8, [0x1800bd148]
lea rdx, [0x180079290]
call fcn.18007a648
test eax, eax
je 0x18007989d
mov ecx, eax
call fcn.18007a808
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov rdx, rax
call fcn.18005f140
lea rdx, [0x18005f310]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x180079941
mov rsi, qword [0x1800bd138]
mov rbx, rbp
xor eax, eax
lock cmpxchg dword [0x1800bd038], r14d
je 0x1800798d7
cmp rbx, 0x20
jae 0x1800798be
xor ecx, ecx
jmp 0x1800798c1
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800bd038], r14d
jne 0x1800798b4
cmp qword [0x1800bd040], rbp
je 0x180079a15
test rsi, rsi
jne 0x1800798f5
mov ecx, r14d
call fcn.18007a494
mov edi, eax
jmp 0x180079924
mov ecx, dword [0x1800be9bc]
mov ebx, ebp
test ecx, ecx
je 0x18007991f
mov r8, qword [0x1800be9b0]
mov rax, r8
nop dword [rax + rax]
cmp rsi, qword [rax]
je 0x18007996f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180079910
mov edi, 4
mov eax, ebp
xchg dword [0x1800bd038], eax
test edi, edi
jne 0x180079a1b
call fcn.180063c80
test al, al
setne bpl
mov eax, ebp
mov r15, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b5b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rbp
ret
cmp ebx, 0xffffffff
je 0x18007991f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], dil
jne 0x180079a0b
mov r8d, r14d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180079fd8
mov edi, eax
test eax, eax
jne 0x180079924
mov edx, r14d
mov ecx, ebx
call fcn.18007a384
mov r15, qword [rsp + 0x20]
mov edi, eax
test r15, r15
je 0x180079924
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800799f4
mov rsi, r15
mov r14d, eax
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800799ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r14, 1
jne 0x1800799c2
mov rcx, qword [0x1800bd040]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180079924
mov edi, 5
jmp 0x180079924
xchg dword [0x1800bd038], ebp
mov ecx, edi
call fcn.18007a808
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov rdx, rax
call fcn.18005f140
lea rdx, [0x18005f310]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x180079941
cmp ecx, 7
jne 0x180079934
lea rcx, str.lwjgl_opengl.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180079896
lea rdx, str.Java_org_lwjgl_opengl_GL11C_glClear
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov qword [0x1800bd168], rax
lea r8, [0x1800bd150]
lea rdx, [0x180079480]
call fcn.18007a648
test eax, eax
jne 0x180079870
mov rsi, qword [0x1800bd168]
mov rbx, rbp
lock cmpxchg dword [0x1800bd038], r14d
je 0x180079ad4
cmp rbx, 0x20
jae 0x180079abb
xor ecx, ecx
jmp 0x180079abe
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800bd038], r14d
jne 0x180079ab1
cmp qword [0x1800bd040], rbp
je 0x180079a15
test rsi, rsi
jne 0x180079af5
mov ecx, r14d
call fcn.18007a494
mov edi, eax
jmp 0x180079924
mov ecx, dword [0x1800be9bc]
mov ebx, ebp
test ecx, ecx
je 0x18007991f
mov r8, qword [0x1800be9b0]
mov rax, r8
nop
cmp rsi, qword [rax]
je 0x180079b24
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180079b10
jmp 0x18007991f
cmp ebx, 0xffffffff
je 0x18007991f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], dil
jne 0x180079a0b
mov r8d, r14d
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180079fd8
mov edi, eax
test eax, eax
jne 0x180079924
mov edx, r14d
mov ecx, ebx
call fcn.18007a384
mov r15, qword [rsp + 0x30]
mov edi, eax
test r15, r15
je 0x180079924
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x1800799f4
mov rsi, r15
mov r14d, eax
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x180079bb8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
sub r14, 1
jne 0x180079b90
jmp 0x1800799f4