Function at 0x180029580
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x180048080]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov esi, edx
mov eax, edx
xor r14d, r14d
test edx, edx
je 0x180029dd5
cmp eax, 1
je 0x18002964c
test edx, edx
je 0x180029e03
cmp eax, 1
jne 0x180029e46
cmp byte [0x18004869e], 0
jne 0x180029e46
mov byte [0x18004869e], 1
lea rax, [0x1800485c0]
mov qword [0x1800487c0], rax
lea rax, [0x180021960]
mov qword [0x1800487b8], rax
lea rdx, str.renodx_preset1
xor ecx, ecx
call fcn.180015730
mov edx, dword [0x180048d48]
mov rax, qword gs:[0x58]
mov ecx, 0x2c
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x180048828], ecx
jg 0x180029f66
mov rax, qword [0x180048820]
jmp 0x180029e31
call fcn.1800289d0
mov rdi, rax
xor ecx, ecx
call fcn.180028a40
mov rbx, rax
test rax, rax
je 0x180029dce
lea rdx, str.ReShadeRegisterAddon
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180029dce
mov edx, 0xd
mov rcx, rdi
call rax
test al, al
je 0x180029dce
lea rdx, str.ReShadeGetImGuiFunctionTable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180029dce
mov ecx, 0x4a60
call rax
mov qword [0x1800487c8], rax
test rax, rax
je 0x180029dce
mov byte [0x180048013], r14b
lea rcx, [0x18001ba70]
call fcn.18000ccb0
lea rcx, [0x180019dc0]
call fcn.18000c9e0
lea rcx, [0x1800203d0]
call fcn.18000cb90
lea rcx, [0x18001b540]
call fcn.18000cc20
lea rcx, [0x180021510]
call fcn.18000d0a0
mov eax, 3
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 4
lea rdi, [rsp + 0x20]
nop dword [rax + rax]
mov dword [rsp + 0x70], 0x1b
mov dword [rsp + 0x74], 0xa
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x7c], 0
mov dword [rbp - 0x80], r14d
mov word [rbp - 0x7c], 0
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], 0xc0000000
mov qword [rbp - 0x6c], r14
mov byte [rbp - 0x64], 0
mov dword [rbp + 0x70], 0xc0
mov dword [rbp + 0x74], 9
mov dword [rbp + 0x78], 9
mov dword [rbp + 0x7c], 8
mov dword [rbp + 0x80], 9
mov dword [rbp + 0x84], 9
mov dword [rbp + 0x88], 4
mov dword [rbp + 0x8c], 9
mov dword [rbp + 0x90], 9
mov dword [rbp + 0x94], 0xc0
mov dword [rbp + 0x98], 0x1b
mov dword [rbp + 0x9c], 9
mov dword [rbp + 0xa0], 8
mov dword [rbp + 0xa4], 0x1b
mov dword [rbp + 0xa8], 9
mov dword [rbp + 0xac], 4
mov dword [rbp + 0xb0], 0x1b
mov dword [rbp + 0xb4], 9
mov dword [rbp + 0xb8], 0xc0
mov dword [rbp + 0xbc], 0x17
mov dword [rbp + 0xc0], 9
mov dword [rbp + 0xc4], 8
mov dword [rbp + 0xc8], 0x17
mov dword [rbp + 0xcc], 9
mov dword [rbp + 0xd0], 4
mov dword [rbp + 0xd4], 0x17
mov dword [rbp + 0xd8], 9
mov dword [rbp + 0xdc], 0xc0
mov dword [rbp + 0xe0], 0xa
mov dword [rbp + 0xe4], 0xa
mov dword [rbp + 0xe8], 8
mov dword [rbp + 0xec], 0xa
mov dword [rbp + 0xf0], 0xa
mov dword [rbp + 0xf4], 4
mov dword [rbp + 0xf8], 0xa
mov dword [rbp + 0xfc], 0xa
mov dword [rbp + 0x100], 0xc0
mov dword [rbp + 0x104], 0x1c
mov dword [rbp + 0x108], 0xa
mov dword [rbp + 0x10c], 8
mov dword [rbp + 0x110], 0x1c
mov dword [rbp + 0x114], 0xa
mov dword [rbp + 0x118], 4
mov dword [rbp + 0x11c], 0x1c
mov dword [rbp + 0x120], 0xa
mov dword [rbp + 0x124], 0xc0
mov dword [rbp + 0x128], 0x57
mov dword [rbp + 0x12c], 0xa
mov dword [rbp + 0x130], 8
mov dword [rbp + 0x134], 0x57
mov dword [rbp + 0x138], 0xa
mov dword [rbp + 0x13c], 4
mov dword [rbp + 0x140], 0x57
mov dword [rbp + 0x144], 0xa
mov dword [rbp + 0x148], 0xc0
mov dword [rbp + 0x14c], 0x1f
mov dword [rbp + 0x150], 0xa
mov dword [rbp + 0x154], 8
mov dword [rbp + 0x158], 0x1f
mov dword [rbp + 0x15c], 0xa
mov dword [rbp + 0x160], 4
mov dword [rbp + 0x164], 0x1f
mov dword [rbp + 0x168], 0xa
mov dword [rbp + 0x16c], 0xc0
mov dword [rbp + 0x170], 0x1d
mov dword [rbp + 0x174], 0xa
mov dword [rbp + 0x178], 8
mov dword [rbp + 0x17c], 0x1d
mov dword [rbp + 0x180], 0xa
mov dword [rbp + 0x184], 4
mov dword [rbp + 0x188], 0x1d
mov dword [rbp + 0x18c], 0xa
mov dword [rbp + 0x190], 0xc0
mov dword [rbp + 0x194], 0x5b
mov dword [rbp + 0x198], 0xa
mov dword [rbp + 0x19c], 8
mov dword [rbp + 0x1a0], 0x5b
mov dword [rbp + 0x1a4], 0xa
mov dword [rbp + 0x1a8], 4
mov dword [rbp + 0x1ac], 0x5b
mov dword [rbp + 0x1b0], 0xa
mov dword [rbp + 0x1b4], 0xc0
mov dword [rbp + 0x1b8], 0x42475331
mov dword [rbp + 0x1bc], 0xa
mov dword [rbp + 0x1c0], 8
mov dword [rbp + 0x1c4], 0x42475331
mov dword [rbp + 0x1c8], 0xa
mov dword [rbp + 0x1cc], 4
mov dword [rbp + 0x1d0], 0x42475331
mov dword [rbp + 0x1d4], 0xa
mov dword [rbp + 0x1d8], 0xc0
mov dword [rbp + 0x1dc], 0x18
mov dword [rbp + 0x1e0], 0xa
mov dword [rbp + 0x1e4], 8
mov dword [rbp + 0x1e8], 0x18
mov dword [rbp + 0x1ec], 0xa
mov dword [rbp + 0x1f0], 4
mov dword [rbp + 0x1f4], 0x18
mov dword [rbp + 0x1f8], 0xa
mov dword [rbp + 0x1fc], 0xc0
mov dword [rbp + 0x200], 0x1a
mov dword [rbp + 0x204], 0xa
mov dword [rbp + 0x208], 8
mov dword [rbp + 0x20c], 0x1a
mov dword [rbp + 0x210], 0xa
mov dword [rbp + 0x214], 4
mov dword [rbp + 0x218], 0x1a
mov dword [rbp + 0x21c], 0xa
mov dword [rbp - 0x60], 0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov ecx, 0x20
call fcn.18002a104
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x28], 8
mov dword [rbp - 0x60], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [rbp - 0x48]
call fcn.180025a10
nop
lea r8, [rbp + 0x220]
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.180007d50
nop
mov eax, dword [rbp - 0x60]
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov ecx, 0x20
call fcn.18002a104
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp - 0x28]
mov qword [rbp + 0x18], rcx
mov rdx, qword [rbp - 0x40]
sub rdx, qword [rbp - 0x48]
sar rdx, 3
mov r8, rax
lea rcx, [rbp - 8]
call fcn.180025a10
mov r8, qword [rbp - 0x58]
mov rdx, qword [r8]
lea rcx, [rbp - 0x20]
call fcn.1800089c0
nop
mov dword [rbp + 0x20], 0xffffffff
mov dword [rbp + 0x24], 0xfffeffff
mov dword [rbp + 0x28], 0xfffefffe
mov qword [rbp + 0x2c], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], 0
mov dword [rbp + 0x58], 0xbf800000
mov dword [rbp + 0x5c], r14d
mov byte [rbp + 0x60], 0
mov rax, qword [0x1800487a8]
cmp rax, qword [0x1800487b0]
je 0x180029cc1
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.18000f0a0
add qword [0x1800487a8], 0xf8
jmp 0x180029cd6
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [0x1800487a0]
call fcn.1800072d0
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x180029d11
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029dc7
call fcn.18002a140
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x180029d6f
mov rax, qword [rbp + 8]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180029d5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180029dc7
call fcn.18002a140
mov qword [rbp - 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx + 8]
mov qword [rax], r14
mov rcx, qword [rcx]
test rcx, rcx
je 0x180029d97
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.18002a140
mov rcx, rbx
test rbx, rbx
jne 0x180029d82
mov edx, 0x20
mov rcx, qword [rbp - 0x18]
call fcn.18002a140
lea rcx, [rbp - 0x60]
call fcn.18000f780
add rdi, 4
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x1800295db
mov eax, dword [rdi]
jmp 0x180029720
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor eax, eax
jmp 0x180029ef3
call fcn.1800289d0
mov rbx, rax
xor ecx, ecx
call fcn.180028a40
test rax, rax
je 0x180029e03
lea rdx, str.ReShadeUnregisterAddon
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180029e03
mov rcx, rbx
call rax
mov edx, dword [0x180048d48]
mov rax, qword gs:[0x58]
mov ecx, 0x2c
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x180048838], ecx
jg 0x180029f1e
mov rax, qword [0x180048830]
test rax, rax
je 0x180029e46
lea rdx, [0x1800224c0]
lea rcx, str.RenoDX
call rax
mov ecx, esi
call fcn.180024d20
lea rax, [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [0x180048580]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov ecx, 0x58
call fcn.18002a104
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov rcx, qword [0x1800485b0]
mov qword [rsp + 0x58], rcx
mov rcx, qword [0x1800485b8]
mov qword [rsp + 0x60], rcx
mov rdx, qword [0x1800485a0]
sub rdx, qword [0x180048598]
sar rdx, 3
mov r8, rax
lea rcx, [rsp + 0x40]
call fcn.180025a10
mov r8, qword [0x180048588]
mov rdx, qword [r8]
lea rcx, [rsp + 0x28]
call fcn.180008750
nop
lea r8, [0x180048540]
lea rdx, [rsp + 0x28]
mov ecx, esi
call fcn.1800043f0
mov eax, 1
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.18002a8d0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [0x180048838]
call fcn.18002a5a4
cmp dword [0x180048838], 0xffffffff
jne 0x180029e2a
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeUnregisterOverlay
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180048830], rax
lea rcx, [0x180048838]
call fcn.18002a538
jmp 0x180029e2a
lea rcx, [0x180048828]
call fcn.18002a5a4
cmp dword [0x180048828], 0xffffffff
jne 0x180029640
xor ecx, ecx
call fcn.180028a40
mov rcx, rax
lea rdx, str.ReShadeRegisterOverlay
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180048820], rax
lea rcx, [0x180048828]
call fcn.18002a538
mov rax, qword [0x180048820]
jmp 0x180029e31