Function at 0x180025690
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x1800257ef
cmp ecx, 1
jne 0x180025890
cmp byte [0x18015854e], 0
jne 0x180025890
mov byte [0x18015854e], cl
lea rdx, str.ShaderUtil_attached.
mov ecx, 3
mov qword [rsp + 0x20], rbx
call fcn.180029ab0
lea rcx, [0x18001d9a0]
call fcn.18000dfb0
lea rcx, [0x18001b5c0]
call fcn.18000dce0
lea rcx, [0x18001cd40]
call fcn.18000dd70
mov rax, qword gs:[0x58]
mov edx, dword [0x180158d40]
mov ecx, 0x2c
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180158930], eax
jg 0x1800258d9
mov rax, qword [0x180158928]
test rax, rax
je 0x180025735
lea rdx, [0x180023f90]
mov ecx, 0x46
call rax
lea rcx, [0x18001afc0]
call fcn.18000de00
mov eax, dword [rbx]
cmp dword [0x180158950], eax
jg 0x180025921
mov rax, qword [0x180158948]
test rax, rax
je 0x180025769
lea rdx, [0x180018640]
mov ecx, 0x1b
call rax
mov eax, dword [rbx]
cmp dword [0x180158960], eax
jg 0x180025969
mov rax, qword [0x180158958]
test rax, rax
je 0x180025791
lea rdx, [0x18001f040]
mov ecx, 0x1a
call rax
mov eax, dword [rbx]
cmp dword [0x180158970], eax
jg 0x1800259b1
mov rax, qword [0x180158968]
test rax, rax
je 0x1800257b9
lea rdx, [0x180017040]
mov ecx, 0x2a
call rax
mov eax, dword [rbx]
cmp dword [0x180158980], eax
mov rbx, qword [rsp + 0x20]
jg 0x1800259f9
mov rax, qword [0x180158978]
test rax, rax
je 0x180025890
lea rdx, [0x18001bb60]
mov ecx, 0x1c
add rsp, 0x28
jmp rax
lea rcx, [0x18001d9a0]
call fcn.18000e790
lea rcx, [0x18001b5c0]
call fcn.18000e4c0
lea rcx, [0x18001cd40]
call fcn.18000e550
mov edx, dword [0x180158d40]
mov rax, qword gs:[0x58]
mov ecx, 0x2c
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x180158990], eax
jg 0x180025895
mov rax, qword [0x180158988]
test rax, rax
je 0x180025850
lea rdx, [0x180023f90]
mov ecx, 0x46
call rax
lea rcx, [0x18001afc0]
call fcn.18000e5e0
lea rcx, [0x180018640]
call fcn.18000e8b0
lea rcx, [0x18001f040]
call fcn.18000e820
lea rcx, [0x180017040]
call fcn.18000eaf0
lea rcx, [0x18001bb60]
add rsp, 0x28
jmp fcn.18000e940
add rsp, 0x28
ret
lea rcx, [0x180158990]
call fcn.18002ae8c
cmp dword [0x180158990], 0xffffffff
jne 0x180025836
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158990]
mov qword [0x180158988], rax
call fcn.18002ae20
jmp 0x180025836
lea rcx, [0x180158930]
call fcn.18002ae8c
cmp dword [0x180158930], 0xffffffff
jne 0x18002571b
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, [0x18014fc88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158930]
mov qword [0x180158928], rax
call fcn.18002ae20
jmp 0x18002571b
lea rcx, [0x180158950]
call fcn.18002ae8c
cmp dword [0x180158950], 0xffffffff
jne 0x18002574f
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, [0x18014fc88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158950]
mov qword [0x180158948], rax
call fcn.18002ae20
jmp 0x18002574f
lea rcx, [0x180158960]
call fcn.18002ae8c
cmp dword [0x180158960], 0xffffffff
jne 0x180025777
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, [0x18014fc88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158960]
mov qword [0x180158958], rax
call fcn.18002ae20
jmp 0x180025777
lea rcx, [0x180158970]
call fcn.18002ae8c
cmp dword [0x180158970], 0xffffffff
jne 0x18002579f
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, [0x18014fc88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158970]
mov qword [0x180158968], rax
call fcn.18002ae20
jmp 0x18002579f
lea rcx, [0x180158980]
call fcn.18002ae8c
cmp dword [0x180158980], 0xffffffff
jne 0x1800257cc
xor ecx, ecx
call fcn.1800298b0
mov rcx, rax
lea rdx, [0x18014fc88]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180158980]
mov qword [0x180158978], rax
call fcn.18002ae20
jmp 0x1800257cc