Function at 0x22b5f
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x2c
call fcn.00026100
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x88
call fcn.00026100
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x27e86
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
push 0xc
call fcn.00026100
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 8]
push eax
push 8
call fcn.00026100
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call sub.ntoskrnl.exe_PsGetVersion
cmp dword [ebp - 0x18], esp
je 0x22c4c
push 6
call fcn.00026106
add esp, 4
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov edi, dword [ebp - 0x20]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.000260fa
add esp, 4
pop eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x27e66
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x10], esp
je 0x22cad
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x27e70
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x10], esp
je 0x22cdd
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
push 0x27e7a
call sub.ntoskrnl.exe_DbgPrint
add esp, 8
cmp dword [ebp - 0x10], esp
je 0x22d0d
push 6
call fcn.00026106
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 4
jne 0x22d3e
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x22d3e
mov eax, 1
jmp 0x22d40
xor eax, eax
test eax, eax
je 0x22d57
mov eax, 0
jmp 0x22ef8
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 5
jne 0x22d88
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x22d88
mov eax, 1
jmp 0x22d8a
xor eax, eax
test eax, eax
je 0x22da1
mov eax, 1
jmp 0x22ef8
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 5
jne 0x22dd2
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 1
jne 0x22dd2
mov eax, 1
jmp 0x22dd4
xor eax, eax
test eax, eax
je 0x22deb
mov eax, 2
jmp 0x22ef8
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 5
jne 0x22e1c
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 2
jne 0x22e1c
mov eax, 1
jmp 0x22e1e
xor eax, eax
test eax, eax
je 0x22e5a
mov ebx, dword [ebp - 4]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp word [ebx], 0
jne 0x22e4b
mov eax, 3
jmp 0x22ef8
mov eax, 4
jmp 0x22ef8
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 6
jne 0x22e8b
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 0
jne 0x22e8b
mov eax, 1
jmp 0x22e8d
xor eax, eax
test eax, eax
je 0x22ea4
mov eax, 5
jmp 0x22ef8
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 6
jne 0x22ed5
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp dword [ebx], 1
jne 0x22ed5
mov eax, 1
jmp 0x22ed7
xor eax, eax
test eax, eax
je 0x22eee
mov eax, 6
jmp 0x22ef8
mov eax, 0xffffffff
jmp 0x22ef8
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.000260fa
add esp, 4
pop ebx
call fcn.000260fa
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.000260fa
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret