Function at 0x101fe70
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc0
mov eax, dword [0x1025ce0]
push ebx
push esi
push edi
mov ebx, ecx
push 0x25
mov dword [ebp + 0x74], eax
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1c], 4
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
ja 0x101ff3d
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call fcn.0101e8a3
test eax, eax
jne 0x101ff67
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov ebx, str.CachePrimaryDomain
push ebx
push dword [ebp - 0x2c]
call fcn.0101e907
test eax, eax
jne 0x101ff67
mov eax, dword [ebp - 0x30]
cmp eax, esi
jbe 0x101ff67
lea eax, [eax + eax + 2]
push eax
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x3c], eax
je 0x10201c7
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
push esi
push esi
push ebx
push dword [ebp - 0x2c]
call fcn.0101e907
test eax, eax
jne 0x101ff67
mov eax, dword [ebp - 0x3c]
cmp word [eax], si
je 0x101ff67
jmp 0x101ff64
mov eax, dword [ebx + 0x64]
cmp eax, esi
je 0x10201be
lea ecx, [ebp - 0x24]
push ecx
push 0x80000000
push esi
push esi
push esi
push esi
mov dword [ebp - 0x24], esi
call eax
test eax, eax
jne 0x101ff67
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x60]
cmp eax, esi
je 0x101ffcf
lea ecx, [ebp - 0x24]
push ecx
push 0x64
push esi
mov dword [ebp - 0x24], esi
call eax
test eax, eax
jne 0x101ffcf
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x101ffcf
mov ebx, dword [eax + 8]
cmp ebx, esi
je 0x101ff98
push ebx
call fcn.01013b3d
pop ecx
jmp 0x101ff9a
xor eax, eax
cmp eax, esi
je 0x101ffc0
lea eax, [eax + eax + 2]
push eax
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x40], eax
je 0x10201c7
push ebx
mov ebx, eax
push ebx
call fcn.010136fb
pop ecx
pop ecx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
cmp eax, esi
je 0x101ffcf
push dword [ebp - 0x24]
call eax
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x101fff6
cmp word [eax], si
je 0x101fff6
cmp dword [ebp - 0x40], esi
je 0x101fff6
push dword [ebp - 0x40]
push eax
call fcn.010137c3
test eax, eax
pop ecx
pop ecx
jne 0x101fff6
mov dword [ebp - 0x48], 1
cmp dword [ebp - 0x34], esi
je 0x1020009
push dword [ebp - 0x34]
call fcn.01013b3d
pop ecx
mov dword [ebp - 0x30], eax
jmp 0x102000c
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x30], esi
jbe 0x10201c7
cmp dword [ebp - 0x48], esi
je 0x10200ee
cmp dword [ebp - 0x2c], esi
je 0x10200ee
cmp dword [ebp - 0x1c], 4
jae 0x1020083
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
push str.CacheTrustedDomains
push dword [ebp - 0x2c]
call fcn.0101e907
test eax, eax
jne 0x10201c7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, eax
lea eax, [ecx + ecx + 4]
push eax
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x38], eax
je 0x10201c7
push dword [ebp - 0x34]
mov edi, eax
push edi
call fcn.010136fb
push edi
call fcn.01013b3d
add esp, 0xc
mov word [edi + eax*2 + 2], si
jmp 0x10201c7
jne 0x10200ee
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
mov ebx, str.DCache
push ebx
push dword [ebp - 0x2c]
call fcn.0101e907
test eax, eax
jne 0x10201c7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
add ecx, eax
lea eax, [ecx + ecx + 4]
push eax
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x38], eax
je 0x10201c7
push dword [ebp - 0x34]
mov edi, eax
push edi
call fcn.010136fb
push edi
call fcn.01013b3d
add esp, 0xc
lea ecx, [ebp - 0x28]
push ecx
lea eax, [edi + eax*2 + 2]
push eax
push esi
push esi
push ebx
mov word [eax], si
push dword [ebp - 0x2c]
call fcn.0101e907
jmp 0x10201c7
cmp dword [ebp - 0x1c], 5
jb 0x10201c7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp eax, esi
mov dword [ebp - 0x24], esi
je 0x10201c7
lea ecx, [ebp - 0x24]
push ecx
push esi
mov dword [ebp - 0x28], esi
xor ebx, ebx
call eax
test eax, eax
jne 0x102014b
mov ebx, dword [ebp - 0x24]
jmp 0x1020140
movzx eax, ax
inc eax
je 0x1020148
push ebx
call fcn.01013b3d
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax + 1]
push ebx
mov dword [ebp - 0x28], eax
call fcn.01013b3d
pop ecx
pop ecx
lea ebx, [ebx + eax*2 + 2]
mov ax, word [ebx]
cmp ax, si
jne 0x102011e
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
add eax, ecx
lea eax, [eax + eax + 4]
push eax
push 0x40
call edi
cmp eax, esi
mov dword [ebp - 0x38], eax
je 0x10201c7
push dword [ebp - 0x34]
mov edi, eax
push edi
call fcn.010136fb
push edi
call fcn.01013b3d
lea edi, [edi + eax*2 + 2]
add esp, 0xc
mov word [edi], si
cmp dword [ebp - 0x28], esi
je 0x10201c7
jmp 0x10201ac
movzx eax, ax
inc eax
je 0x10201b4
push ebx
push edi
call fcn.0101df6a
push edi
call fcn.01013b3d
lea edi, [edi + eax*2]
mov word [edi], si
inc edi
push ebx
inc edi
call fcn.01013b3d
pop ecx
pop ecx
lea ebx, [ebx + eax*2 + 2]
mov ax, word [ebx]
cmp ax, si
jne 0x1020185
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x54]
cmp eax, esi
jne 0x10201c2
xor eax, eax
jmp 0x10201f2
push dword [ebp - 0x24]
call eax
cmp dword [ebp - 0x2c], esi
je 0x10201d5
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x3c], esi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x10201e5
push dword [ebp - 0x3c]
call edi
cmp dword [ebp - 0x40], esi
je 0x10201ef
push dword [ebp - 0x40]
call edi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
pop ebx
call fcn.0101339b
add ebp, 0x78
leave
ret