Function at 0x1008fcd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 1
jae 0x1008fcf7
xor eax, eax
jmp 0x1008ff20
call fcn.1008f430
test eax, eax
je 0x1008fd07
xor eax, eax
jmp 0x1008ff20
mov dword [ebp - 0x128], 0
push 0x110
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.100738a0
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 0x1008fd72
cmp dword [ebp - 0x124], 6
jne 0x1008fd6b
cmp dword [ebp - 0x120], 1
je 0x1008fd72
cmp dword [ebp - 0x120], 2
je 0x1008fd72
cmp dword [ebp - 0x120], 3
je 0x1008fd72
xor eax, eax
jmp 0x1008ff20
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.1006ffa8
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x1008fdac
xor eax, eax
jmp 0x1008ff20
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.100738a0
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 0x1008fe16
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp + 0x10]
jae 0x1008fe63
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.10070c0b
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.10073920
add esp, 0xc
jmp 0x1008fe07
mov ecx, dword [ebp + 8]
push ecx
call fcn.10070c0b
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.10073920
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.10070c0b
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.10073920
add esp, 0xc
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.10070b80
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.10073920
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.1008f4a0
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.10072b5d
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070c21
mov esp, ebp
pop ebp
ret 0x20