Function at 0x1400544e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140300040]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx], 0
mov rbx, rcx
jne 0x1400547ea
mov byte [rcx], 1
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetNtVersionNumbers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400547ea
lea r8, [rbx + 4]
mov qword [rsp + 0x58], rsi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x24]
call qword [case.0x140038ca6.0]
mov ecx, dword [rbx + 4]
and ecx, 0xfffffff
cmp dword [rsp + 0x24], 0xa
mov dword [rbx + 4], ecx
jne 0x1400547e5
cmp dword [rsp + 0x28], 0
jne 0x1400547e5
cmp ecx, 0x4563
je 0x140054587
lea eax, [rcx - 0x47ba]
cmp eax, 1
jbe 0x140054587
lea eax, [rcx - 0x4a61]
cmp eax, 1
ja 0x1400547e5
xor edx, edx
mov qword [rsp + 0x60], rdi
mov r8d, 0x800
lea rcx, [0x140296368]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400547e0
mov edx, 0x31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x68
mov rcx, rdi
mov qword [0x14030c208], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x6a
mov rcx, rdi
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x84
mov rcx, rdi
mov qword [rbx + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x85
mov rcx, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x87
mov rcx, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [rbx + 4], 0x47ba
jae 0x140054627
mov qword [rbx + 0x20], rax
jmp 0x14005462b
mov qword [rbx + 0x50], rax
mov edx, 0x89
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.user32.dll
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetWindowCompositionAttribute
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14030c208], 0
mov qword [rbx + 8], rax
je 0x1400547e0
cmp qword [rbx + 0x30], 0
je 0x1400547e0
cmp qword [rbx + 0x10], 0
je 0x1400547e0
cmp qword [rbx + 0x18], 0
je 0x1400547e0
mov rax, qword [rbx + 0x20]
test rax, rax
jne 0x1400546a0
cmp qword [rbx + 0x50], rax
je 0x1400547e0
cmp qword [rbx + 0x38], 0
je 0x1400547e0
mov byte [rbx + 1], 1
test rax, rax
je 0x1400546be
mov cl, 1
call qword [case.0x140038ca6.0]
jmp 0x1400546d2
mov rax, qword [rbx + 0x50]
test rax, rax
je 0x1400546d2
mov ecx, 1
call qword [case.0x140038ca6.0]
mov rax, qword [rbx + 0x30]
call qword [case.0x140038ca6.0]
mov rax, qword [rbx + 0x10]
call qword [case.0x140038ca6.0]
test al, al
je 0x1400546fa
mov rcx, rbx
call fcn.140054800
test al, al
jne 0x1400546fa
mov al, 1
jmp 0x1400546fc
xor al, al
cmp byte [rbx + 1], 0
mov byte [rbx + 2], al
je 0x1400547e0
xor edx, edx
lea rcx, str.comctl32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1400547e0
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rax + 0xf0]
add rbx, rax
cmp dword [rbx + 4], 0
je 0x1400547e0
mov ecx, dword [rbx + 4]
lea rdx, str.uxtheme.dll
add rcx, rsi
call fcn.14020cfd8
test eax, eax
je 0x140054767
add rbx, 0x20
cmp dword [rbx + 4], 0
jne 0x140054742
jmp 0x1400547e0
mov ecx, dword [rbx + 0x10]
mov edi, dword [rbx + 0xc]
add rcx, rsi
add rdi, rsi
mov rax, qword [rcx]
test rax, rax
je 0x140054794
jns 0x140054783
cmp ax, 0x31
je 0x140054796
mov rax, qword [rcx + 8]
add rcx, 8
add rdi, 8
test rax, rax
jne 0x14005477b
xor edi, edi
test rdi, rdi
je 0x1400547e0
mov edx, 8
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400547e0
mov r8d, dword [rsp + 0x20]
lea rax, [0x140054a20]
lea r9, [rsp + 0x20]
mov qword [rdi], rax
mov edx, 8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401f74b0
add rsp, 0x40
pop rbx
ret