Function at 0x41c1f4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x41c1fd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov esi, eax
mov ebx, dword [ebp + 0x30]
xor eax, eax
push ebp
push 0x41c985
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [0x40ab20]
call fcn.004045bc
lea eax, [ebp - 0x20]
mov edx, dword [0x40ab20]
call fcn.004045bc
lea eax, [ebp - 0x50]
mov edx, dword [0x41c154]
call fcn.004045bc
lea eax, [ebp - 0x54]
mov edx, dword [0x41c17c]
call fcn.004045bc
lea eax, [ebp - 0x58]
mov edx, dword [0x41c1a4]
call fcn.004045bc
lea eax, [ebp - 0x5c]
mov edx, dword [0x41c1cc]
call fcn.004045bc
mov byte [ebp - 0x15], 0
xor eax, eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0041a948
test al, al
je 0x41c8c4
call fcn.0041f9f4
xor eax, eax
call fcn.00410528
cmp byte [ebp + 0x34], 0
je 0x41c877
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
jne 0x41c31d
call fcn.0040b468
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41c2d6
push 5
call sub.KERNEL32.dll_SetLastError
jmp 0x41c8c4
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
push eax
call fcn.00407560
test eax, eax
je 0x41c2f8
push 0x32
call sub.KERNEL32.dll_SetLastError
jmp 0x41c8c4
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov al, byte [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0041930c
test eax, eax
je 0x41c8c4
cmp byte [0x514cb0], 0
je 0x41c871
mov eax, dword [ebp + 0x28]
cmp eax, dword [0x514c90]
jne 0x41c33d
call fcn.00417d34
mov dword [ebp + 0x28], eax
call sub.KERNEL32.dll_GetVersion
test eax, 0x80000000
je 0x41c36a
mov al, byte [ebp + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x31]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00419f60
test al, al
jne 0x41c36a
xor eax, eax
jmp 0x41c36c
mov al, 1
mov byte [ebp - 0x15], al
mov byte [ebp - 0x5d], 0
cmp dword [ebp + 0x20], 0
je 0x41c42e
mov eax, dword [ebp + 0x20]
cmp word [eax], 0
je 0x41c42e
lea eax, [ebp - 0x4c]
mov edx, dword [ebp + 0x20]
call fcn.00403c50
mov dl, 0x7c
mov eax, dword [ebp - 0x4c]
call fcn.00406338
push eax
lea eax, [ebp - 0x50]
mov ecx, 1
mov edx, dword [0x41c154]
call fcn.004045b0
add esp, 4
mov eax, dword [ebp - 0x50]
call fcn.004043f4
push eax
lea eax, [ebp - 0x54]
mov ecx, 1
mov edx, dword [0x41c17c]
call fcn.004045b0
add esp, 4
mov eax, dword [ebp - 0x50]
call fcn.004043fc
test eax, eax
jl 0x41c42e
inc eax
mov dword [ebp - 0x70], eax
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 0x4c]
call fcn.004037a4
mov eax, dword [ebp - 0x7c]
lea edx, [ebx + 1]
mov cl, 0x7c
call fcn.0040637c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
call fcn.00403cc0
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x54]
lea ecx, [edx + ebx*4]
mov edx, dword [ebp - 0x50]
lea edx, [edx + ebx*4]
call fcn.0041b0c8
or al, byte [ebp - 0x5d]
mov byte [ebp - 0x5d], al
inc ebx
dec dword [ebp - 0x70]
jne 0x41c3e7
cmp dword [ebp + 0x1c], 0
je 0x41c4f5
mov eax, dword [ebp + 0x1c]
cmp word [eax], 0
je 0x41c4f5
lea eax, [ebp - 0x4c]
mov edx, dword [ebp + 0x1c]
call fcn.00403c50
mov dl, 0x7c
mov eax, dword [ebp - 0x4c]
call fcn.00406338
push eax
lea eax, [ebp - 0x58]
mov ecx, 1
mov edx, dword [0x41c1a4]
call fcn.004045b0
add esp, 4
mov eax, dword [ebp - 0x58]
call fcn.004043f4
push eax
lea eax, [ebp - 0x5c]
mov ecx, 1
mov edx, dword [0x41c1cc]
call fcn.004045b0
add esp, 4
mov eax, dword [ebp - 0x58]
call fcn.004043fc
test eax, eax
jl 0x41c4f5
inc eax
mov dword [ebp - 0x70], eax
xor ebx, ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x4c]
call fcn.004037a4
mov eax, dword [ebp - 0x88]
lea edx, [ebx + 1]
mov cl, 0x7c
call fcn.0040637c
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call fcn.00403cc0
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x5c]
lea ecx, [edx + ebx*4]
mov edx, dword [ebp - 0x58]
lea edx, [edx + ebx*4]
call fcn.0041b0c8
or al, byte [ebp - 0x5d]
mov byte [ebp - 0x5d], al
inc ebx
dec dword [ebp - 0x70]
jne 0x41c4a2
cmp byte [ebp - 0x5d], 0
je 0x41c50c
push 0x10000
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov dword [ebp - 0x6c], eax
jmp 0x41c511
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
call fcn.004043f4
mov ebx, eax
lea esi, [ebx + 2]
push esi
lea eax, [ebp - 0x58]
mov ecx, 1
mov edx, dword [0x41c1a4]
call fcn.004045b0
add esp, 4
push esi
lea eax, [ebp - 0x5c]
mov ecx, 1
mov edx, dword [0x41c1cc]
call fcn.004045b0
add esp, 4
lea edx, [ebp - 0x8c]
mov eax, dword [0x515484]
mov eax, dword [eax]
call fcn.00406714
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
lea eax, [eax + ebx*4]
call fcn.00403cc0
lea edx, [ebp - 0x90]
mov eax, dword [0x514e1c]
call fcn.00406714
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
lea eax, [eax + ebx*4 + 4]
call fcn.00403cc0
mov byte [ebp - 0x41], 0
xor eax, eax
mov dword [ebp - 0x48], eax
cmp byte [ebp - 0x41], 0
je 0x41c5a7
push 0xa
call sub.KERNEL32.dll_Sleep
mov byte [ebp - 0x41], 0
mov byte [ebp - 0x2a], 1
lea eax, [ebp - 0x1c]
call fcn.0040b110
mov eax, dword [ebp - 0x1c]
call fcn.004043f4
push eax
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, dword [0x404f70]
call fcn.004045b0
add esp, 4
mov eax, dword [ebp - 0x1c]
call fcn.004043fc
test eax, eax
jl 0x41c801
inc eax
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov eax, dword [ebp - 0x24]
xor edx, edx
mov dword [eax + ebx*4], edx
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x20]
call fcn.004043fc
mov edx, eax
test edx, edx
jl 0x41c629
inc edx
xor eax, eax
mov ecx, eax
add ecx, ecx
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + ecx*8]
mov esi, ebx
add esi, esi
mov edi, dword [ebp - 0x1c]
cmp ecx, dword [edi + esi*8]
jne 0x41c625
mov byte [ebp - 0x29], 0
jmp 0x41c629
inc eax
dec edx
jne 0x41c609
cmp dword [ebp + 0x18], 0
je 0x41c657
xor eax, eax
jmp 0x41c634
inc eax
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + eax*4]
test edx, edx
je 0x41c64a
mov ecx, ebx
add ecx, ecx
mov esi, dword [ebp - 0x1c]
cmp edx, dword [esi + ecx*8]
jne 0x41c633
mov edx, dword [ebp + 0x18]
cmp dword [edx + eax*4], 0
je 0x41c657
mov byte [ebp - 0x29], 0
cmp byte [ebp - 0x29], 0
je 0x41c7f7
mov esi, ebx
add esi, esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*8 + 4]
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x68]
call fcn.0041b0c8
xor al, 1
and al, byte [ebp - 0x5d]
je 0x41c6b6
push 0x8000
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*8]
push eax
call fcn.00418338
test eax, eax
je 0x41c6b6
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x6c]
call fcn.00403c50
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x64]
lea edx, [ebp - 0x68]
call fcn.0041b0c8
cmp dword [ebp - 0x50], 0
je 0x41c6e8
mov eax, dword [ebp - 0x50]
call fcn.004043fc
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x54]
call fcn.004043fc
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
call fcn.0041b230
test al, al
je 0x41c7f7
mov eax, dword [ebp - 0x58]
call fcn.004043fc
push eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x5c]
call fcn.004043fc
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
call fcn.0041b230
test al, al
jne 0x41c7f7
mov byte [ebp - 0x2a], 0
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax*8]
push eax
push 0
push 0x47a
call sub.KERNEL32.dll_OpenProcess
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x41c7d0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00417c50
test eax, eax
jne 0x41c7c5
cmp byte [ebp + 0x24], 0
jne 0x41c766
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + eax*8 + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00417a50
test al, al
jne 0x41c7c5
mov eax, dword [ebp + 0x28]
cmp eax, dword [0x514c8c]
je 0x41c7ab
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax*8]
call fcn.00417cd4
cmp eax, dword [ebp + 0x28]
je 0x41c7ab
mov esi, ebx
add esi, esi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + esi*8]
call fcn.00417cd4
test eax, eax
jne 0x41c7c5
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + esi*8 + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00417a50
test al, al
je 0x41c7c5
push ebp
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + eax*8]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + ebx*4]
mov eax, dword [ebp - 0x28]
call fcn.0041c048
pop ecx
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_CloseHandle
jmp 0x41c7f7
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0x28], eax
mov eax, ebx
add eax, eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + eax*8], 0
je 0x41c7f7
cmp dword [ebp - 0x28], 5
je 0x41c7f7
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [edx + eax*8], ecx
mov byte [ebp - 0x41], 1
inc ebx
dec dword [ebp - 0x70]
jne 0x41c5ec
cmp dword [ebp - 0x40], 0
jne 0x41c80f
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
call fcn.004043fc
test eax, eax
jl 0x41c83c
inc eax
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x41c836
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0x14]
call fcn.0041b054
inc ebx
dec dword [ebp - 0x70]
jne 0x41c821
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [0x40ab20]
call fcn.004045f8
inc dword [ebp - 0x48]
cmp byte [ebp - 0x2a], 0
jne 0x41c860
cmp dword [ebp - 0x48], 5
jne 0x41c59a
cmp dword [ebp - 0x6c], 0
je 0x41c8c4
mov eax, dword [ebp - 0x6c]
push eax
call sub.KERNEL32.dll_LocalFree
jmp 0x41c8c4
mov byte [ebp - 0x15], 1
jmp 0x41c8c4
cmp byte [ebp + 8], 0
jne 0x41c887
push ebx
call fcn.00417c50
test eax, eax
jne 0x41c8bb
push ebp
push ebx
call fcn.0040ccd4
mov edx, eax
lea ecx, [ebp - 0x28]
mov eax, ebx
call fcn.0041c048
pop ecx
test al, al
je 0x41c8bb
cmp dword [ebp - 0x28], 0
je 0x41c8bf
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x28]
call fcn.0041b054
test al, al
jne 0x41c8bf
xor eax, eax
jmp 0x41c8c1
mov al, 1
mov byte [ebp - 0x15], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c98f
lea eax, [ebp - 0x94]
call fcn.00403b38
lea eax, [ebp - 0x90]
mov edx, 4
call fcn.0040354c
lea eax, [ebp - 0x80]
call fcn.00403b38
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0040354c
lea eax, [ebp - 0x74]
call fcn.00403b38
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00403b50
lea eax, [ebp - 0x5c]
mov edx, dword [0x41c1cc]
call fcn.004045bc
lea eax, [ebp - 0x58]
mov edx, dword [0x41c1a4]
call fcn.004045bc
lea eax, [ebp - 0x54]
mov edx, dword [0x41c17c]
call fcn.004045bc
lea eax, [ebp - 0x50]
mov edx, dword [0x41c154]
call fcn.004045bc
lea eax, [ebp - 0x4c]
call fcn.00403b38
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040354c
lea eax, [ebp - 0x24]
mov edx, dword [0x404f70]
call fcn.004045bc
lea eax, [ebp - 0x20]
mov edx, dword [0x40ab20]
mov ecx, 2
call fcn.004040cc
ret