Function at 0x10001494
Capabilities:
Check os version
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xe8
lea eax, [esp + 0x90]
mov ecx, esp
mov dword [ecx], 0xbca77c
mov ecx, dword [sym.imp.USER32.dll_GetMenu]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, 0x24
lea esi, [esp + 0xc0]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x24
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xc0]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call eax
sub esp, 4
mov eax, esp
mov dword [eax + 0xc], 0x84d
mov dword [eax + 8], 0x6a7
mov dword [eax + 4], 0xb07
mov dword [eax], 0x6a7
mov eax, dword [sym.imp.GDI32.dll_CreateEllipticRgn]
call eax
sub esp, 0x10
mov byte [esp + 0xbf], 0
mov ecx, esp
lea edx, [esp + 0xbf]
mov dword [ecx], edx
mov dword [ecx + 0xc], 0xdd4
mov dword [ecx + 8], 0x4b4
mov dword [ecx + 4], 0xa17
mov ecx, dword [sym.imp.USER32.dll_CreateIconFromResource]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x6e0a3c
mov ecx, dword [sym.imp.USER32.dll_IsWindowUnicode]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x9690bf
mov ecx, dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [esp + 0x74], eax
call ecx
sub esp, 4
mov byte [esp + 0xaf], 4
mov ecx, esp
lea edx, [esp + 0xaf]
mov dword [ecx + 8], edx
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 0xd95
mov dword [ecx], 0xbb85f9
mov ecx, dword [sym.imp.GDI32.dll_GetPath]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x6c], eax
mov eax, esp
mov dword [eax + 8], 0xfb6
mov dword [eax + 4], 0xfb6
mov dword [eax], 0x2679ba
mov eax, dword [sym.imp.GDI32.dll_PtVisible]
call eax
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
jmp 0x10001656
mov eax, dword [esp + 0x60]
mov ecx, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov dword [esp + 0x5c], eax
call ecx
mov ecx, esp
mov dword [ecx + 4], 0xb6e
mov dword [ecx], 0x64ad11
mov ecx, dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov dword [esp + 0x58], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x5c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ecx
je 0x100017c7
jmp 0x10001608
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov edx, esp
lea esi, [esp + 0x98]
mov dword [edx + 4], esi
mov dword [edx], 0x7bf0e2
mov edx, dword [sym.imp.GDI32.dll_GetFontUnicodeRanges]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
call edx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0xc], 0xa52
mov dword [ecx + 8], 0xa52
mov dword [ecx + 4], 0xaac
mov dword [ecx], 0xa52
mov ecx, dword [sym.imp.GDI32.dll_CreateEllipticRgn]
mov dword [esp + 0x48], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov ecx, esp
mov edx, dword [esp + 0x8c]
mov dword [ecx], edx
mov dword [ecx + 4], 0xf6e
mov ecx, dword [sym.imp.ADVAPI32.dll_DeleteAce]
mov dword [esp + 0x44], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 0xc], 8
mov dword [ecx + 8], 0x352
mov dword [ecx + 4], 0
mov dword [ecx], 0xf48f56
mov ecx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [esp + 0x40], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 8], 0x60f
mov dword [ecx + 4], 0xcba
mov dword [ecx], 0x18a6f6
mov ecx, dword [sym.imp.GDI32.dll_SetTextJustification]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
call ecx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x50]
sub edx, 6
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
je 0x1000179a
jmp 0x10001752
mov eax, dword [esp + 0x50]
sub eax, 0x25
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], ecx
jne 0x10001608
jmp 0x1000176d
mov eax, esp
mov dword [eax], 0x66e2e0
mov eax, dword [sym.imp.GDI32.dll_GetGraphicsMode]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xb24d3c
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
call eax
mov ecx, esp
mov dword [ecx], 0x5313f0
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [sym.imp.USER32.dll_WaitMessage]
call eax
mov dword [esp + 0x14], eax
mov eax, esp
mov dword [eax], 0xc032a1
mov eax, dword [sym.imp.KERNEL32.dll_HeapUnlock]
call eax
sub esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
add eax, 1
cmp eax, 0x55
mov dword [esp + 0x64], eax
jne 0x10001656
lea esp, [ebp - 4]
pop esi
pop ebp
ret