Function at 0x41d510
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44b6a3
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x45d274]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x45d274]
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 0x41d63c
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.0042d360
push eax
call fcn.0042d580
add esp, 0x10
cmp dword [0x460574], 0
jne 0x41d635
mov eax, dword [0x45d020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d020
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 [0x4605a4]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45ed28]
mov ax, word [eax]
mov ecx, 0x43a
lea ebx, [esp + 0x10]
call fcn.0040d7d0
test eax, eax
jne 0x41d5f9
mov eax, dword [0x45ed28]
mov ecx, 0x43a
call fcn.0040d7d0
mov eax, dword [0x460688]
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 0x41d635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41d8c4
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x41d6a9
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.0042d360
push eax
call fcn.0042d580
add esp, 0x14
push esi
push str.InstallStartedInSafeMode_i
call fcn.00408430
add esp, 8
cmp dword [0x460574], ebx
jne 0x41d6a2
mov ecx, dword [0x460688]
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 0x41d8c4
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 0x41d070
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.0041deb0
mov byte [esp + 0x190], 2
cmp dword [0x460584], ebx
je 0x41d7fc
push str.Admin_start.
push edi
push 3
push 0xf0
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x44]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x10
test byte [0x460778], 1
jne 0x41d75c
or dword [0x460778], edi
call fcn.00409e90
push 0x44bea0
call fcn.0042f1a3
add esp, 4
push edi
push 0x460720
call fcn.00409f90
push str.InstallRun
call fcn.00408430
add esp, 4
cmp dword [0x460574], ebx
je 0x41d7b6
lea eax, [esp + 0x5c]
call fcn.0041f110
call fcn.00424000
push str.InstallSilent
call fcn.00408430
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0xd4], ebx
push ecx
mov dword [esp + 0x10c], ebx
call fcn.0041f140
mov esi, eax
jmp 0x41d889
lea ebx, [esp + 0x5c]
lea esi, [esp + 0x10c]
call fcn.00417d30
mov eax, dword [0x460598]
mov edx, esi
push edx
push 0x414c70
push 0
push 0x81
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
call fcn.00423fd0
lea ecx, [esp + 0x10c]
push ecx
call fcn.00417dd0
xor ebx, ebx
jmp 0x41d889
push str.Not_admin_start.
push edi
push 3
push 0x10a
push str.Normal
push str.Installer.cpp
lea ecx, [esp + 0x68]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x10
test byte [0x460778], 1
jne 0x41d846
or dword [0x460778], edi
call fcn.00409e90
push 0x44bea0
call fcn.0042f1a3
add esp, 4
push ebx
push 0x460720
call fcn.00409f90
lea edi, [esp + 0x5c]
call fcn.0041e1c0
mov esi, eax
cmp esi, ebx
jne 0x41d889
cmp word [0x460664], bx
je 0x41d876
cmp dword [0x460574], ebx
jne 0x41d876
call fcn.0041d420
cmp dword [0x46056c], ebx
jne 0x41d889
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x194], 1
call fcn.0041e090
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 0x41d8c2
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.0042eecf
mov esp, ebp
pop ebp
ret