Function at 0x4015cc
Capabilities:
Check os version

Disassembly:
push 0x1bc
push 0x4046f0
call fcn.00403cd0
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0xc8], 0x94
push 0x90
push edi
lea eax, [ebp - 0xc4]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40187c
cmp dword [ebp - 0xc4], 5
jne 0x40163e
cmp dword [ebp - 0xc0], edi
jbe 0x40163e
mov eax, 0xc039
mov word [0x42b6bc], ax
jmp 0x401676
cmp dword [ebp - 0xc4], 6
jne 0x401669
cmp dword [ebp - 0xc0], 2
jae 0x401669
xor eax, eax
cmp dword [ebp - 0xc0], 1
sete al
lea eax, [eax + eax + 0xc03a]
mov word [0x42b6bc], ax
cmp word [0x42b6bc], di
je 0x40187c
push 0xc
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x40169d
push 0x83
push 9
mov eax, esi
mov edx, 0x406d58
call fcn.00403676
push 0x1c
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
cmp eax, edi
je 0x4016bf
push 0x95
push 0x18
mov edx, 0x406d64
call fcn.00403676
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov ebx, eax
test ebx, ebx
je 0x40187c
push 0x18
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x4016fe
push 0x94
push 0x17
mov edx, 0x406d7c
call fcn.00403676
push eax
push dword [ebp - 0x20]
call esi
push eax
call edi
mov dword [0x42b6c4], eax
test eax, eax
je 0x40187c
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0xb
call ebx
test eax, eax
je 0x40187c
push dword [ebp - 0x24]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
xor esi, esi
cmp eax, esi
je 0x40187c
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push 0xb
call ebx
cmp eax, esi
jne 0x40187c
mov byte [ebp - 0x1cc], 0
push 0x103
push esi
lea eax, [ebp - 0x1cb]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov ebx, dword [sym.imp.ntdll.dll_strstr]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x1c]
cmp esi, dword [eax]
jae 0x4017d3
mov ecx, esi
imul ecx, ecx, 0x11c
lea eax, [ecx + eax + 0x20]
mov dword [ebp - 0x20], eax
push 0x404640
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x4017d0
push 0x404644
push dword [ebp - 0x20]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x4017d0
mov edx, eax
lea ecx, [ebp - 0x1cc]
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
test al, al
jne 0x4017b7
imul esi, esi, 0x11c
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi + eax + 0xc]
jmp 0x4017d6
inc esi
jmp 0x401778
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x40187c
test esi, esi
je 0x40187c
push 0x1c
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x40181a
push 0x92
push 0x1a
mov edx, 0x406d94
call fcn.00403676
push eax
push ebx
call edi
mov dword [0x42b6b4], eax
test eax, eax
je 0x40187c
mov ecx, esi
sub ecx, ebx
add eax, ecx
mov dword [0x42b6b4], eax
push 0x18
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x401854
push 0x81
push 0x17
mov edx, 0x406db0
call fcn.00403676
push eax
push ebx
call edi
mov dword [0x42b6c0], eax
test eax, eax
je 0x40187c
sub esi, ebx
add eax, esi
mov dword [0x42b6c0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x42b6b0], eax
mov dword [ebp - 0x2c], 1
or dword [ebp - 4], 0xffffffff
call fcn.00401894
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0x1d8]
call fcn.00403d09
ret