Function at 0x18003bd20
Capabilities:
Enumerate process modules
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x180062010]
xor rax, rsp
mov qword [rbp + 0x498], rax
cmp dword [0x180063070], 0
mov ebx, ecx
jne 0x18003be1f
xor r13d, r13d
lea edi, [r13 + 6]
lea r12d, [r13 + 2]
test ebx, ebx
je 0x18003c2ef
cmp ebx, 1
jl 0x18003bd78
cmp ebx, 4
jle 0x18003be29
cmp ebx, 7
jne 0x18003c2ef
lea rcx, str.d3d9.dll
mov ebx, r13d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003bd9d
mov ebx, 1
jmp 0x18003be12
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003bdb4
mov ebx, r12d
jmp 0x18003be12
lea rcx, str.d3d11.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003bdcd
mov ebx, 3
jmp 0x18003be12
lea rcx, str.d3d12.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003bde6
mov ebx, 4
jmp 0x18003be12
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003bdff
mov ebx, 5
jmp 0x18003be12
lea rcx, str.vulcan_1.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
cmovne ebx, edi
cmp dword [0x180063070], r13d
je 0x18003bd62
mov eax, 0xfffffffc
jmp 0x18003c004
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
xor ecx, ecx
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x5e0], r15
mov dword [rbp - 0x60], 0x50
mov dword [rbp - 0x5c], 3
mov qword [rbp - 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x60]
lea rax, str.Fksasfasfciu
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x20], rax
movdqa xmmword [rbp - 0x30], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp - 0x48]
lea r8, str.SfnajasfasfSFjnrC
mov rdx, qword [rbp - 0x20]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], r13
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r15, rax
cmp ebx, 3
jne 0x18003c2ce
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [rbx + 0x15]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18003bf39
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x50], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x18003bf39
nop dword [rax]
lea rdx, str.d3d11.dll
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x18003bf42
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18003bf10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.d3d11.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x18003bf76
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea eax, [rdi - 3]
jmp 0x18003bffc
mov eax, 0x5a4d
mov qword [rsp + 0x5d0], rsi
mov qword [rsp + 0x5d8], r14
cmp word [rdi], ax
jne 0x18003bfd0
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x18003bfd0
mov esi, dword [rax + rdi + 0x88]
mov ebx, r13d
add rsi, rdi
cmp dword [rsi + 0x18], r13d
jbe 0x18003bfd0
mov ecx, dword [rsi + 0x20]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call fcn.18003b9d0
test al, al
jne 0x18003c022
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x18003bfb0
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 0xffffffff
mov r14, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x5d0]
mov r15, qword [rsp + 0x5e0]
mov rcx, qword [rbp + 0x498]
xor rcx, rsp
call fcn.18004ab80
add rsp, 0x5a0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov ecx, dword [rsi + 0x24]
add rcx, rdi
movzx edx, word [rcx + r14*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rdi
mov eax, dword [rcx + rdx*4]
add rax, rdi
je 0x18003bfd0
lea rcx, [rbp - 0x70]
mov dword [rsp + 0x60], 0x64
mov qword [rsp + 0x58], rcx
xor r9d, r9d
lea rcx, [rbp + 0x40]
mov dword [rsp + 0x64], 0x64
mov qword [rsp + 0x50], rcx
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x68], 0x3c
mov qword [rsp + 0x48], rcx
lea edx, [r9 + 1]
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x6c], 1
movups xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x490]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov qword [rsp + 0x70], 0x1c
movsd xmm1, qword [rsp + 0x70]
mov dword [rbp + 0x490], 0xa100
mov dword [rbp + 0x494], 0xb000
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
mov dword [rbp + 8], r13d
mov qword [rbp + 0xc], 1
mov dword [rbp + 0x14], 0x20
mov dword [rbp + 0x18], 1
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 1
mov dword [rbp + 0x30], r12d
call rax
test eax, eax
js 0x18003bfd0
mov edx, 8
mov ecx, 0xcd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rcx, qword [rbp - 0x80]
mov r8, rax
mov qword [0x180063068], rax
mov rdx, qword [rcx]
lea rcx, [r8 + 0x90]
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm1, xmmword [rdx + 0x70]
movups xmmword [rax + 0x70], xmm1
movups xmm0, xmmword [rdx + 0x80]
movups xmmword [rax + 0x80], xmm0
mov rax, qword [rbp - 0x78]
mov rax, qword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r12, 1
jne 0x18003c190
movups xmm0, xmmword [rax]
lea edx, [r12 + 9]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
mov rax, qword [rax + 0x50]
mov qword [rcx + 0x50], rax
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
lea rax, [r8 + 0x1e8]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x18003c224
call fcn.18003d300
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x80], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, r15
mov qword [rbp - 0x70], r13
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov dword [0x180063070], 3
jmp 0x18003bfec
mov rcx, r15
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, 0xfffffffe
jmp 0x18003bffc
xor eax, eax
jmp 0x18003c004