Function at 0x10008e30
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x38c
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x388], eax
mov ax, word [0x1003e6b4]
push esi
mov esi, dword [esp + 0x394]
push edi
mov edi, dword [esp + 0x3a0]
push 0x206
mov word [esp + 0x18c], ax
lea eax, [esp + 0x18e]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.100063f0
mov eax, dword [eax]
test eax, eax
je 0x100092a1
mov eax, dword [eax]
test eax, eax
je 0x100092a1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x100092a1
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.10003580
add esp, 0xc
call fcn.100063f0
mov esi, dword [eax]
mov dword [esp + 0x18], esi
test esi, esi
je 0x10008ec3
lock inc dword [esi + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10008ecf
mov ecx, dword [eax]
jmp 0x10008ed1
xor ecx, ecx
test esi, esi
je 0x10008ed9
mov eax, dword [esi]
jmp 0x10008edb
xor eax, eax
push ebx
push ebp
push 1
lea edx, [esp + 0x194]
push edx
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
or ebp, 0xffffffff
cmp edi, 5
jne 0x100091f6
cmp dword [0x10053978], 0
je 0x10008f1b
mov ecx, dword [0x1005397c]
jmp 0x10008f72
push pe_nt_image_headers32
lea eax, [esp + 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x7c], 0x114
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
cmp dword [esp + 0x80], 5
jne 0x10008f60
cmp dword [esp + 0x84], 1
jb 0x10008f60
mov ecx, 1
jmp 0x10008f62
xor ecx, ecx
mov dword [0x1005397c], ecx
mov dword [0x10053978], 1
test ecx, ecx
je 0x100091f6
xorps xmm0, xmm0
mov dword [esp + 0x28], 0x44
push 0xc
movups xmmword [esp + 0x70], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
call fcn.10031690
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10008fef
push 0x1003ffe8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
je 0x100092a5
jmp 0x10008ff1
xor ebx, ebx
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x100092a5
push 0xc
call fcn.10031690
mov edi, eax
add esp, 4
test edi, edi
je 0x10009032
push 0x1003ffe4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
test eax, eax
je 0x100092a5
jmp 0x10009034
xor edi, edi
mov dword [esp + 0x14], edi
test edi, edi
je 0x100092a5
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x1000905e
lock inc dword [edi + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.10003700
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000907c
lock inc dword [eax + 8]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100090e1
mov edx, dword [eax]
mov ecx, ebp
mov dword [esp + 0x20], edx
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x100090e9
mov ecx, dword [eax]
test ecx, ecx
je 0x100090b9
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100090d4
push ecx
call fcn.1003b898
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.10031690
add esp, 8
jmp 0x100090e9
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10009138
mov ecx, ebp
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x10009138
mov ecx, dword [eax]
test ecx, ecx
je 0x10009112
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000912d
push ecx
call fcn.1003b898
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.10031690
add esp, 8
test edi, edi
je 0x1000917b
mov eax, ebp
lock xadd dword [edi + 8], eax
dec eax
jne 0x1000917b
mov eax, dword [edi]
test eax, eax
je 0x10009159
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10009170
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.10031690
add esp, 8
mov eax, ebp
lock xadd dword [ebx + 8], eax
dec eax
jne 0x100091ba
mov eax, dword [ebx]
test eax, eax
je 0x10009198
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100091af
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.10031690
add esp, 8
test esi, esi
je 0x100091c2
mov eax, dword [esi]
jmp 0x100091c4
xor eax, eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x40]
push eax
call fcn.10005440
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x28
test eax, eax
setne byte [esp + 0x13]
jmp 0x100091fe
cmp edi, 0x20
setg byte [esp + 0x13]
test esi, esi
je 0x1000923d
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000923d
mov eax, dword [esi]
test eax, eax
je 0x1000921b
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10009232
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov esi, dword [esp + 0x24]
test esi, esi
je 0x10009282
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x10009282
test esi, esi
je 0x10009282
mov eax, dword [esi]
test eax, eax
je 0x10009260
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10009277
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10031690
add esp, 8
mov al, byte [esp + 0x13]
pop ebp
pop ebx
mov ecx, dword [esp + 0x390]
pop edi
pop esi
xor ecx, esp
call fcn.1003b4ee
add esp, 0x38c
ret 0xc
xor al, al
jmp 0x10009288
push 0x8007000e
call fcn.10031690
int3