Function at 0x1011366
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
and byte [ebp - 0x104], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x198], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test byte [ebp - 0x188], 1
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 6
mov edi, 0x8000000
pop ebx
je 0x101148e
mov eax, dword [ebp - 0x18c]
and eax, 0xffff
push eax
lea eax, [ebp - 0x104]
push 0x10071a8
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x800000
call fcn.0100e994
mov ecx, dword [ebp - 0x18c]
and ecx, 0xffff
mov eax, 0x7ce
cmp ecx, eax
jb 0x101146d
cmp ecx, 0x94c
jb 0x1011433
lea eax, [ebp - 0x104]
push 0x100718c
push eax
mov dword [0x101f9a8], 1
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
push dword [0x101ec78]
call fcn.01011031
test eax, eax
je 0x1011451
call fcn.010112f1
test eax, eax
jne 0x1011536
jmp 0x10114bb
call fcn.01011247
test eax, eax
jne 0x1011536
mov dword [0x101f9ac], 1
jmp 0x1011546
push eax
lea eax, [ebp - 0x104]
push 0x1007164
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x800000
jmp 0x10114eb
test byte [ebp - 0x188], 2
je 0x1011514
cmp dword [ebp - 0x194], 5
jne 0x101150d
xor eax, eax
inc eax
push eax
mov dword [0x101ec78], eax
call fcn.01011031
test eax, eax
je 0x10114f2
call fcn.010112f1
test eax, eax
jne 0x10114c7
mov dword [0x101f9b0], 1
jmp 0x101153d
lea eax, [ebp - 0x104]
push 0x100713c
push eax
mov dword [ebp - 4], 1
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x40000
call fcn.0100e994
jmp 0x101153d
lea eax, [ebp - 0x104]
push 0x1007114
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
jmp 0x1011531
push 0x10070e8
jmp 0x1011519
push 0x10070c0
lea eax, [ebp - 0x104]
push eax
call esi
pop ecx
pop ecx
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x40000
call fcn.0100e994
mov dword [ebp - 4], 1
cmp dword [0x101f9ac], 0
je 0x101154d
mov eax, 0x10032f0
jmp 0x1011552
mov eax, 0x10032e8
push eax
lea eax, [ebp - 0x104]
push 0x10070b0
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
cmp dword [0x101f9b0], 0
mov eax, 0x10032f0
jne 0x1011585
mov eax, 0x10032e8
push eax
lea eax, [ebp - 0x104]
push 0x10070a0
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
cmp dword [0x101ec78], 0
mov eax, 0x10032f0
jne 0x10115b8
mov eax, 0x10032e8
push eax
lea eax, [ebp - 0x104]
push 0x100708c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
push dword [ebp - 0x188]
lea eax, [ebp - 0x104]
push 0x1007070
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
push dword [ebp - 0x194]
lea eax, [ebp - 0x104]
push 0x1007054
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
push dword [ebp - 0x190]
lea eax, [ebp - 0x104]
push 0x1007038
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
mov eax, dword [ebp - 0x18c]
and eax, 0xffff
push eax
lea eax, [ebp - 0x104]
push 0x100701c
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push ebx
push edi
call fcn.0100e994
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret