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

Disassembly:
sub esp, 0x168
push ebx
push esi
push edi
push 0x118
lea eax, [esp + 0x30]
mov ebx, edx
push 0
push eax
mov esi, ecx
call fcn.10077450
add esp, 0xc
mov dword [esp + 0x28], 0x11c
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100d7893
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffc
cmp eax, 6
ja case.0x100d758a.7
jmp dword [eax*4 + 0x100d78ac]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100d75cd
cmp eax, 0xa
je 0x100d75ba
cmp eax, 0x5a
jne 0x100d787b
push 0x14
push str.Microsoft_Windows_Me
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
push 0x14
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov eax, dword [esp + 0x38]
cmp eax, 2
jne 0x100d75e9
push 0x18
push str.Microsoft_Windows_NT_4.0
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
cmp eax, 1
jne 0x100d787b
push 0x14
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x100d769b
sub eax, 1
je 0x100d7688
sub eax, 1
jne 0x100d787b
cmp byte [esp + 0x142], 1
jne 0x100d7648
cmp word [esp + 0x14c], 9
jne 0x100d7648
push 0x2d
push str.Microsoft_Windows_XP_Professional_x64_Edition
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
jne 0x100d7669
push 0x1d
push str.Microsoft_Windows_Server_2003
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
push 0x59
call edi
test eax, eax
je 0x100d787b
push 0x20
push str.Microsoft_Windows_Server_2003_R2
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
push 0x14
push str.Microsoft_Windows_XP
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
push 0x16
push str.Microsoft_Windows_2000
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov eax, dword [esp + 0x30]
sub eax, 0
je 0x100d772b
sub eax, 1
je 0x100d76f1
cmp byte [esp + 0x142], 1
mov ecx, 0x13
jne 0x100d76de
push ecx
mov eax, str.Microsoft_Windows_8
mov ecx, esi
push eax
call fcn.1001a860
jmp 0x100d787b
push ecx
mov eax, str.Windows_Server_2012
mov ecx, esi
push eax
call fcn.1001a860
jmp 0x100d787b
cmp byte [esp + 0x142], 1
jne 0x100d7713
mov ecx, 0x13
mov eax, str.Microsoft_Windows_7
push ecx
push eax
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov ecx, 0x20
mov eax, str.Microsoft_Windows_Server_2008_R2
push ecx
push eax
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
cmp byte [esp + 0x142], 1
jne 0x100d774d
mov ecx, 0x17
mov eax, str.Microsoft_Windows_Vista
push ecx
push eax
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov ecx, 0x1d
mov eax, str.Microsoft_Windows_Server_2008
push ecx
push eax
mov ecx, esi
call fcn.1001a860
jmp 0x100d787b
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100d77cb
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x18]
push str.Windows__d._d
push eax
call fcn.100d7250
add esp, 0x10
mov ecx, esi
push eax
call fcn.1001df20
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d787b
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d7871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d789f
jmp 0x100d7871
cmp byte [esp + 0x142], 1
mov ecx, esi
jne 0x100d77e8
push 0x14
push str.Microsoft_Windows_10
call fcn.1001a860
jmp 0x100d787b
push 0x1d
push str.Microsoft_Windows_Server_2016
call fcn.1001a860
jmp 0x100d787b
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [esp + 0x30]
push str.Windows__d._d
push eax
call fcn.100d7250
mov edi, eax
add esp, 0x10
cmp esi, edi
je 0x100d7843
mov ecx, esi
call fcn.1001a0c0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [esp + 0x24]
cmp edx, 8
jb 0x100d787b
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100d7871
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100d78a4
push edx
push ecx
call fcn.1007306e
add esp, 8
mov eax, dword [esp + 0x2c]
mov dword [ebx], eax
cmp dword [esi + 0x10], 0
je 0x100d7893
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x168
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x168
ret
call fcn.10080da8
call fcn.10080da8
nop dword [eax]
xchg ecx, eax
jne 269318332
adc byte [0xae100d76], al
jbe 0x100d78c4
adc cl, bh
ja 0x100d78c8
adc cl, bh
stc
ja 0x100d78cc
adc cl, bh
ja 0x100d78d0
adc byte [ebp + 0x77], ah
or eax, 0xcccccc10
int3
ja 0x100d78d4
adc ah, cl
int3
int3
int3
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10121159
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0
mov dword [ebp - 0x10], 0
call fcn.10099737
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], edx
call fcn.10099565
mov ecx, eax
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push dword [ecx]
mov eax, dword [ecx + 0x10]
push dword [ecx + 4]
inc eax
mov dword [ebp - 0x10], 1
push dword [ecx + 8]
push dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
push str._04d_02d_02d_02d_02d_02d
push esi
call fcn.100d7070
mov ecx, dword [ebp - 0xc]
add esp, 0x28
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
jmp [eax + 0x59]