Function at 0x41c6f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5800fd
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5eb6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
push str.CreateQueue___s____s____s____s__r_n
mov eax, 0x5f38b8
call fcn.004053d0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx - 0xc]
add esp, 0x14
test eax, eax
je 0x41ca65
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], 0
je 0x41ca65
mov edx, dword [ebp + 8]
cmp dword [edx - 0xc], 0
je 0x41ca65
add eax, 0xfffffff0
push eax
call fcn.00403760
add eax, 0x10
add esp, 4
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x41c821
push str.INF:
push ecx
call fcn.0055269b
add esp, 8
test eax, eax
je 0x41c821
sub eax, dword [ebp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x41c821
add eax, 4
push eax
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp + 0x14]
call fcn.00404be0
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.004037d0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x12c]
push ecx
mov ebx, 0x5b6c60
call fcn.0041d150
mov ebx, eax
mov eax, 0x5b6c60
call fcn.0041d1c0
call fcn.00453e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c83b
push 0x80004005
call fcn.004038e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x12c]
push ecx
push eax
push eax
push edx
lea eax, [ebp - 0x134]
push 0x5b6bc8
push eax
call fcn.00404130
mov ecx, dword [ebp - 0x134]
push ecx
push 0x5b6c64
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 0x20
mov ecx, 0x114
lea eax, [ebp - 0x128]
mov byte [eax], 0
inc eax
sub ecx, 1
jne 0x41c896
lea edx, [ebp - 0x128]
push edx
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
jne 0x41c9b4
cmp dword [ebp - 0x120], 2
jne 0x41c9b4
call fcn.004120a0
test eax, eax
je 0x41c9b4
lea ecx, [ebp - 0x130]
call fcn.004038b0
push 8
lea eax, [ebp - 0x140]
mov bl, 7
push eax
mov ecx, 0x5f38c8
mov byte [ebp - 4], bl
call fcn.00432310
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.00403840
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], bl
call fcn.00403860
push str.E_STCH64.EXE
lea ecx, [ebp - 0x130]
call fcn.00405a10
lea ecx, [ebp - 0x138]
call fcn.004038b0
mov bl, 9
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x12c]
push ecx
push edx
push eax
lea ecx, [ebp - 0x138]
push str._INF:__s___DRV:__s___PRT:__s_
push ecx
call fcn.00404130
add esp, 0x14
push 1
push ecx
lea edx, [ebp - 0x138]
mov ecx, esp
mov dword [ebp - 0x13c], esp
push edx
call fcn.00403520
push ecx
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x144], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.00403520
mov byte [ebp - 4], bl
call fcn.00411bf0
add esp, 0xc
lea ecx, [ebp - 0x138]
call fcn.00403860
lea ecx, [ebp - 0x130]
call fcn.00403860
jmp 0x41ca19
push str.printui.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41ca19
push str.PrintUIEntryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x41c9f9
push 0
push 0
lea ecx, [ebp - 0x134]
call fcn.00403670
push eax
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LastError___08X__r_n
mov eax, 0x5f38b8
call fcn.004053d0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x12c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5b25a8
mov ecx, edi
call fcn.00403320
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cab7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cada
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cb00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055064f
mov esp, ebp
pop ebp
ret 0x10