Function at 0x1008e250
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 1
jae 0x1008e277
xor eax, eax
jmp 0x1008e4a0
call fcn.1008d9b0
test eax, eax
je 0x1008e287
xor eax, eax
jmp 0x1008e4a0
mov dword [ebp - 0x128], 0
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10072040
add esp, 0xc
mov dword [ebp - 0x128], 0x114
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
je 0x1008e2f2
cmp dword [ebp - 0x124], 6
jne 0x1008e2eb
cmp dword [ebp - 0x120], 1
je 0x1008e2f2
cmp dword [ebp - 0x120], 2
je 0x1008e2f2
cmp dword [ebp - 0x120], 3
je 0x1008e2f2
xor eax, eax
jmp 0x1008e4a0
mov edx, dword [ebp + 0x10]
add edx, 3
imul edx, edx, 0x410
add edx, 0x14
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
call fcn.1006e778
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1008e32c
xor eax, eax
jmp 0x1008e4a0
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.10072040
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x89acbb19
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp + 0x10]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 4]
add eax, 0x14
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], 0
jmp 0x1008e396
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 0x10]
jae 0x1008e3e3
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.1006f3ab
add esp, 4
shl eax, 1
push eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x130]
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.100720c0
add esp, 0xc
jmp 0x1008e387
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006f3ab
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.100720c0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.1006f3ab
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x10]
add eax, 1
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.100720c0
add esp, 0xc
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.1006f320
add esp, 4
push eax
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x10]
add eax, 2
imul eax, eax, 0x410
add eax, dword [ebp - 0x12c]
push eax
call fcn.100720c0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.1008da20
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.100712fd
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3c1
mov esp, ebp
pop ebp
ret 0x20