Function at 0x1800047b0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x180114020]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
movups xmm0, xmmword [0x180119658]
movups xmmword [0x180119670], xmm0
movsd xmm1, qword [0x180119668]
movsd qword [0x180119680], xmm1
mov rax, qword [0x180119680]
lea rcx, [0x180048690]
cmp qword [0x180119668], 0
cmove rax, rcx
mov qword [0x180119680], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [0x1801198d8], rax
xor r13d, r13d
lea r14, str.DEBUG
test rax, rax
jne 0x180004951
mov dword [rbp - 0x10], 0x50
mov dword [rbp - 0xc], 3
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbp - 8], rax
mov qword [rbp], r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
lea rbx, str.Dummy_window
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], r13
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r13
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], Ordinal_101
mov dword [rsp + 0x30], Ordinal_101
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r9d, 0xcf0000
mov r8, rbx
mov rdx, qword [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1801198d8], rax
mov dword [0x1801196ec], r13d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 5
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
call fcn.180008310
lea rdx, str.DUMMY_WINDOW_CREATED
lea rcx, [0x1801196f8]
call fcn.180004200
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0xb4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x180005046
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
mov qword [rbp + 0xa8], r13
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800049d0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x90]
call fcn.180004090
nop
lea r14, [rbp + 0x90]
mov rsi, qword [rbp + 0xa8]
cmp rsi, 0x10
setae al
mov rdi, qword [rbp + 0x90]
cmovae r14, rdi
lea rcx, [rbp + 0x90]
mov r15, qword [rbp + 0xa0]
test al, al
je 0x180004a28
mov rbx, rdi
add r15, rdi
jmp 0x180004a32
add r15, rcx
lea rbx, [rbp + 0x90]
cmp rbx, r15
je 0x180004a63
sub r14, rbx
nop word [rax + rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r14 + rbx], al
inc rbx
cmp rbx, r15
jne 0x180004a40
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 0xc
jne 0x180004bdc
mov r8d, 0xc
lea rdx, str.opengl32.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004bec
cmp dword [0x180119670], eax
jne 0x180004bec
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.wglSwapBuffers
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801198d0], rax
lea rdx, [rsp + 0x60]
test rax, rax
jne 0x180004b3f
mov dword [0x1801196ec], 3
lea r15, str.ERROR
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 5
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180008310
lea rdx, str._OPENGL__Unable_to_find_wglSwapBuffers._Hook_not_installed
lea rcx, [0x1801196f8]
call fcn.180004200
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
jmp 0x180004bf3
mov dword [0x1801196ec], r13d
lea r14, str.DEBUG
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 5
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180008310
lea rdx, str._OPENGL__wglSwapBuffers_address_is
lea rcx, [0x1801196f8]
call fcn.180004200
mov rdx, qword [0x1801198d0]
lea rcx, [0x1801196f8]
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___void_const____ptr64____ptr64]
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
call fcn.1800d0a00
lea rdx, [0x180005d60]
lea rcx, [0x1801198d0]
call fcn.1800d0200
call fcn.1800d0a70
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
lea r15, str.ERROR
jmp 0x180004bfa
lea r14, str.DEBUG
lea r15, str.ERROR
jmp 0x180004bfa
lea r15, str.ERROR
lea r14, str.DEBUG
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 8
jne 0x180004c44
mov r8d, 8
lea rdx, [0x1800d7578]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004c44
cmp dword [0x180119670], eax
jne 0x180004c44
call fcn.180005ed0
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 9
jne 0x180004eb6
mov r8d, 9
lea rdx, [0x1800d7588]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004eb6
cmp dword [0x180119670], eax
jne 0x180004eb6
cmp qword [0x1801198e0], 0
je 0x180004c9f
cmp qword [0x180119830], 0
jne 0x180004eb6
lea rcx, [0x1800d7588]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x54], r13
mov dword [rbp + 0x60], r13d
mov qword [rbp + 0x68], 2
mov qword [rbp + 0x7c], r13
mov dword [rbp + 0x84], r13d
mov dword [rbp + 0x78], 1
mov dword [rbp + 0x50], 0x1c
mov dword [rbp + 0x64], 0x20
mov rax, qword [0x1801198d8]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x5c], 1
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
xor ecx, ecx
call qword [sym.imp.d3d10.dll_D3D10CreateDeviceAndSwapChain]
mov ebx, eax
lea rdx, [rsp + 0x60]
test eax, eax
je 0x180004dae
mov dword [0x1801196ec], 3
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 5
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180008310
lea rdx, str._D3D10__D3D10CreateDeviceAndSwapChain_returned
lea rcx, [0x1801196f8]
call fcn.180004200
mov edx, ebx
lea rcx, [0x1801196f8]
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___long_int____ptr64]
lea rdx, str.._Hook_not_installed
lea rcx, [0x1801196f8]
call fcn.180004200
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x180004ea8
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov qword [0x1801198e0], rax
mov rax, qword [rcx + 0x68]
mov qword [0x180119830], rax
mov dword [0x1801196ec], r13d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 5
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
call fcn.180008310
lea rdx, str._D3D10__Present_address_is
lea rcx, [0x1801196f8]
call fcn.180004200
mov rdx, qword [0x1801198e0]
lea rcx, [0x1801196f8]
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___void_const____ptr64____ptr64]
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov dword [0x1801196ec], r13d
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 5
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
call fcn.180008310
lea rdx, str._D3D10__ResizeBuffers_address_is
lea rcx, [0x1801196f8]
call fcn.180004200
mov rdx, qword [0x180119830]
lea rcx, [0x1801196f8]
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___void_const____ptr64____ptr64]
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rbp + 0x90]
mov rsi, qword [rbp + 0xa8]
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 9
jne 0x180004f06
mov r8d, 9
lea rdx, [0x1800d7598]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004f06
mov eax, dword [0x180119670]
test eax, eax
je 0x180004ef3
test al, 1
je 0x180004f06
call fcn.1800064f0
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 9
jne 0x180004f56
mov r8d, 9
lea rdx, [0x1800d75a8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004f56
mov eax, dword [0x180119670]
test eax, eax
je 0x180004f43
test al, 2
je 0x180004f56
call fcn.180006850
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
lea rcx, [rbp + 0x90]
cmp rsi, 0x10
cmovae rcx, rdi
cmp qword [rbp + 0xa0], 0xc
jne 0x180004ff7
mov r8d, 0xc
lea rdx, str.vulkan_1.dll
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180004ff7
mov dword [0x1801196ec], 1
lea rax, str.INFO
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
call fcn.180008310
lea rdx, str.VULKAN_graphics_api_found
lea rcx, [0x1801196f8]
call fcn.180004200
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0x90]
cmp rsi, 0x10
jb 0x18000502a
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180005022
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000503f
mov rcx, rdi
call fcn.1800d2484
lea rdx, [rbp + 0xb0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x18000499e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x10], 0
jbe 0x1800050c6
mov rcx, qword [0x1801198d8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov dword [0x1801196ec], r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 5
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
call fcn.180008310
lea rdx, str.DUMMY_WINDOW_DESTROYED
lea rcx, [0x1801196f8]
call fcn.180004200
lea rcx, [0x180119690]
call fcn.180008410
lea rcx, [0x180119698]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1801198e0], 0
je 0x1800050ed
call fcn.1800d0a00
lea rdx, [0x180005120]
lea rcx, [0x1801198e0]
call fcn.1800d0200
call fcn.1800d0a70
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1800d2420
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret