Function at 0x10001b08
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x2c
call fcn.1000346b
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.1000346b
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1000f2c5
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
mov dword [ebp - 8], 0
push 0x24
call fcn.1000346b
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 9
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx], 0x9c
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 4]
push eax
push 0x9c
call fcn.1000346b
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
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 word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001c46
push 0x51
push 0x402ed81
push 6
call fcn.10003471
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.100038e0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10001caf
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10001cad
imul eax, dword [edi]
jmp 0x10001ca2
mov ecx, eax
cmp ecx, 0x80
jle 0x10001cbc
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x80
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 ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.10003465
add esp, 4
pop eax
test eax, eax
je 0x10002191
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
xor eax, eax
call dword [0x1000f4cf]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10001d52
push 0x7f
push 0x402ed81
push 6
call fcn.10003471
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0xa
jne 0x10001daf
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x10001daa
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x10001da0
mov eax, 0x11
jmp 0x1000219b
mov eax, 0x12
jmp 0x1000219b
jmp 0x10002191
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x10001ef8
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x10001e11
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10001e02
mov eax, 9
jmp 0x10001e07
mov eax, 0xb
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 1
jne 0x10001e5e
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10001e4f
mov eax, 0xa
jmp 0x10001e54
mov eax, 0xc
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
jne 0x10001eab
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10001e9c
mov eax, 0xd
jmp 0x10001ea1
mov eax, 0xf
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 3
jne 0x10001ef3
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
mov eax, 0
sete al
test eax, eax
je 0x10001ee9
mov eax, 0xe
jmp 0x10001eee
mov eax, 0x10
jmp 0x1000219b
jmp 0x10002191
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10001f29
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x10001f29
mov eax, 1
jmp 0x10001f2e
mov eax, 0
test eax, eax
je 0x10001f45
mov eax, 4
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10001f76
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x10001f76
mov eax, 1
jmp 0x10001f7b
mov eax, 0
test eax, eax
je 0x10001f92
mov eax, 2
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10001fc3
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x10001fc3
mov eax, 1
jmp 0x10001fc8
mov eax, 0
test eax, eax
je 0x10002149
mov dword [ebp - 0x10], esp
push 0x59
xor eax, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001ffe
push 0x6fb
push 0x402ed81
push 6
call fcn.10003471
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000201a
mov eax, 8
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x2000
mov ebx, dword [ebp - 0x10]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.10003cb0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jne 0x1000206f
mov eax, 7
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x10], ebx
push 0x80000301
push 0
push 0x8000
mov ebx, dword [ebp - 0x10]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.10003cb0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8000
jne 0x100020c4
mov eax, 5
jmp 0x1000219b
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100020f0
push 0x843
push 0x402ed81
push 6
call fcn.10003471
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x1000211e
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 9
jne 0x1000211e
mov eax, 1
jmp 0x10002123
mov eax, 0
test eax, eax
je 0x1000213a
mov eax, 3
jmp 0x1000219b
mov eax, 6
jmp 0x1000219b
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x1000217a
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xa
jne 0x1000217a
mov eax, 1
jmp 0x1000217f
mov eax, 0
test eax, eax
je 0x10002191
mov eax, 1
jmp 0x1000219b
mov eax, 0
jmp 0x1000219b
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10003465
add esp, 4
pop ebx
call fcn.10003465
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10003465
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret