Function at 0x180025640
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.180024840
test ebx, ebx
je 0x180025722
cmp ebx, 1
jne 0x1800257f3
cmp byte [0x1800485fb], 0
jne 0x1800257f3
lea rcx, [0x18001dde0]
mov byte [0x1800485fb], bl
call fcn.18000ccb0
lea rcx, [0x18001a720]
call fcn.18000c9e0
lea rcx, [0x180020ee0]
call fcn.18000cb90
lea rcx, [0x18001b5f0]
call fcn.18000cc20
lea rcx, [0x18001ba10]
call fcn.18000ca70
lea rcx, [0x180019d10]
call fcn.18000cb00
lea rcx, [0x1800162f0]
call fcn.18000cf80
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 [0x1800489d8], eax
jg 0x18002583a
mov rax, qword [0x1800489d0]
test rax, rax
je 0x180025708
lea rdx, [0x18001df00]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x1800489e8], eax
jg 0x180025882
mov rax, qword [0x1800489e0]
jmp 0x1800257da
lea rcx, [0x18001dde0]
call fcn.18000d400
lea rcx, [0x18001a720]
call fcn.18000d1c0
lea rcx, [0x180020ee0]
call fcn.18000d370
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 [0x180048a08], eax
jg 0x1800258d1
mov rax, qword [0x180048a00]
test rax, rax
je 0x180025789
lea rdx, [0x18001b5f0]
mov ecx, 8
call rax
lea rcx, [0x18001ba10]
call fcn.18000d250
lea rcx, [0x180019d10]
call fcn.18000d2e0
mov eax, dword [rbx]
cmp dword [0x180048a18], eax
jg 0x180025919
mov rax, qword [0x180048a10]
test rax, rax
je 0x1800257c9
lea rdx, [0x18001df00]
mov ecx, 9
call rax
mov eax, dword [rbx]
cmp dword [0x180048a28], eax
jg 0x1800257f9
mov rax, qword [0x180048a20]
test rax, rax
je 0x1800257f3
lea rdx, [0x18001a790]
mov ecx, 0xa
add rsp, 0x20
pop rbx
jmp rax
add rsp, 0x20
pop rbx
ret
lea rcx, [0x180048a28]
call fcn.18002a5a4
cmp dword [0x180048a28], 0xffffffff
jne 0x1800257d3
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048a28]
mov qword [0x180048a20], rax
call fcn.18002a538
jmp 0x1800257d3
lea rcx, [0x1800489d8]
call fcn.18002a5a4
cmp dword [0x1800489d8], 0xffffffff
jne 0x1800256ee
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800489d8]
mov qword [0x1800489d0], rax
call fcn.18002a538
jmp 0x1800256ee
lea rcx, [0x1800489e8]
call fcn.18002a5a4
cmp dword [0x1800489e8], 0xffffffff
jne 0x180025716
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, [0x180040928]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1800489e8]
mov qword [0x1800489e0], rax
call fcn.18002a538
mov rax, qword [0x1800489e0]
jmp 0x1800257da
lea rcx, [0x180048a08]
call fcn.18002a5a4
cmp dword [0x180048a08], 0xffffffff
jne 0x18002576f
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048a08]
mov qword [0x180048a00], rax
call fcn.18002a538
jmp 0x18002576f
lea rcx, [0x180048a18]
call fcn.18002a5a4
cmp dword [0x180048a18], 0xffffffff
jne 0x1800257af
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeUnregisterEvent
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x180048a18]
mov qword [0x180048a10], rax
call fcn.18002a538
jmp 0x1800257af