Function at 0x2bbfc7590
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movups xmmword [rsp + 0x20], xmm6
mov rbp, rcx
mov r12, rdx
lea rcx, str.uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x2bbfc782a
mov r13, qword [0x2bc041fd0]
mov ecx, 0x58
mov rax, qword [r13]
call qword [rax + 0x28]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenThemeData
mov rcx, rbx
mov rdi, rax
call rsi
mov qword [rdi], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.CloseThemeData
mov rcx, rbx
call rsi
mov qword [rdi + 8], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.GetThemePartSize
mov rcx, rbx
call rsi
mov qword [rdi + 0x10], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.GetThemeSysSize
mov rcx, rbx
call rsi
mov qword [rdi + 0x18], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.DrawThemeBackground
mov rcx, rbx
call rsi
mov qword [rdi + 0x20], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.DrawThemeEdge
mov rcx, rbx
call rsi
mov qword [rdi + 0x28], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.GetThemeTextExtent
mov rcx, rbx
call rsi
mov qword [rdi + 0x38], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.DrawThemeText
mov rcx, rbx
call rsi
mov qword [rdi + 0x30], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.IsThemeActive
mov rcx, rbx
call rsi
mov qword [rdi + 0x40], rax
test rax, rax
je 0x2bbfc7820
lea rdx, str.IsAppThemed
mov rcx, rbx
call rsi
mov qword [rdi + 0x48], rax
test rax, rax
je 0x2bbfc7820
mov qword [rdi + 0x50], r12
lea rdx, str.winnative
mov rcx, rbp
call sym.Ttk_GetTheme
lea rdx, str.xpnative
mov rcx, rbp
mov r8, rax
call sym.Ttk_CreateTheme
mov r12, rax
test rax, rax
je 0x2bbfc782a
mov rax, qword [r13]
mov ecx, 0x10
call qword [rax + 0x28]
mov rcx, r12
mov qword [rax], rbx
lea rbx, [sym.XPThemeEnabled]
mov rsi, rax
mov r8, rax
mov qword [rax + 8], rdi
mov rdx, rbx
call sym.Ttk_SetThemeEnabledProc
lea r8, [sym.XPThemeDeleteProc]
mov rdx, rsi
mov rcx, rbp
call sym.Ttk_RegisterCleanup
mov r9, rsi
lea r8, [sym.Ttk_CreateVsapiElement]
mov rcx, rbp
lea rdx, str.vsapi
call sym.Ttk_RegisterElementFactory
call sym.tcl9tk90.dll_TkWinGetPlatformTheme
cmp eax, 3
je 0x2bbfc7838
lea rsi, [0x2bc031280]
pxor xmm6, xmm6
lea r14, [sym.DestroyElementData]
nop
mov rax, qword [r13]
mov ecx, 0x40
call qword [rax + 0x28]
mov rcx, r12
mov qword [rax], rsi
mov rbx, rax
mov r9, rax
add rsi, 0x38
mov qword [rax + 8], rdi
movups xmmword [rax + 0x10], xmm6
mov rdx, qword [rsi - 0x38]
mov r8, qword [rsi - 0x30]
call sym.Ttk_RegisterElementSpec
mov r8, r14
mov rdx, rbx
mov rcx, rbp
call sym.Ttk_RegisterCleanup
cmp qword [rsi], 0
jne 0x2bbfc7780
mov r8, qword [0x2bc042280]
xor r9d, r9d
lea rdx, str.Scale.trough
mov rcx, r12
call sym.Ttk_RegisterElementSpec
lea rdx, [0x2bbff2880]
mov rcx, r12
call sym.Ttk_RegisterLayouts
mov rax, qword [r13]
xor r9d, r9d
mov rcx, rbp
lea r8, [0x2bc030cf3]
lea rdx, str.ttk::theme::xpnative
call qword [rax + 0x10]
xor eax, eax
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rax, qword [r13]
mov rcx, rdi
call qword [rax + 0x30]
mov eax, 1
jmp 0x2bbfc780a
mov r8, r12
lea rdx, str.vista
mov rcx, rbp
call sym.Ttk_CreateTheme
test rax, rax
je 0x2bbfc776d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call sym.Ttk_SetThemeEnabledProc
jmp 0x2bbfc776d