Function at 0x61011783
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac4
mov eax, dword [0x61048110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x61003964
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x61003954
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp + 8]
mov esi, 0x61003944
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x61003930
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xaac], eax
mov eax, dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xac4], eax
mov eax, dword [0x61003928]
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x6100392c]
movsw word es:[edi], word [esi]
mov edi, 0x11c
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xa84]
push ebx
push eax
mov byte [ebp - 0xa85], 0
mov dword [ebp - 0xabc], ebx
mov dword [ebp - 0xaa4], ebx
mov dword [ebp - 0xab8], ebx
mov dword [ebp - 0xab0], ebx
mov dword [ebp - 0xab4], ebx
call fcn.6102bb20
add esp, 0xc
lea eax, [ebp - 0xa84]
push eax
mov dword [ebp - 0xa84], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x61011d80
push 2
pop ecx
cmp dword [ebp - 0xa74], ecx
jne 0x61011d80
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x968], ebx
cmp eax, ebx
je 0x6101186f
mov edx, dword [eax + 4]
mov dword [ebp - 0xac0], edx
jmp 0x61011875
mov dword [ebp - 0xac0], ecx
cmp eax, ebx
je 0x61011899
movzx eax, word [eax + 0x10]
cmp eax, ebx
je 0x61011899
cmp eax, 6
je 0x61011894
cmp eax, 9
jne 0x61011d80
lea eax, [ebp - 0x4a]
jmp 0x6101189c
lea eax, [ebp - 0x36]
jmp 0x6101189c
lea eax, [ebp - 0x1a]
push ebx
mov dword [ebp - 0xa94], eax
mov esi, 0xff
push esi
lea eax, [ebp - 0x44c]
push eax
push ecx
push dword [ebp - 0xaac]
mov dword [ebp - 0xaa8], ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x61011bea
mov ebx, dword [sym.imp.ntdll.dll_VerSetConditionMask]
lea eax, [ebp - 0x44c]
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.6100d41c
test eax, eax
jl 0x61011bb2
xor eax, eax
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa9c], eax
mov dword [ebp - 0xa8c], eax
lea eax, [ebp - 0x24c]
push 0x2e
push eax
call fcn.6102c413
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0xa98], edi
test edi, edi
je 0x61011922
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0xac0], 2
jne 0x6101195e
push dword [ebp - 0xa94]
lea eax, [ebp - 0x24c]
push eax
call fcn.6102c03c
pop ecx
pop ecx
test eax, eax
jne 0x6101194f
mov dword [ebp - 0xa8c], 4
jmp 0x61011978
cmp dword [ebp + 0x10], 0
jne 0x61011bb2
lea eax, [ebp - 0xa]
jmp 0x61011961
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.6102c03c
pop ecx
pop ecx
test eax, eax
jne 0x61011bb2
test edi, edi
je 0x61011c53
inc edi
inc edi
push 0x2e
push edi
mov dword [ebp - 0xa98], edi
call fcn.6102c413
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x6101199d
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0xa90]
push eax
mov ecx, edi
call fcn.61011118
test eax, eax
je 0x61011bad
mov eax, dword [ebp - 0xa90]
test eax, eax
jl 0x61011bad
mov dword [ebp - 0xa9c], eax
test esi, esi
je 0x61011b76
add esi, 2
push 0x2e
push esi
mov dword [ebp - 0xa98], esi
call fcn.6102c413
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x610119ed
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0xa90]
push eax
mov ecx, esi
call fcn.61011118
test eax, eax
je 0x61011bad
mov eax, dword [ebp - 0xa90]
test eax, eax
jl 0x61011bad
mov dword [ebp - 0xaa0], eax
je 0x61011a26
cmp dword [ebp - 0xa9c], 0
je 0x61011bad
test edi, edi
je 0x61011b7d
cmp dword [ebp + 0xc], 0
jne 0x61011b87
lea esi, [edi + 2]
push 0x2e
push esi
mov dword [ebp - 0xa98], esi
call fcn.6102c413
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x61011a56
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0xa90]
push eax
mov ecx, esi
call fcn.61011118
test eax, eax
je 0x61011bad
mov eax, dword [ebp - 0xa90]
cmp eax, 0xff
ja 0x61011bad
mov byte [ebp - 0xa85], al
test al, al
je 0x61011a8e
or dword [ebp - 0xa8c], 2
test edi, edi
je 0x61011af1
lea esi, [edi + 2]
push 0x2e
push esi
mov dword [ebp - 0xa98], esi
call fcn.6102c413
pop ecx
pop ecx
test eax, eax
jne 0x61011bad
lea eax, [ebp - 0xa90]
push eax
mov ecx, esi
call fcn.61011118
test eax, eax
je 0x61011bad
cmp dword [ebp - 0xa90], 0xffff
ja 0x61011bad
cmp word [ebp - 0xa90], 0
movzx eax, word [ebp - 0xa90]
mov dword [ebp - 0xabc], eax
je 0x61011af1
or dword [ebp - 0xa8c], 1
cmp dword [ebp - 0x968], 0
jne 0x61011b17
mov esi, 0x11c
push esi
lea eax, [ebp - 0x968]
push 0
push eax
call fcn.6102bb20
add esp, 0xc
mov dword [ebp - 0x968], esi
mov ecx, dword [ebp - 0xa9c]
mov edi, dword [ebp - 0xaa0]
xor esi, esi
xor eax, eax
xor edx, edx
mov dword [ebp - 0x964], ecx
mov dword [ebp - 0x960], edi
test ecx, ecx
je 0x61011b4a
push 3
pop esi
push esi
push 2
push edx
push edx
call ebx
push esi
push 1
push edx
push eax
call ebx
test byte [ebp - 0xa8c], 2
je 0x61011bf0
mov cl, byte [ebp - 0xa85]
push 1
mov byte [ebp - 0x84e], cl
mov ecx, 0x80
push ecx
push edx
push eax
or esi, ecx
call ebx
jmp 0x61011bf7
and dword [ebp - 0xaa0], 0
cmp dword [ebp + 0xc], 0
je 0x61011af1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xa9c]
jb 0x61011bad
jne 0x61011c40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xaa0]
cmp dword [eax + 0xc], ecx
jae 0x61011c40
mov esi, 0xff
inc dword [ebp - 0xaa8]
push 0
push esi
lea eax, [ebp - 0x44c]
push eax
push dword [ebp - 0xaa8]
push dword [ebp - 0xaac]
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
jne 0x610118d1
cmp dword [ebp - 0xab4], eax
jne 0x61011cdb
xor ebx, ebx
push ebx
jmp 0x61011d82
mov byte [ebp - 0x84e], 0
test byte [ebp - 0xa8c], 1
je 0x61011c1b
mov cx, word [ebp - 0xabc]
push 6
push 0x40
push edx
push eax
mov word [ebp - 0x850], cx
or esi, 0x40
call ebx
jmp 0x61011c24
xor ecx, ecx
mov word [ebp - 0x850], cx
test esi, esi
je 0x61011c40
push edx
push eax
push esi
lea eax, [ebp - 0x968]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x61011bad
mov eax, dword [ebp - 0xa9c]
mov esi, 0xff
cmp eax, dword [ebp - 0xaa4]
ja 0x61011c8d
mov edi, dword [ebp - 0xa9c]
cmp edi, dword [ebp - 0xaa4]
jne 0x61011bb2
mov eax, dword [ebp - 0xab8]
cmp dword [ebp - 0xaa0], eax
ja 0x61011c8f
jne 0x61011bb2
mov eax, dword [ebp - 0xa8c]
cmp eax, dword [ebp - 0xab0]
jb 0x61011bb2
jmp 0x61011c8f
mov edi, eax
lea eax, [ebp - 0x44c]
push eax
push esi
lea eax, [ebp - 0x64c]
push eax
call fcn.6100d41c
test eax, eax
jl 0x61011cd4
mov eax, dword [ebp - 0xaa0]
mov dword [ebp - 0xab8], eax
mov eax, dword [ebp - 0xa8c]
mov dword [ebp - 0xaa4], edi
mov dword [ebp - 0xab0], eax
mov dword [ebp - 0xab4], 1
jmp 0x61011bb2
push 0xd
jmp 0x61011d82
xor edi, edi
push edi
push esi
lea eax, [ebp - 0x84c]
push eax
push 1
push dword [ebp - 0xaac]
call dword [sym.imp.SETUPAPI.dll_SetupGetStringFieldW]
test eax, eax
je 0x61011d88
push edi
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0xa98]
push eax
lea eax, [ebp - 0x84c]
push eax
push esi
push dword [ebp - 0xac4]
call fcn.61011541
cmp eax, edi
jl 0x61011cd4
push edi
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0xa98]
push eax
push 0x61003924
push dword [ebp - 0xa94]
push dword [ebp - 0xa98]
call fcn.61011541
cmp eax, edi
jl 0x61011cd4
push edi
lea eax, [ebp - 0xa94]
push eax
push edi
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0xa94]
push dword [ebp - 0xa98]
call fcn.61011541
cmp eax, edi
jl 0x61011cd4
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x61011d8a
push 0xa
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6102b2c1
leave
ret 0x10