Function at 0x1008e270
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 0x1008e297
xor eax, eax
jmp 0x1008e4c0
call fcn.1008d9d0
test eax, eax
je 0x1008e2a7
xor eax, eax
jmp 0x1008e4c0
mov dword [ebp - 0x128], 0
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10072050
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 0x1008e312
cmp dword [ebp - 0x124], 6
jne 0x1008e30b
cmp dword [ebp - 0x120], 1
je 0x1008e312
cmp dword [ebp - 0x120], 2
je 0x1008e312
cmp dword [ebp - 0x120], 3
je 0x1008e312
xor eax, eax
jmp 0x1008e4c0
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.1006e788
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1008e34c
xor eax, eax
jmp 0x1008e4c0
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.10072050
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 0x1008e3b6
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 0x10]
jae 0x1008e403
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.1006f3bb
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.100720d0
add esp, 0xc
jmp 0x1008e3a7
mov ecx, dword [ebp + 8]
push ecx
call fcn.1006f3bb
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.100720d0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.1006f3bb
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.100720d0
add esp, 0xc
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.1006f330
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.100720d0
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.1008da40
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.1007130d
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3d1
mov esp, ebp
pop ebp
ret 0x20