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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0x2c
call fcn.10002d40
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.10002d40
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x10006297
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.10002d40
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.10002d40
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 0x10001f3a
push 0x51
push 0x402ed81
push 6
call fcn.10002d4c
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.10003190
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 0x10001fa3
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10001fa1
imul eax, dword [edi]
jmp 0x10001f96
mov ecx, eax
cmp ecx, 0x80
jle 0x10001fb0
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.10002d3a
add esp, 4
pop eax
test eax, eax
je 0x10002485
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 [0x10006416]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10002046
push 0x7f
push 0x402ed81
push 6
call fcn.10002d4c
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 0x100020a3
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x1000209e
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp byte [ebx], 1
jne 0x10002094
mov eax, 0x11
jmp 0x1000248f
mov eax, 0x12
jmp 0x1000248f
jmp 0x10002485
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 6
jne 0x100021ec
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 0
jne 0x10002105
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 0x100020f6
mov eax, 9
jmp 0x100020fb
mov eax, 0xb
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 1
jne 0x10002152
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 0x10002143
mov eax, 0xa
jmp 0x10002148
mov eax, 0xc
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 2
jne 0x1000219f
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 0x10002190
mov eax, 0xd
jmp 0x10002195
mov eax, 0xf
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], 3
jne 0x100021e7
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 0x100021dd
mov eax, 0xe
jmp 0x100021e2
mov eax, 0x10
jmp 0x1000248f
jmp 0x10002485
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 5
jne 0x1000221d
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0
jne 0x1000221d
mov eax, 1
jmp 0x10002222
mov eax, 0
test eax, eax
je 0x10002239
mov eax, 4
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 0x1000226a
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 1
jne 0x1000226a
mov eax, 1
jmp 0x1000226f
mov eax, 0
test eax, eax
je 0x10002286
mov eax, 2
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 0x100022b7
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 2
jne 0x100022b7
mov eax, 1
jmp 0x100022bc
mov eax, 0
test eax, eax
je 0x1000243d
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 0x100022f2
push 0x6fb
push 0x402ed81
push 6
call fcn.10002d4c
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000230e
mov eax, 8
jmp 0x1000248f
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.100035e0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jne 0x10002363
mov eax, 7
jmp 0x1000248f
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.100035e0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8000
jne 0x100023b8
mov eax, 5
jmp 0x1000248f
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 0x100023e4
push 0x843
push 0x402ed81
push 6
call fcn.10002d4c
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 0x10002412
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 9
jne 0x10002412
mov eax, 1
jmp 0x10002417
mov eax, 0
test eax, eax
je 0x1000242e
mov eax, 3
jmp 0x1000248f
mov eax, 6
jmp 0x1000248f
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 4
jne 0x1000246e
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
cmp dword [ebx], 0xa
jne 0x1000246e
mov eax, 1
jmp 0x10002473
mov eax, 0
test eax, eax
je 0x10002485
mov eax, 1
jmp 0x1000248f
mov eax, 0
jmp 0x1000248f
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10002d3a
add esp, 4
pop ebx
call fcn.10002d3a
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.10002d3a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret