Function at 0x41ede0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aad4e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4dfa8c], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], ebx
jne 0x41f4fa
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x41ee39
push ebx
call fcn.0041f520
add esp, 4
jmp 0x41f4fa
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov word [eax], cx
push 2
mov dword [ebp - 4], ecx
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x6c], eax
mov word [eax], cx
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x78], eax
mov word [eax], cx
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x60], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x44], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x48], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x4c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x54], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x50], eax
mov ecx, dword [0x4d5998]
mov eax, 0x4af9b8
test ecx, ecx
cmovne eax, ecx
push eax
call fcn.0048faa4
mov dword [ebp - 0x58], eax
mov eax, dword [0x4d5998]
mov ecx, 0x4af9b8
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0048faa4
mov dword [ebp - 0x5c], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xa
push eax
push 1
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0xffffffffffffffff
push 2
push ebx
call fcn.00403eb0
add esp, 0x70
mov dword [ebp - 0x88], eax
push dword [ebp - 0x5c]
call fcn.0048faf7
push dword [ebp - 0x58]
call fcn.0048faf7
push dword [ebp - 0x50]
call fcn.0048faf7
push dword [ebp - 0x54]
call fcn.0048faf7
push dword [ebp - 0x4c]
call fcn.0048faf7
push dword [ebp - 0x48]
call fcn.0048faf7
push dword [ebp - 0x44]
call fcn.0048faf7
push dword [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0048faf7
add esp, 0x20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x41f4df
lea eax, [ebp - 0x74]
push eax
push 0x4b52f8
push 1
push 0
push 0x4b5308
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41f4df
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x41f4df
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push edx
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x41f4cd
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x41eff0
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x41f4cd
xor esi, esi
test eax, eax
je 0x41f4a6
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x4c]
push 0x4b52e8
mov edx, dword [ecx]
push dword [eax + esi*4]
push ecx
call dword [edx + 0x18]
test eax, eax
js 0x41f494
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
xor eax, eax
cmp ax, word [ebp - 0x60]
jae 0x41f494
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xb0]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x41f494
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.004906c0
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x40]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x41f494
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
test eax, eax
js 0x41f494
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xcc]
call fcn.00403690
mov eax, dword [eax]
test eax, eax
je 0x41f0c6
mov eax, dword [eax]
test eax, eax
jne 0x41f0cb
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xb
call fcn.0048c930
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0xb8]
push dword [eax + esi*4]
call fcn.00403690
mov eax, dword [eax]
test eax, eax
je 0x41f103
mov eax, dword [eax]
test eax, eax
jne 0x41f108
mov eax, 0x4af9b8
push eax
call fcn.0048faa4
add esp, 4
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
call fcn.0048c930
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x80]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xd0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0xc4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov word [eax], cx
push 0x4b4c04
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00418660
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00418660
add esp, 0x1c
lea ecx, [ebp - 0x50]
push 0
push SysReAllocString
push dword [eax]
call fcn.004021f0
push dword [ebp - 0xc8]
call fcn.0048faf7
push dword [ebp - 0xc0]
call fcn.0048faf7
push 2
call fcn.0048fb2f
xor ecx, ecx
mov dword [ebp - 0xe0], eax
mov word [eax], cx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], ecx
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x50]
call fcn.00406840
push 0
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00404cf0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x54]
push ebx
call fcn.00404ce0
mov ecx, dword [0x4d5998]
mov edx, 0x4af9b8
test ecx, ecx
mov dword [ebp - 0xbc], eax
cmovne edx, ecx
push edx
call fcn.0048faa4
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.00403c00
add esp, 0x58
mov bl, al
push dword [ebp - 0xa8]
call fcn.0048faf7
add esp, 4
test bl, bl
je 0x41f447
mov ebx, dword [ebp - 0x88]
cmp ebx, 0xffffffff
jne 0x41f3d0
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x8c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x84], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x98], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0xa0], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x90], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x7c], eax
mov eax, dword [0x4d5998]
mov ecx, 0x4af9b8
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0048faa4
mov dword [ebp - 0xac], eax
mov eax, dword [0x4d5998]
mov ecx, 0x4af9b8
test eax, eax
cmovne ecx, eax
push ecx
call fcn.0048faa4
mov dword [ebp - 0xa4], eax
push ebx
push 0
push 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x18
push eax
push 1
push 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
push ebx
push 2
push dword [ebp - 0x70]
call fcn.00403eb0
add esp, 0x64
mov ebx, eax
mov dword [ebp - 0x88], ebx
push dword [ebp - 0xa4]
call fcn.0048faf7
push dword [ebp - 0xac]
call fcn.0048faf7
push dword [ebp - 0x7c]
call fcn.0048faf7
push dword [ebp - 0x90]
call fcn.0048faf7
push dword [ebp - 0xa0]
call fcn.0048faf7
push dword [ebp - 0x98]
call fcn.0048faf7
push dword [ebp - 0x84]
call fcn.0048faf7
push dword [ebp - 0x8c]
call fcn.0048faf7
add esp, 0x20
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x94], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x19
push eax
mov eax, dword [ebp - 0xd0]
shr eax, 2
not eax
and eax, 1
push eax
push dword [ebp - 0xb4]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
push 9
push ebx
push dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x70]
push ebx
call fcn.00403eb0
add esp, 0x48
push dword [ebp - 0x94]
call fcn.0048faf7
add esp, 4
jmp 0x41f44a
mov ebx, dword [ebp - 0x70]
push dword [ebp - 0x9c]
call edi
push dword [ebp - 0x80]
call edi
push dword [ebp - 0xc4]
call edi
push dword [ebp - 0x54]
call fcn.0048faf7
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.00402130
push dword [ebp - 0x50]
call fcn.0048faf7
push dword [ebp - 0x5c]
call fcn.0048faf7
push dword [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0048faf7
add esp, 0xc
mov eax, dword [ebp - 0x4c]
push dword [eax + esi*4]
call edi
inc esi
cmp esi, dword [ebp - 0x48]
jb 0x41f005
push dword [ebp - 0x4c]
call edi
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
mov dword [ebp - 0x48], 0
push edx
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x41eff0
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x78]
call fcn.0048faf7
push dword [ebp - 0x6c]
call fcn.0048faf7
push dword [ebp - 0x64]
call fcn.0048faf7
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret