Function at 0x10003e90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub eax, 0
je 0x1000402f
sub eax, 1
jne 0x10004079
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1000c728]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x1000c698]
cmp eax, dword [edi + 4]
jg 0x10004085
mov eax, dword [0x1000c694]
push 0
mov dword [ebp + 8], eax
call fcn.10003520
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10004026
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ReShadeRegisterAddon
push ebx
call esi
test eax, eax
je 0x10004026
push 0xa
push dword [ebp + 8]
call eax
add esp, 8
test al, al
je 0x10004026
push str.ReShadeGetImGuiFunctionTable
push ebx
call esi
test eax, eax
je 0x10004026
push 0x4a38
call eax
add esp, 4
mov dword [0x1000c688], eax
test eax, eax
je 0x10004026
mov eax, dword [0x1000c6b0]
cmp eax, dword [edi + 4]
jg 0x100040b9
mov eax, dword [0x1000c6ac]
test eax, eax
je 0x10003f5c
push 0x10003820
push 9
call eax
add esp, 8
mov eax, dword [0x1000c6b8]
cmp eax, dword [edi + 4]
jg 0x100040fc
mov eax, dword [0x1000c6b4]
test eax, eax
je 0x10003f82
push 0x10003ad0
push 0x4c
call eax
add esp, 8
mov eax, dword [0x1000c6c0]
cmp eax, dword [edi + 4]
jg 0x1000413f
mov eax, dword [0x1000c6bc]
test eax, eax
je 0x10003fa8
push 0x10003ac0
push 0x53
call eax
add esp, 8
mov eax, dword [0x1000c6c8]
cmp eax, dword [edi + 4]
jg 0x10004182
mov eax, dword [0x1000c6c4]
test eax, eax
je 0x10003fce
push 0x10003ae0
push 0x4d
call eax
add esp, 8
mov eax, dword [0x1000c6d0]
cmp eax, dword [edi + 4]
jg 0x100041c5
mov eax, dword [0x1000c6cc]
test eax, eax
je 0x10003ff4
push 0x10003bf0
push 0x4e
call eax
add esp, 8
mov eax, dword [0x1000c6a8]
cmp eax, dword [edi + 4]
jg 0x10004208
mov eax, dword [0x1000c6a4]
test eax, eax
je 0x10004079
push 0x10002e70
push 0
call eax
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1000c728]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1000c698]
cmp eax, dword [ecx + 4]
jg 0x1000424b
mov esi, dword [0x1000c694]
push 0
call fcn.10003520
add esp, 4
test eax, eax
je 0x10004079
push str.ReShadeUnregisterAddon
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004079
push esi
call eax
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
push 0x1000c698
call fcn.10007bee
add esp, 4
cmp dword [0x1000c698], 0xffffffff
jne 0x10003ecb
mov eax, dword [ebp + 8]
push 0x1000c698
mov dword [0x1000c694], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003ecb
push 0x1000c6b0
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6b0], 0xffffffff
jne 0x10003f47
push str.ReShadeRegisterEvent
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6b0
mov dword [0x1000c6ac], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003f47
push 0x1000c6b8
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6b8], 0xffffffff
jne 0x10003f6d
push str.ReShadeRegisterEvent
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6b8
mov dword [0x1000c6b4], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003f6d
push 0x1000c6c0
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6c0], 0xffffffff
jne 0x10003f93
push str.ReShadeRegisterEvent
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6c0
mov dword [0x1000c6bc], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003f93
push 0x1000c6c8
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6c8], 0xffffffff
jne 0x10003fb9
push str.ReShadeRegisterEvent
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6c8
mov dword [0x1000c6c4], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003fb9
push 0x1000c6d0
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6d0], 0xffffffff
jne 0x10003fdf
push str.ReShadeRegisterEvent
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6d0
mov dword [0x1000c6cc], eax
call fcn.10007b9d
add esp, 4
jmp 0x10003fdf
push 0x1000c6a8
call fcn.10007bee
add esp, 4
cmp dword [0x1000c6a8], 0xffffffff
jne 0x10004005
push str.ReShadeRegisterOverlay
push 0
call fcn.10003520
add esp, 4
push eax
call esi
push 0x1000c6a8
mov dword [0x1000c6a4], eax
call fcn.10007b9d
add esp, 4
jmp 0x10004005
push 0x1000c698
call fcn.10007bee
add esp, 4
cmp dword [0x1000c698], 0xffffffff
jne 0x1000404f
mov eax, dword [ebp + 8]
push 0x1000c698
mov dword [0x1000c694], eax
call fcn.10007b9d
add esp, 4
jmp 0x1000404f