Function at 0x610110c8
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac4
mov eax, dword [0x61047110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x61003968
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x61003958
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, 0x61003948
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, 0x61003934
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 [0x6100392c]
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x61003930]
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.6102b300
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 0x610116c0
push 2
pop ecx
cmp dword [ebp - 0xa74], ecx
jne 0x610116c0
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 0x968], ebx
je 0x610111b4
mov edx, dword [eax + 4]
mov dword [ebp - 0xac0], edx
jmp 0x610111ba
mov dword [ebp - 0xac0], ecx
cmp eax, ebx
je 0x610111de
movzx eax, word [eax + 0x10]
cmp eax, ebx
je 0x610111de
cmp eax, 6
je 0x610111d9
cmp eax, 9
jne 0x610116c0
lea eax, [ebp - 0x4a]
jmp 0x610111e1
lea eax, [ebp - 0x36]
jmp 0x610111e1
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 0x6101152b
mov ebx, dword [sym.imp.ntdll.dll_VerSetConditionMask]
lea eax, [ebp - 0x44c]
push eax
push esi
lea eax, [ebp - 0x24c]
push eax
call fcn.6100cec8
test eax, eax
jl 0x610114f3
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.6102bb9f
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [ebp - 0xa98], edi
je 0x61011266
and word [edi], 0
cmp dword [ebp - 0xac0], 2
jne 0x610112a2
push dword [ebp - 0xa94]
lea eax, [ebp - 0x24c]
push eax
call fcn.6102b7d2
test eax, eax
pop ecx
pop ecx
jne 0x61011293
mov dword [ebp - 0xa8c], 4
jmp 0x610112bc
cmp dword [ebp + 0x10], 0
jne 0x610114f3
lea eax, [ebp - 0xa]
jmp 0x610112a5
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.6102b7d2
test eax, eax
pop ecx
pop ecx
jne 0x610114f3
test edi, edi
je 0x61011593
inc edi
inc edi
push 0x2e
push edi
mov dword [ebp - 0xa98], edi
call fcn.6102bb9f
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x610112e0
and word [esi], 0
lea eax, [ebp - 0xa90]
push eax
mov ecx, edi
call fcn.61010a95
test eax, eax
je 0x610114ee
mov eax, dword [ebp - 0xa90]
test eax, eax
jl 0x610114ee
test esi, esi
mov dword [ebp - 0xa9c], eax
je 0x610114b7
lea edi, [esi + 2]
push 0x2e
push edi
mov dword [ebp - 0xa98], edi
call fcn.6102bb9f
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x6101132f
and word [esi], 0
lea eax, [ebp - 0xa90]
push eax
mov ecx, edi
call fcn.61010a95
test eax, eax
je 0x610114ee
mov eax, dword [ebp - 0xa90]
test eax, eax
jl 0x610114ee
mov dword [ebp - 0xaa0], eax
je 0x61011368
cmp dword [ebp - 0xa9c], 0
je 0x610114ee
test esi, esi
je 0x610114be
cmp dword [ebp + 0xc], 0
jne 0x610114c8
add esi, 2
push 0x2e
push esi
mov dword [ebp - 0xa98], esi
call fcn.6102bb9f
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x61011397
and word [edi], 0
lea eax, [ebp - 0xa90]
push eax
mov ecx, esi
call fcn.61010a95
test eax, eax
je 0x610114ee
mov eax, dword [ebp - 0xa90]
cmp eax, 0xff
ja 0x610114ee
test al, al
mov byte [ebp - 0xa85], al
je 0x610113cf
or dword [ebp - 0xa8c], 2
test edi, edi
je 0x61011432
lea esi, [edi + 2]
push 0x2e
push esi
mov dword [ebp - 0xa98], esi
call fcn.6102bb9f
test eax, eax
pop ecx
pop ecx
jne 0x610114ee
lea eax, [ebp - 0xa90]
push eax
mov ecx, esi
call fcn.61010a95
test eax, eax
je 0x610114ee
cmp dword [ebp - 0xa90], 0xffff
ja 0x610114ee
cmp word [ebp - 0xa90], 0
movzx eax, word [ebp - 0xa90]
mov dword [ebp - 0xabc], eax
je 0x61011432
or dword [ebp - 0xa8c], 1
cmp dword [ebp - 0x968], 0
jne 0x61011458
mov esi, 0x11c
push esi
lea eax, [ebp - 0x968]
push 0
push eax
call fcn.6102b300
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
test ecx, ecx
mov dword [ebp - 0x964], ecx
mov dword [ebp - 0x960], edi
je 0x6101148b
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 0x61011531
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 0x61011538
and dword [ebp - 0xaa0], 0
cmp dword [ebp + 0xc], 0
je 0x61011432
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 0xa9c]
jb 0x610114ee
jne 0x61011580
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xaa0]
cmp dword [eax + 0xc], ecx
jae 0x61011580
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 0x61011216
cmp dword [ebp - 0xab4], eax
jne 0x6101161b
xor ebx, ebx
push ebx
jmp 0x610116c2
mov byte [ebp - 0x84e], 0
test byte [ebp - 0xa8c], 1
je 0x6101155c
mov cx, word [ebp - 0xabc]
push 6
push 0x40
push edx
push eax
mov word [ebp - 0x850], cx
or esi, 0x40
call ebx
jmp 0x61011564
and word [ebp - 0x850], 0
test esi, esi
je 0x61011580
push edx
push eax
push esi
lea eax, [ebp - 0x968]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x610114ee
mov eax, dword [ebp - 0xa9c]
cmp eax, dword [ebp - 0xaa4]
mov esi, 0xff
ja 0x610115cd
mov edi, dword [ebp - 0xa9c]
cmp edi, dword [ebp - 0xaa4]
jne 0x610114f3
mov eax, dword [ebp - 0xab8]
cmp dword [ebp - 0xaa0], eax
ja 0x610115cf
jne 0x610114f3
mov eax, dword [ebp - 0xa8c]
cmp eax, dword [ebp - 0xab0]
jb 0x610114f3
jmp 0x610115cf
mov edi, eax
lea eax, [ebp - 0x44c]
push eax
push esi
lea eax, [ebp - 0x64c]
push eax
call fcn.6100cec8
test eax, eax
jl 0x61011614
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 0x610114f3
push 0xd
jmp 0x610116c2
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 0x610116c8
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.61010e88
cmp eax, edi
jl 0x61011614
push edi
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0xa98]
push eax
push 0x61003928
push dword [ebp - 0xa94]
push dword [ebp - 0xa98]
call fcn.61010e88
cmp eax, edi
jl 0x61011614
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.61010e88
cmp eax, edi
jl 0x61011614
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x610116ca
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.6102aaaa
leave
ret 0x10