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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b20ee
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x100da4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc8], 0
mov eax, dword [0x100dd738]
test al, 1
jne 0x10072bd3
or eax, 1
mov dword [0x100dd72c], 0xf
push 0x100b34d0
mov dword [0x100dd738], eax
mov dword [0x100dd728], 0
mov byte [0x100dd718], 0
call fcn.1008aa4f
add esp, 4
cmp byte [0x100dd716], 0
jne 0x10072f16
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [ebp - 0xc0]
cmp ecx, 5
jne 0x10072c3a
mov eax, dword [ebp - 0xbc]
sub eax, 0
je 0x10072c2e
dec eax
je 0x10072c1f
mov dword [0x100dd734], 3
jmp 0x10072caf
mov dword [0x100dd734], 2
jmp 0x10072caf
mov dword [0x100dd734], 1
jmp 0x10072caf
cmp byte [ebp - 0x2a], 1
je 0x10072c4c
mov dword [0x100dd734], 5
jmp 0x10072caf
cmp ecx, 6
jne 0x10072c9a
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x10072c67
mov dword [0x100dd734], 4
jmp 0x10072caf
cmp eax, 1
jne 0x10072c78
mov dword [0x100dd734], 6
jmp 0x10072caf
cmp eax, 2
jne 0x10072c89
mov dword [0x100dd734], 7
jmp 0x10072caf
cmp eax, 3
jne 0x10072caf
mov dword [0x100dd734], 8
jmp 0x10072caf
mov eax, dword [0x100dd734]
cmp ecx, 0xa
mov edx, 9
cmove eax, edx
mov dword [0x100dd734], eax
mov dword [ebp - 0x178], 0x100bc728
mov dword [ebp - 0x168], 0x100bc720
push 0
lea eax, [ebp - 0x160]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 2
push eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x110], 0x100b46c4
mov dword [ebp - 0x114], 0x50
movlpd qword [ebp - 0x170], xmm0
call fcn.10005f6c
mov eax, dword [ebp - 0x168]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x168], 0x100b470c
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x16c], eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100b477c
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x17c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x178], 0x100b4784
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x160]
call fcn.100043ae
mov dword [ebp - 0x160], 0x100b4734
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 7
push eax
push 0x100cabf8
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x168]
push 0x100bc6c4
push dword [ebp - 0xb8]
push 0x100bc6c4
push dword [ebp - 0xbc]
push 0x100bc6c4
push dword [ebp - 0xc0]
call fcn.10003157
push eax
call fcn.10004db9
add esp, 8
mov ecx, eax
call fcn.10003157
push eax
call fcn.10004db9
add esp, 8
mov ecx, eax
call fcn.10003157
push eax
call fcn.10004db9
add esp, 8
mov ecx, eax
call fcn.10003157
push eax
call fcn.10004db9
add esp, 8
push eax
call fcn.10004db9
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.100032f9
mov edi, eax
cmp edi, 0x100dd718
je 0x10072e89
cmp dword [0x100dd72c], 0x10
jb 0x10072e63
push dword [0x100dd718]
call fcn.1008a230
add esp, 4
push edi
mov ecx, 0x100dd718
mov dword [0x100dd72c], 0xf
mov dword [0x100dd728], 0
mov byte [0x100dd718], 0
call fcn.10006b63
cmp dword [ebp - 0x14], 0x10
jb 0x10072e9a
push dword [ebp - 0x28]
call fcn.1008a230
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x19c], 0
lea eax, [ebp - 0x19c]
push eax
movdqu xmmword [ebp - 0x198], xmm0
movdqu xmmword [ebp - 0x188], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [ebp - 0x19c]
cmp ax, 9
je 0x10072edd
mov byte [0x100dd730], 0
cmp ax, 6
jne 0x10072ee4
mov byte [0x100dd730], 1
lea ecx, [ebp - 0x110]
mov byte [0x100dd716], 1
mov dword [ebp - 4], 0xffffffff
call fcn.100032ca
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x100b46b4
push eax
call fcn.10073845
add esp, 4
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x100dd718
mov byte [esi], 0
call fcn.1000721f
mov cl, byte [0x100dd730]
mov eax, esi
mov byte [esi + 0x18], cl
mov ecx, dword [0x100dd734]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a221
mov esp, ebp
pop ebp
ret