Function at 0x1007e41e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b962f
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebx]
push ecx
mov esi, 0x3f608312
mov ecx, ebx
mov dword [esp], esi
call dword [eax + 0xac]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [esp], esi
call dword [eax + 0xa4]
mov esi, 0x100cbf64
movzx ecx, byte [esi]
mov eax, dword [esi - 4]
mov edx, dword [ebx]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x90]
add esi, 8
cmp esi, 0x100cbffc
jl 0x1007e46f
mov esi, 0x100cbdd4
mov eax, dword [esi - 4]
mov edx, dword [ebx]
push ecx
mov ecx, dword [esi]
mov dword [esp], ecx
push eax
mov ecx, ebx
call dword [edx + 0x88]
add esi, 8
cmp esi, 0x100cbf64
jl 0x1007e491
mov edx, 0x100c85d0
mov dword [esp + 0x10], edx
jmp 0x1007e4bf
mov edx, dword [esp + 0x10]
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov al, byte [edx - 4]
mov byte [esp + 0x19], al
mov eax, dword [ebx]
mov byte [esp + 0x18], 1
mov esi, edx
mov edx, dword [edx - 8]
lea edi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call dword [eax + 0x68]
add dword [esp + 0x10], 0x18
cmp dword [esp + 0x10], 0x100c9ff8
jl 0x1007e4bb
mov edx, 0x100cb1b8
mov dword [esp + 0x10], edx
jmp 0x1007e50e
mov edx, dword [esp + 0x10]
push 6
pop ecx
xor eax, eax
push 5
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov al, byte [edx - 4]
pop ecx
mov esi, edx
mov edx, dword [edx - 8]
mov byte [esp + 0x19], al
mov eax, dword [ebx]
mov byte [esp + 0x18], 2
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebx
call dword [eax + 0x68]
add dword [esp + 0x10], 0x1c
cmp dword [esp + 0x10], 0x100cbc00
jl 0x1007e50a
mov esi, 0x100ccaa0
push 0x2c
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi - 4]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esi - 8]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x28], 0
call dword [edx + 0x70]
add esi, 0xc
cmp esi, 0x100ccad0
jl 0x1007e554
mov esi, 0x100ccad0
push 0x2c
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi - 4]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi - 8]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x28], 1
call dword [edx + 0x70]
add esi, 0x10
cmp esi, 0x100ccb10
jl 0x1007e597
mov esi, 0x100ccb10
push 0x2c
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi - 4]
mov edx, dword [ebx]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 4]
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esi - 8]
push ecx
push eax
mov ecx, ebx
mov byte [esp + 0x28], 3
call dword [edx + 0x70]
add esi, 0x10
cmp esi, 0x100ccb40
jl 0x1007e5e1
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
sbb esi, esi
inc esi
inc esi
mov edi, 0x100cbc08
mov eax, dword [edi]
cmp eax, esi
je 0x1007e641
test eax, eax
jne 0x1007e650
mov eax, dword [edi - 0x10]
mov edx, dword [ebx]
lea ecx, [edi - 0xc]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x78]
add edi, 0x14
cmp edi, 0x100cbd98
jl 0x1007e637
mov esi, 0x100cc0dc
mov eax, dword [esi - 4]
mov edx, dword [ebx]
push esi
push eax
mov ecx, ebx
call dword [edx + 0x60]
add esi, 0x20
cmp esi, 0x100cca9c
jl 0x1007e660
mov esi, 0x100cbd8c
mov eax, dword [esi - 4]
mov edx, dword [ebx]
push esi
push eax
mov ecx, ebx
call dword [edx + 0x80]
add esi, 0xc
cmp esi, 0x100cbdd4
jl 0x1007e67c
mov esi, 0x100cbff8
mov dword [esp + 0x10], esi
jmp 0x1007e6a5
mov esi, dword [esp + 0x10]
push dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.1000e73f
and dword [esp + 0x50], 0
mov esi, dword [esi]
lea edi, [esp + 0x18]
call fcn.1000e727
push eax
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x98]
or dword [esp + 0x50], 0xffffffff
mov esi, edi
call fcn.10002d50
add dword [esp + 0x10], 8
cmp dword [esp + 0x10], 0x100cc0d0
jl 0x1007e6a1
mov esi, 0x100ddac0
mov eax, dword [esi]
mov edx, dword [ebx]
push 1
push eax
mov ecx, ebx
call dword [edx + 0xb0]
add esi, 4
cmp esi, str.art:dock.outer_stroke
jl 0x1007e6ee
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret