Function at 0x10001340
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, 0x118
mov dword [esp + 0x114], 0
jmp 0x100014e9
mov eax, dword [esp + 0x114]
add eax, 1
mov dword [esp + 0x114], eax
jmp 0x100014e9
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 + 0x84], 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 + 0x80], 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 + 0x7c], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x104], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], edx
jmp 0x1000150c
mov eax, dword [esp + 0x94]
add eax, 1
mov dword [esp + 0x94], eax
jmp 0x10001462
jmp 0x100016b5
mov eax, esp
lea ecx, [esp + 0xc0]
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 + 0x70], eax
jmp 0x1000156a
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
jmp 0x10001415
jmp 0x10001594
cmp dword [esp + 0x94], 0xa
jne 0x1000145b
jmp 0x1000142a
mov word [esp + 0xb6], 0x58
mov ax, word [esp + 0xb6]
mov word [esp + 0x6e], ax
mov ax, word [esp + 0x6e]
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, dword [esp + 0x114]
mov edx, 0xcc29786d
mov dword [esp + 0x68], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
je 0x1000163e
jmp 0x100014d3
mov eax, dword [esp + 0x64]
sub eax, 0x45
mov dword [esp + 0x5c], eax
je 0x100015ac
jmp 0x100016a5
cmp dword [esp + 0x114], 0xe5
setne al
mov byte [esp + 0x5b], al
mov al, byte [esp + 0x5b]
test al, 1
jne 0x10001376
jmp 0x10001454
mov eax, dword [esp + 0x104]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x143
je 0x10001471
mov eax, 0x12
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x50], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x50]
div ecx
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
sub eax, 5
mov dword [esp + 0x48], eax
je 0x1000142f
jmp 0x10001557
mov eax, dword [esp + 0x4c]
sub eax, 7
mov dword [esp + 0x44], eax
jne 0x1000145d
jmp 0x1000156a
mov eax, esp
lea ecx, [esp + 0xb8]
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 + 0x40], eax
call ecx
mov dword [esp + 0x3c], eax
jmp 0x1000145d
mov eax, dword [esp + 0x104]
add eax, 1
mov dword [esp + 0x104], eax
jmp 0x1000150c
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 + 0xa0]
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 + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], esi
call fcn.105d9650
mov eax, dword [esp + 0x34]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
mov eax, esp
mov dword [eax + 0xc], 0x977
mov dword [eax + 8], 0xfe2
mov dword [eax + 4], 0x30
mov dword [eax], 0x64d
mov eax, dword [sym.imp.GDI32.dll_CreateEllipticRgn]
call eax
sub esp, 0x10
mov dword [esp + 0x24], eax
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 + 0x20], eax
call ecx
sub esp, 4
mov dword [esp + 0x9c], 0xc84
mov dword [esp + 0x98], 0x835
mov dword [esp + 0x1c], eax
mov eax, esp
lea ecx, [esp + 0x98]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x9c]
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], 0xf3d85b
mov eax, dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
call eax
sub esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x100016b5
mov dword [esp + 0x94], 0
jmp 0x10001462
mov eax, esp
lea ecx, [esp + 0x88]
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
jmp 0x1000135e