Function at 0x1800194e0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x18001963f
cmp ecx, 1
jne 0x1800196e0
cmp byte [0x1800745ae], 0
jne 0x1800196e0
mov byte [0x1800745ae], cl
lea rdx, str.ShaderUtil_attached.
mov ecx, 3
mov qword [rsp + 0x20], rbx
call fcn.18001ce30
lea rcx, [0x1800148f0]
call fcn.18000bdd0
lea rcx, [0x1800137b0]
call fcn.18000bc20
lea rcx, [0x180014510]
call fcn.18000bcb0
mov rax, qword gs:[0x58]
mov edx, dword [0x180074c20]
mov ecx, 0x2c
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180074980], eax
jg 0x180019729
mov rax, qword [0x180074978]
test rax, rax
je 0x180019585
lea rdx, [0x180018c90]
mov ecx, 0x46
call rax
lea rcx, [0x1800133e0]
call fcn.18000bd40
mov eax, dword [rbx]
cmp dword [0x1800749a0], eax
jg 0x180019771
mov rax, qword [0x180074998]
test rax, rax
je 0x1800195b9
lea rdx, [0x180012260]
mov ecx, 0x1b
call rax
mov eax, dword [rbx]
cmp dword [0x1800749b0], eax
jg 0x1800197b9
mov rax, qword [0x1800749a8]
test rax, rax
je 0x1800195e1
lea rdx, [0x180015d70]
mov ecx, 0x1a
call rax
mov eax, dword [rbx]
cmp dword [0x1800749c0], eax
jg 0x180019801
mov rax, qword [0x1800749b8]
test rax, rax
je 0x180019609
lea rdx, [0x180011d10]
mov ecx, 0x2a
call rax
mov eax, dword [rbx]
cmp dword [0x1800749d0], eax
mov rbx, qword [rsp + 0x20]
jg 0x180019849
mov rax, qword [0x1800749c8]
test rax, rax
je 0x1800196e0
lea rdx, [0x180013aa0]
mov ecx, 0x1c
add rsp, 0x28
jmp rax
lea rcx, [0x1800148f0]
call fcn.18000c1c0
lea rcx, [0x1800137b0]
call fcn.18000c010
lea rcx, [0x180014510]
call fcn.18000c0a0
mov edx, dword [0x180074c20]
mov rax, qword gs:[0x58]
mov ecx, 0x2c
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x1800749e0], eax
jg 0x1800196e5
mov rax, qword [0x1800749d8]
test rax, rax
je 0x1800196a0
lea rdx, [0x180018c90]
mov ecx, 0x46
call rax
lea rcx, [0x1800133e0]
call fcn.18000c130
lea rcx, [0x180012260]
call fcn.18000c2e0
lea rcx, [0x180015d70]
call fcn.18000c250
lea rcx, [0x180011d10]
call fcn.18000c520
lea rcx, [0x180013aa0]
add rsp, 0x28
jmp fcn.18000c370
add rsp, 0x28
ret
lea rcx, [0x1800749e0]
call fcn.18001e0a8
cmp dword [0x1800749e0], 0xffffffff
jne 0x180019686
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749e0]
mov qword [0x1800749d8], rax
call fcn.18001e03c
jmp 0x180019686
lea rcx, [0x180074980]
call fcn.18001e0a8
cmp dword [0x180074980], 0xffffffff
jne 0x18001956b
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074980]
mov qword [0x180074978], rax
call fcn.18001e03c
jmp 0x18001956b
lea rcx, [0x1800749a0]
call fcn.18001e0a8
cmp dword [0x1800749a0], 0xffffffff
jne 0x18001959f
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749a0]
mov qword [0x180074998], rax
call fcn.18001e03c
jmp 0x18001959f
lea rcx, [0x1800749b0]
call fcn.18001e0a8
cmp dword [0x1800749b0], 0xffffffff
jne 0x1800195c7
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749b0]
mov qword [0x1800749a8], rax
call fcn.18001e03c
jmp 0x1800195c7
lea rcx, [0x1800749c0]
call fcn.18001e0a8
cmp dword [0x1800749c0], 0xffffffff
jne 0x1800195ef
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749c0]
mov qword [0x1800749b8], rax
call fcn.18001e03c
jmp 0x1800195ef
lea rcx, [0x1800749d0]
call fcn.18001e0a8
cmp dword [0x1800749d0], 0xffffffff
jne 0x18001961c
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749d0]
mov qword [0x1800749c8], rax
call fcn.18001e03c
jmp 0x18001961c