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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x2c
call fcn.10002d4c
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.10002d4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1000a2c7
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.10002d4c
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.10002d4c
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 0x10001f44
push 0x51
push 0x402ed81
push 6
call fcn.10002d58
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.100031a0
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 0x10001fad
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10001fab
imul eax, dword [edi]
jmp 0x10001fa0
mov ecx, eax
cmp ecx, 0x80
jle 0x10001fba
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.10002d46
add esp, 4
pop eax
test eax, eax
je 0x1000248f
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 [0x1000a446]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10002050
push 0x7f
push 0x402ed81
push 6
call fcn.10002d58
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 0x100020ad
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x100020a8
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x1000209e
mov eax, 0x11
jmp 0x10002499
mov eax, 0x12
jmp 0x10002499
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x100021f6
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x1000210f
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 0x10002100
mov eax, 9
jmp 0x10002105
mov eax, 0xb
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 1
jne 0x1000215c
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 0x1000214d
mov eax, 0xa
jmp 0x10002152
mov eax, 0xc
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
jne 0x100021a9
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 0x1000219a
mov eax, 0xd
jmp 0x1000219f
mov eax, 0xf
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 3
jne 0x100021f1
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 0x100021e7
mov eax, 0xe
jmp 0x100021ec
mov eax, 0x10
jmp 0x10002499
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10002227
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x10002227
mov eax, 1
jmp 0x1000222c
mov eax, 0
test eax, eax
je 0x10002243
mov eax, 4
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x10002274
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x10002274
mov eax, 1
jmp 0x10002279
mov eax, 0
test eax, eax
je 0x10002290
mov eax, 2
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x100022c1
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x100022c1
mov eax, 1
jmp 0x100022c6
mov eax, 0
test eax, eax
je 0x10002447
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 0x100022fc
push 0x6fb
push 0x402ed81
push 6
call fcn.10002d58
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10002318
mov eax, 8
jmp 0x10002499
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.100035f0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jne 0x1000236d
mov eax, 7
jmp 0x10002499
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.100035f0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8000
jne 0x100023c2
mov eax, 5
jmp 0x10002499
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 0x100023ee
push 0x843
push 0x402ed81
push 6
call fcn.10002d58
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 0x1000241c
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 9
jne 0x1000241c
mov eax, 1
jmp 0x10002421
mov eax, 0
test eax, eax
je 0x10002438
mov eax, 3
jmp 0x10002499
mov eax, 6
jmp 0x10002499
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x10002478
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xa
jne 0x10002478
mov eax, 1
jmp 0x1000247d
mov eax, 0
test eax, eax
je 0x1000248f
mov eax, 1
jmp 0x10002499
mov eax, 0
jmp 0x10002499
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10002d46
add esp, 4
pop ebx
call fcn.10002d46
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10002d46
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret