Function at 0x416025
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cee86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
mov dword [ebp - 0x4c4], ecx
lea ecx, [ebp - 0x220]
call fcn.00402dc0
mov dword [ebp - 4], 0
call sub.CRCommon.dll_GetReaderFilter
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x416080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004a6f4b
jmp 0x416399
lea eax, [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00411572
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4cc]
push edx
lea ecx, [ebp - 0x220]
call fcn.004a7084
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4b4]
call fcn.004a6f4b
push 0
lea ecx, [ebp - 0x220]
call fcn.00430bb0
push eax
push 0x800204
push 0
push 0
push 1
lea ecx, [ebp - 0x218]
call fcn.0049fce5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.00402dc0
mov byte [ebp - 4], 3
push 0x78
lea ecx, [ebp - 0x21c]
call fcn.004a7fee
lea ecx, [ebp - 0x21c]
call fcn.00430bb0
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x20], 0x100000
mov eax, dword [ebp - 0x20]
push eax
call fcn.004a7fba
add esp, 4
mov dword [ebp - 0x4b8], eax
mov ecx, dword [ebp - 0x4b8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00490070
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x19c], edx
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 5
jb 0x41618a
mov dword [ebp - 0x1bc], 0x58
jmp 0x416194
mov dword [ebp - 0x1bc], 0x4c
lea ecx, [ebp - 0x218]
call fcn.0049fe47
cmp eax, 1
jne 0x41634a
lea ecx, [ebp - 0x218]
call fcn.00418540
mov dword [ebp - 0x4ac], eax
cmp dword [ebp - 0x4ac], 0
jne 0x4161f7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.004a6f4b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00417c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004a6f4b
jmp 0x416399
push 0
lea ecx, [ebp - 0x288]
call fcn.0043eb26
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x288]
call fcn.0043ebff
lea ecx, [ebp - 0x29c]
call fcn.00417db0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4a8]
call fcn.00417720
lea ecx, [ebp - 0x2a0]
call fcn.00402dc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x4ac], 0
je 0x4162f6
lea ecx, [ebp - 0x4ac]
push ecx
lea edx, [ebp - 0x4bc]
push edx
lea ecx, [ebp - 0x218]
call fcn.004a0032
mov dword [ebp - 0x4d0], eax
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x4d4], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4d4]
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.004a7084
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4bc]
call fcn.004a6f4b
lea edx, [ebp - 0x288]
push edx
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4c4]
mov edx, dword [ecx + 0x3c]
push edx
lea eax, [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x4c4]
call fcn.004164bd
mov dword [ebp - 0x4b0], eax
cmp dword [ebp - 0x4b0], 0
jne 0x4162e6
lea ecx, [ebp - 0x4a8]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.00418090
jmp 0x4162f1
cmp dword [ebp - 0x4b0], 3
jne 0x4162f1
jmp 0x4162f6
jmp 0x41623c
lea edx, [ebp - 0x29c]
push edx
mov ecx, dword [ebp - 0x4c4]
add ecx, 0x48
call fcn.004141f1
lea eax, [ebp - 0x29c]
push eax
mov ecx, dword [ebp - 0x4c4]
call fcn.004163a7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
call fcn.004a6f4b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x29c]
call fcn.004181f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x288]
call fcn.0043ec44
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
push edx
call fcn.004a7fe3
add esp, 4
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x21c]
call fcn.004a6f4b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00417c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.004a6f4b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret