Function at 0x41d3f0
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ba23
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x45e274]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x45e274]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jae 0x41d51c
push str.No_install_update_for_WinXP
push 1
push 3
push 0xd1
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x5c]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x10
cmp dword [0x4615f4], 0
jne 0x41d515
mov eax, dword [0x45e020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e020
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x11
push str.STRING_NOT_FOUND_
lea ecx, [esp + 0x18]
mov dword [esp + 0x198], 0
call fcn.00403370
mov eax, dword [0x461624]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45fd28]
mov ax, word [eax]
mov ecx, 0x43a
lea ebx, [esp + 0x10]
call fcn.0040d700
test eax, eax
jne 0x41d4d9
mov eax, dword [0x45fd28]
mov ecx, 0x43a
call fcn.0040d700
mov eax, dword [0x461708]
mov esi, dword [esp + 0x10]
push 0x30
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov dword [esp + 0x190], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d515
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41d7a4
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x41d589
push esi
push str.Started_in_safe_mode___i_
push 3
push 3
push 0xdf
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x54]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x14
push esi
push str.InstallStartedInSafeMode_i
call fcn.004084d0
add esp, 8
cmp dword [0x4615f4], ebx
jne 0x41d582
mov ecx, dword [0x461708]
push 0x30
push ecx
push str.Ebonmedia_installer_cannot_be_started_in_safe_mode
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x41d7a4
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
mov edi, 1
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push ebx
push ebx
push ebx
push 0x41cfb0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.Msftedit.dll
mov dword [esp + 0x194], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea esi, [esp + 0x5c]
call fcn.0041dd80
mov byte [esp + 0x190], 2
cmp dword [0x461604], ebx
je 0x41d6dc
push str.Admin_start.
push edi
push 3
push 0xf0
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x44]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x10
test byte [0x4617f8], 1
jne 0x41d63c
or dword [0x4617f8], edi
call fcn.00409ed0
push 0x44c230
call fcn.0042f533
add esp, 4
push edi
push 0x4617a0
call fcn.00409fd0
push str.InstallRun
call fcn.004084d0
add esp, 4
cmp dword [0x4615f4], ebx
je 0x41d696
lea eax, [esp + 0x5c]
call fcn.0041eff0
call fcn.00424300
push str.InstallSilent
call fcn.004084d0
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd4], ebx
push ecx
mov dword [esp + 0x10c], ebx
call fcn.0041f020
mov esi, eax
jmp 0x41d769
lea ebx, [esp + 0x5c]
lea esi, [esp + 0x10c]
call fcn.00417c90
mov eax, dword [0x461618]
mov edx, esi
push edx
push 0x414bb0
push 0
push 0x81
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
call fcn.004242d0
lea ecx, [esp + 0x10c]
push ecx
call fcn.00417d30
xor ebx, ebx
jmp 0x41d769
push str.Not_admin_start.
push edi
push 3
push 0x10a
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x68]
call fcn.0042d6f0
push eax
call fcn.0042d910
add esp, 0x10
test byte [0x4617f8], 1
jne 0x41d726
or dword [0x4617f8], edi
call fcn.00409ed0
push 0x44c230
call fcn.0042f533
add esp, 4
push ebx
push 0x4617a0
call fcn.00409fd0
lea edi, [esp + 0x5c]
call fcn.0041e090
mov esi, eax
cmp esi, ebx
jne 0x41d769
cmp word [0x4616e4], bx
je 0x41d756
cmp dword [0x4615f4], ebx
jne 0x41d756
call fcn.0041d300
cmp dword [0x4615ec], ebx
jne 0x41d769
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x194], 1
call fcn.0041df60
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x41d7a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0042f25f
mov esp, ebp
pop ebp
ret