Function at 0x1800198a0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.180019280
test ebx, ebx
je 0x1800199d6
cmp ebx, 1
jne 0x180019ac3
cmp byte [0x1800745af], 0
jne 0x180019ac3
lea rcx, [0x180015bd0]
mov byte [0x1800745af], bl
call fcn.18000bdd0
lea rcx, [0x1800139f0]
call fcn.18000bc20
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 [0x1800749f0], eax
jg 0x180019b0a
mov rax, qword [0x1800749e8]
test rax, rax
je 0x18001992c
lea rdx, [0x1800174c0]
mov ecx, 6
call rax
mov eax, dword [rbx]
cmp dword [0x180074a00], eax
jg 0x180019b52
mov rax, qword [0x1800749f8]
test rax, rax
je 0x180019954
lea rdx, [0x180014150]
mov ecx, 8
call rax
lea rcx, [0x180014520]
call fcn.18000bcb0
lea rcx, [0x180013450]
call fcn.18000bd40
mov eax, dword [rbx]
cmp dword [0x180074a10], eax
jg 0x180019b9a
mov rax, qword [0x180074a08]
test rax, rax
je 0x180019994
lea rdx, [0x180012200]
mov ecx, 0x29
call rax
mov eax, dword [rbx]
cmp dword [0x180074a20], eax
jg 0x180019be2
mov rax, qword [0x180074a18]
test rax, rax
je 0x1800199bc
lea rdx, [0x180015cf0]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x180074a30], eax
jg 0x180019c2a
mov rax, qword [0x180074a28]
jmp 0x180019aaa
lea rcx, [0x180015bd0]
call fcn.18000c1c0
lea rcx, [0x1800139f0]
call fcn.18000c010
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 [0x180074a40], eax
jg 0x180019c79
mov rax, qword [0x180074a38]
test rax, rax
je 0x180019a31
lea rdx, [0x1800174c0]
mov ecx, 6
call rax
mov eax, dword [rbx]
cmp dword [0x180074a50], eax
jg 0x180019cc1
mov rax, qword [0x180074a48]
test rax, rax
je 0x180019a59
lea rdx, [0x180014150]
mov ecx, 8
call rax
lea rcx, [0x180014520]
call fcn.18000c0a0
lea rcx, [0x180013450]
call fcn.18000c130
mov eax, dword [rbx]
cmp dword [0x180074a60], eax
jg 0x180019d09
mov rax, qword [0x180074a58]
test rax, rax
je 0x180019a99
lea rdx, [0x180015cf0]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x180074a70], eax
jg 0x180019ac9
mov rax, qword [0x180074a68]
test rax, rax
je 0x180019ac3
lea rdx, [0x180013a60]
mov ecx, 0xa
add rsp, 0x20
pop rbx
jmp rax
add rsp, 0x20
pop rbx
ret
lea rcx, [0x180074a70]
call fcn.18001e0a8
cmp dword [0x180074a70], 0xffffffff
jne 0x180019aa3
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a70]
mov qword [0x180074a68], rax
call fcn.18001e03c
jmp 0x180019aa3
lea rcx, [0x1800749f0]
call fcn.18001e0a8
cmp dword [0x1800749f0], 0xffffffff
jne 0x180019912
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800749f0]
mov qword [0x1800749e8], rax
call fcn.18001e03c
jmp 0x180019912
lea rcx, [0x180074a00]
call fcn.18001e0a8
cmp dword [0x180074a00], 0xffffffff
jne 0x18001993a
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a00]
mov qword [0x1800749f8], rax
call fcn.18001e03c
jmp 0x18001993a
lea rcx, [0x180074a10]
call fcn.18001e0a8
cmp dword [0x180074a10], 0xffffffff
jne 0x18001997a
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a10]
mov qword [0x180074a08], rax
call fcn.18001e03c
jmp 0x18001997a
lea rcx, [0x180074a20]
call fcn.18001e0a8
cmp dword [0x180074a20], 0xffffffff
jne 0x1800199a2
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a20]
mov qword [0x180074a18], rax
call fcn.18001e03c
jmp 0x1800199a2
lea rcx, [0x180074a30]
call fcn.18001e0a8
cmp dword [0x180074a30], 0xffffffff
jne 0x1800199ca
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, [0x18006d8d8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a30]
mov qword [0x180074a28], rax
call fcn.18001e03c
mov rax, qword [0x180074a28]
jmp 0x180019aaa
lea rcx, [0x180074a40]
call fcn.18001e0a8
cmp dword [0x180074a40], 0xffffffff
jne 0x180019a17
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a40]
mov qword [0x180074a38], rax
call fcn.18001e03c
jmp 0x180019a17
lea rcx, [0x180074a50]
call fcn.18001e0a8
cmp dword [0x180074a50], 0xffffffff
jne 0x180019a3f
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a50]
mov qword [0x180074a48], rax
call fcn.18001e03c
jmp 0x180019a3f
lea rcx, [0x180074a60]
call fcn.18001e0a8
cmp dword [0x180074a60], 0xffffffff
jne 0x180019a7f
xor ecx, ecx
call fcn.18001cc30
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180074a60]
mov qword [0x180074a58], rax
call fcn.18001e03c
jmp 0x180019a7f