Function at 0x401b5e
Capabilities:
Check os version

Disassembly:
push 0x1bc
push 0x408848
call fcn.00405544
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], ebx
mov esi, 0x94
mov dword [ebp - 0xc8], esi
push 0x90
push ebx
lea eax, [ebp - 0xc4]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401e0b
cmp dword [ebp - 0xc4], 5
jne 0x401bd1
cmp dword [ebp - 0xc0], ebx
jbe 0x401bd1
mov eax, 0xc039
mov word [0x42c2c4], ax
jmp 0x401c09
cmp dword [ebp - 0xc4], 6
jne 0x401bfc
cmp dword [ebp - 0xc0], 2
jae 0x401bfc
xor eax, eax
cmp dword [ebp - 0xc0], 1
sete al
lea eax, [eax + eax + 0xc03a]
mov word [0x42c2c4], ax
cmp word [0x42c2c4], bx
je 0x401e0b
push 0xc
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x20], edi
cmp edi, ebx
je 0x401c30
push 0x84
push 9
mov eax, edi
mov edx, 0x40ae78
call fcn.0040498f
push 0x1c
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
cmp eax, ebx
je 0x401c4e
push esi
push 0x18
mov edx, 0x40ae84
call fcn.0040498f
push eax
push edi
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 0x401e0b
push 0x18
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x401c8d
push 0x8d
push 0x17
mov edx, 0x40ae9c
call fcn.0040498f
push eax
push dword [ebp - 0x20]
call esi
push eax
call edi
mov dword [0x42c2cc], eax
test eax, eax
je 0x401e0b
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0xb
call ebx
test eax, eax
je 0x401e0b
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 0x401e0b
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push 0xb
call ebx
cmp eax, esi
jne 0x401e0b
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 0x401d62
mov ecx, esi
imul ecx, ecx, 0x11c
lea eax, [ecx + eax + 0x20]
mov dword [ebp - 0x20], eax
push 0x4086b4
push eax
call ebx
pop ecx
pop ecx
test eax, eax
je 0x401d5f
push 0x4086b8
push dword [ebp - 0x20]
call ebx
pop ecx
pop ecx
test eax, eax
je 0x401d5f
mov edx, eax
lea ecx, [ebp - 0x1cc]
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
test al, al
jne 0x401d46
imul esi, esi, 0x11c
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi + eax + 0xc]
jmp 0x401d65
inc esi
jmp 0x401d07
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 0x401e0b
test esi, esi
je 0x401e0b
push 0x1c
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x401da9
push 0x95
push 0x1a
mov edx, 0x40aeb4
call fcn.0040498f
push eax
push ebx
call edi
mov dword [0x42c2bc], eax
test eax, eax
je 0x401e0b
mov ecx, esi
sub ecx, ebx
add eax, ecx
mov dword [0x42c2bc], eax
push 0x18
pop eax
call sub.ntdll.dll__alloca_probe
mov dword [ebp - 0x18], esp
mov eax, esp
test eax, eax
je 0x401de3
push 0x87
push 0x17
mov edx, 0x40aed0
call fcn.0040498f
push eax
push ebx
call edi
mov dword [0x42c2c8], eax
test eax, eax
je 0x401e0b
sub esi, ebx
add eax, esi
mov dword [0x42c2c8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x42c2b8], eax
mov dword [ebp - 0x2c], 1
or dword [ebp - 4], 0xffffffff
call fcn.00401e23
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0x1d8]
call fcn.0040557d
ret