Function at 0x412a80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6c28
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.player__create_root_window...
push 0x45
push str.LDRemoteImpl::createMainFrame
call fcn.00426450
push 0x578
call fcn.004804da
mov edi, eax
mov dword [ebp - 0x130], edi
push 0x578
push 0
push edi
mov dword [ebp - 4], 0
call fcn.00482730
add esp, 0x1c
mov ecx, edi
call fcn.0043fae0
lea esi, [edi + 0x10]
lea ecx, [esi + 4]
mov dword [esi], vtable.DuiLib::CNotifyPump.0
push 0x53
mov dword [ebp - 0x134], esi
call fcn.00436a60
mov byte [ebp - 4], 1
lea ecx, [edi + 0x2c]
mov dword [edi + 0x20], vtable.DuiLib::INotifyUI.0
mov dword [edi + 0x24], vtable.DuiLib::IMessageFilterUI.0
mov dword [edi + 0x28], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [edi], vtable.DuiLib::WindowImplBase.1.0
mov dword [esi], vtable.DuiLib::WindowImplBase.2.0
mov dword [edi + 0x20], vtable.DuiLib::WindowImplBase.3.0
mov dword [edi + 0x24], vtable.DuiLib::WindowImplBase.4.0
mov dword [edi + 0x28], vtable.DuiLib::WindowImplBase.0
call fcn.004380a0
push 0x118
lea eax, [ebp - 0x128]
mov dword [esi], vtable.LDRemoteMainFrame.3.0
push 0
mov dword [ebp - 4], 0xffffffff
mov esi, 0x86000000
mov dword [edi], vtable.LDRemoteMainFrame.4.0
mov dword [edi + 0x20], vtable.LDRemoteMainFrame.2.0
mov dword [edi + 0x24], vtable.LDRemoteMainFrame.1.0
mov dword [edi + 0x28], vtable.LDRemoteMainFrame.0
mov dword [edi + 0x528], 0
mov dword [edi + 0x52c], 0
mov dword [edi + 0x530], 0
mov dword [edi + 0x534], 0
mov dword [edi + 0x538], 0
mov dword [edi + 0x53c], 0
mov dword [edi + 0x540], 0
mov dword [edi + 0x544], 0
mov dword [edi + 0x548], 0
mov dword [edi + 0x54c], 0
mov dword [edi + 0x550], 0
mov dword [edi + 0x554], 0
mov dword [edi + 0x558], 0
mov dword [edi + 0x55c], 0
mov dword [edi + 0x560], 0
mov dword [edi + 0x564], 0
mov dword [edi + 0x568], 0
mov dword [edi + 0x56c], 0
mov dword [edi + 0x570], 0
mov dword [edi + 0x574], 0
push eax
mov dword [ebx], edi
call fcn.00482730
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x12c]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
push eax
call edi
test eax, eax
jne 0x412c89
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x114
push eax
call edi
cmp dword [ebp - 0x128], 6
mov eax, 0x860c0000
mov ecx, dword [ebx]
push 8
cmovb esi, eax
push esi
push 0
push 0
call fcn.0043fd20
mov ecx, dword [ebx]
push 0x6b
call fcn.00440130
mov ecx, dword [ebx]
call fcn.0043fb00
cmp dword [0x4d585c], 7
mov ecx, 0x4d5848
mov edx, dword [0x4d5858]
cmova ecx, dword [0x4d5848]
push 7
push str.install
push 0
call fcn.0041fa40
add esp, 0xc
test eax, eax
je 0x412d1f
cmp byte [0x4d5868], 0
je 0x412d0c
push str.show_root_window
push 0x55
push str.LDRemoteImpl::createMainFrame
call fcn.00426450
mov ecx, dword [ebx]
add esp, 0xc
push 1
push 1
call fcn.004401b0
push str.update
mov ecx, 0x4d5848
call fcn.0040cba0
test al, al
je 0x412d26
mov ecx, dword [ebx]
call fcn.0040a470
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048049b
mov esp, ebp
pop ebp
ret