Function at 0x41dc30
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4a5907
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push ebp
push esi
mov eax, dword [0x4ccecc]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
push 0x11c
xor esi, esi
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00455040
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41dec0
mov ebx, 2
cmp dword [esp + 0x58], ebx
jne 0x41dec0
cmp dword [esp + 0x4c], 5
jbe 0x41dec0
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
push 0x4b84ec
push 0x17
push esi
push 0x4b84dc
mov dword [esp + 0x188], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
mov eax, dword [esp + 0x10]
jl 0x41dea9
cmp eax, esi
je 0x41dea9
mov dword [esp + 0x28], esi
mov byte [esp + 0x174], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push esi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
or edx, 0xa60
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x10]
mov edx, dword [edi]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, esi
jne 0x41de8a
mov dword [esp + 0x1c], esi
mov byte [esp + 0x174], bl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x6c]
call eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor eax, eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x174], 3
xor ebp, ebp
cmp dword [esp + 0x20], esi
jbe 0x41de3d
mov edi, edi
cmp eax, esi
je 0x41dda0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x80058000
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, esi
jl 0x41de29
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x41de29
push eax
lea ecx, [edi + 0x5c]
push 0x104
push ecx
call fcn.0044ec13
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00407850
lea edx, [esp + 0x2c]
push edx
lea ebx, [edi + 0x268]
mov byte [esp + 0x178], 4
call fcn.00407b30
lea esi, [esp + 0x2c]
mov byte [esp + 0x174], 3
call fcn.004078c0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x20]
jb 0x41dd90
mov ebx, 2
mov byte [esp + 0x174], bl
cmp eax, esi
je 0x41de50
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x174], 1
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x41de68
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x174], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x41de83
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
jmp 0x41dec3
mov dword [esp + 0x174], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x41dea5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
jmp 0x41dec3
mov dword [esp + 0x174], 0xffffffff
cmp eax, esi
je 0x41dec0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0044e200
add esp, 0x168
ret