Function at 0x18003bdb0
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 [0x180063010]
xor rax, rsp
mov qword [rbp + 0x498], rax
cmp dword [0x180064080], 0
mov ebx, ecx
jne 0x18003beaf
xor r13d, r13d
lea edi, [r13 + 6]
lea r12d, [r13 + 2]
test ebx, ebx
je 0x18003c37f
cmp ebx, 1
jl 0x18003be08
cmp ebx, 4
jle 0x18003beb9
cmp ebx, 7
jne 0x18003c37f
lea rcx, str.d3d9.dll
mov ebx, r13d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003be2d
mov ebx, 1
jmp 0x18003bea2
lea rcx, str.d3d10.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003be44
mov ebx, r12d
jmp 0x18003bea2
lea rcx, str.d3d11.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003be5d
mov ebx, 3
jmp 0x18003bea2
lea rcx, str.d3d12.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003be76
mov ebx, 4
jmp 0x18003bea2
lea rcx, str.opengl32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18003be8f
mov ebx, 5
jmp 0x18003bea2
lea rcx, str.vulcan_1.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
cmovne ebx, edi
cmp dword [0x180064080], r13d
je 0x18003bdf2
mov eax, 0xfffffffc
jmp 0x18003c094
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 0x18003c35e
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 0x18003bfc9
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x50], 0x438
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x18003bfc9
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 0x18003bfd2
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18003bfa0
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 0x18003c006
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 0x18003c08c
mov eax, 0x5a4d
mov qword [rsp + 0x5d0], rsi
mov qword [rsp + 0x5d8], r14
cmp word [rdi], ax
jne 0x18003c060
movsxd rax, dword [rdi + 0x3c]
cmp dword [rax + rdi], 0x4550
jne 0x18003c060
mov esi, dword [rax + rdi + 0x88]
mov ebx, r13d
add rsi, rdi
cmp dword [rsi + 0x18], r13d
jbe 0x18003c060
mov ecx, dword [rsi + 0x20]
add rcx, rdi
mov r14d, ebx
mov ecx, dword [rcx + r14*4]
add rcx, rdi
call fcn.18003ba60
test al, al
jne 0x18003c0b2
inc ebx
cmp ebx, dword [rsi + 0x18]
jb 0x18003c040
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.18004b240
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 0x18003c060
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 0x18003c060
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 [0x180064078], 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 0x18003c220
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 0x18003c2b4
call fcn.18003d390
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 [0x180064080], 3
jmp 0x18003c07c
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 0x18003c08c
xor eax, eax
jmp 0x18003c094