Function at 0x100012b0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov dword [esp + 0x10c], 0
jmp 0x10001471
mov eax, esp
lea ecx, [esp + 0xb8]
mov dword [eax + 4], ecx
mov dword [eax], 0x9bf7e0
mov eax, dword [sym.imp.USER32.dll_BeginPaint]
call eax
sub esp, 8
mov dword [esp + 0x7c], eax
jmp 0x1000135b
mov eax, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
call eax
mov ecx, esp
mov dword [ecx], 0x804c13
mov ecx, dword [sym.imp.ADVAPI32.dll_IsTokenRestricted]
mov dword [esp + 0x78], eax
call ecx
sub esp, 4
mov dword [esp + 0x94], 0xc84
mov dword [esp + 0x90], 0x835
mov ecx, esp
lea edx, [esp + 0x90]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x94]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov dword [ecx], 0xf3d85b
mov ecx, dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x70], eax
jmp 0x100015e9
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax], ecx
mov eax, dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
call eax
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_WaitMessage]
mov dword [esp + 0x6c], eax
call ecx
mov dword [esp + 0x68], eax
jmp 0x1000146c
mov dword [esp + 0x8c], 0
jmp 0x100015d6
mov eax, dword [esp + 0x8c]
add eax, 1
mov dword [esp + 0x8c], eax
jmp 0x100015d6
mov eax, dword [esp + 0xfc]
add eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xfc], eax
jmp 0x10001487
jmp 0x10001395
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, esp
mov dword [eax + 4], 0x3e4
mov dword [eax], 0xf1f370
mov eax, dword [sym.imp.GDI32.dll_SetTextCharacterExtra]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xc8c72
mov ecx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esp + 0x60], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0xfae
mov dword [ecx + 4], 0xfae
mov dword [ecx], 0x8f403a
mov ecx, dword [sym.imp.GDI32.dll_CreateDiscardableBitmap]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0xc], 7
mov dword [ecx + 8], 0x6ec
mov dword [ecx + 4], 0
mov dword [ecx], 0x2c1082
mov ecx, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [esp + 0x58], eax
call ecx
sub esp, 0x10
mov dword [esp + 0xfc], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
jmp 0x10001487
jmp 0x100013ad
cmp dword [esp + 0x10c], 0xe5
jne 0x100013d6
jmp 0x100013cf
cmp dword [esp + 0xfc], 0x143
je 0x100014da
mov eax, dword [esp + 0xfc]
mov ecx, 0x38e38e39
mov dword [esp + 0x4c], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
je 0x100012ce
jmp 0x100014c7
mov eax, dword [esp + 0x48]
sub eax, 7
mov dword [esp + 0x40], eax
je 0x1000135b
jmp 0x1000146c
mov word [esp + 0xae], 0x58
mov ax, word [esp + 0xae]
movzx ecx, ax
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaW]
call ecx
sub esp, 4
mov ecx, 0x141
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x3c], eax
mov eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
sub eax, 1
mov dword [esp + 0x34], eax
je 0x100012f0
jmp 0x1000152b
mov eax, dword [esp + 0x38]
sub eax, 0x45
mov dword [esp + 0x30], eax
jne 0x10001385
jmp 0x1000153e
mov eax, esp
mov dword [eax + 4], 0xc2b
mov dword [eax], 0x94512
mov eax, dword [sym.imp.USER32.dll_GetGuiResources]
call eax
sub esp, 8
lea ecx, [esp + 0x98]
xor edx, edx
mov esi, 0x14
mov edi, ecx
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], esi
call fcn.10581320
mov eax, dword [esp + 0x28]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 0xc], 0x977
mov dword [ecx + 8], 0xfe2
mov dword [ecx + 4], 0x30
mov dword [ecx], 0x64d
mov ecx, dword [sym.imp.GDI32.dll_CreateEllipticRgn]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x100012f0
cmp dword [esp + 0x8c], 0xa
jne 0x100013cd
jmp 0x100015e9
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], 0x3bd8aa
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessTimes]
call eax
sub esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10c]
add eax, 1
mov dword [esp + 0x10c], eax
jmp 0x10001471