Function at 0x180024960
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x180024abf
cmp ecx, 1
jne 0x180024b60
cmp byte [0x1800485fa], 0
jne 0x180024b60
mov byte [0x1800485fa], cl
lea rdx, str.ShaderUtil_attached.
mov ecx, 3
mov qword [rsp + 0x20], rbx
call fcn.180028c40
lea rcx, [0x18001c610]
call fcn.18000ccb0
lea rcx, [0x18001a230]
call fcn.18000c9e0
lea rcx, [0x18001b9b0]
call fcn.18000ca70
mov rax, qword gs:[0x58]
mov edx, dword [0x180048d48]
mov ecx, 0x2c
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180048938], eax
jg 0x180024ba9
mov rax, qword [0x180048930]
test rax, rax
je 0x180024a05
lea rdx, [0x180023260]
mov ecx, 0x46
call rax
lea rcx, [0x180019c30]
call fcn.18000cb00
mov eax, dword [rbx]
cmp dword [0x180048958], eax
jg 0x180024bf1
mov rax, qword [0x180048950]
test rax, rax
je 0x180024a39
lea rdx, [0x1800172b0]
mov ecx, 0x1b
call rax
mov eax, dword [rbx]
cmp dword [0x180048968], eax
jg 0x180024c39
mov rax, qword [0x180048960]
test rax, rax
je 0x180024a61
lea rdx, [0x18001df80]
mov ecx, 0x1a
call rax
mov eax, dword [rbx]
cmp dword [0x180048978], eax
jg 0x180024c81
mov rax, qword [0x180048970]
test rax, rax
je 0x180024a89
lea rdx, [0x180015cb0]
mov ecx, 0x2a
call rax
mov eax, dword [rbx]
cmp dword [0x180048988], eax
mov rbx, qword [rsp + 0x20]
jg 0x180024cc9
mov rax, qword [0x180048980]
test rax, rax
je 0x180024b60
lea rdx, [0x18001a7d0]
mov ecx, 0x1c
add rsp, 0x28
jmp rax
lea rcx, [0x18001c610]
call fcn.18000d400
lea rcx, [0x18001a230]
call fcn.18000d1c0
lea rcx, [0x18001b9b0]
call fcn.18000d250
mov edx, dword [0x180048d48]
mov rax, qword gs:[0x58]
mov ecx, 0x2c
mov rax, qword [rax + rdx*8]
mov eax, dword [rcx + rax]
cmp dword [0x180048998], eax
jg 0x180024b65
mov rax, qword [0x180048990]
test rax, rax
je 0x180024b20
lea rdx, [0x180023260]
mov ecx, 0x46
call rax
lea rcx, [0x180019c30]
call fcn.18000d2e0
lea rcx, [0x1800172b0]
call fcn.18000d520
lea rcx, [0x18001df80]
call fcn.18000d490
lea rcx, [0x180015cb0]
call fcn.18000d760
lea rcx, [0x18001a7d0]
add rsp, 0x28
jmp fcn.18000d5b0
add rsp, 0x28
ret
lea rcx, [0x180048998]
call fcn.18002a5a4
cmp dword [0x180048998], 0xffffffff
jne 0x180024b06
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048998]
mov qword [0x180048990], rax
call fcn.18002a538
jmp 0x180024b06
lea rcx, [0x180048938]
call fcn.18002a5a4
cmp dword [0x180048938], 0xffffffff
jne 0x1800249eb
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048938]
mov qword [0x180048930], rax
call fcn.18002a538
jmp 0x1800249eb
lea rcx, [0x180048958]
call fcn.18002a5a4
cmp dword [0x180048958], 0xffffffff
jne 0x180024a1f
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048958]
mov qword [0x180048950], rax
call fcn.18002a538
jmp 0x180024a1f
lea rcx, [0x180048968]
call fcn.18002a5a4
cmp dword [0x180048968], 0xffffffff
jne 0x180024a47
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048968]
mov qword [0x180048960], rax
call fcn.18002a538
jmp 0x180024a47
lea rcx, [0x180048978]
call fcn.18002a5a4
cmp dword [0x180048978], 0xffffffff
jne 0x180024a6f
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048978]
mov qword [0x180048970], rax
call fcn.18002a538
jmp 0x180024a6f
lea rcx, [0x180048988]
call fcn.18002a5a4
cmp dword [0x180048988], 0xffffffff
jne 0x180024a9c
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048988]
mov qword [0x180048980], rax
call fcn.18002a538
jmp 0x180024a9c