Function at 0x10001350
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 0x1000142d
jmp 0x10001682
mov eax, dword [esp + 0x10c]
add eax, 1
mov dword [esp + 0x10c], eax
jmp 0x1000142d
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 + 0x7c], eax
call ecx
mov dword [esp + 0x78], eax
jmp 0x1000140d
jmp 0x1000169a
cmp dword [esp + 0x8c], 0xa
jne 0x1000136e
jmp 0x100013b2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, 0x12
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x74], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x74]
div ecx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x70]
sub eax, 5
mov dword [esp + 0x6c], eax
je 0x100014d3
jmp 0x100013fe
mov eax, dword [esp + 0x70]
sub eax, 7
mov dword [esp + 0x68], eax
je 0x1000138b
jmp 0x1000140d
jmp 0x100014f8
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
cmp eax, 0x143
jne 0x100013cd
jmp 0x10001510
cmp dword [esp + 0x10c], 0xe5
je 0x100013c6
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 0x10001412
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 + 0x4c], eax
jmp 0x1000138b
mov eax, dword [esp + 0xfc]
add eax, 1
mov dword [esp + 0xfc], eax
jmp 0x10001412
mov word [esp + 0xae], 0x58
movzx eax, word [esp + 0xae]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.USER32.dll_IsCharAlphaW]
call eax
sub esp, 4
mov ecx, dword [esp + 0x10c]
mov edx, 0xcc29786d
mov dword [esp + 0x48], 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 + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x1000160a
jmp 0x10001564
mov eax, dword [esp + 0x44]
sub eax, 0x45
mov dword [esp + 0x3c], eax
jne 0x10001672
jmp 0x10001577
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 + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], esi
call fcn.1058f3d0
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 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 + 0x28], eax
call ecx
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 + 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 + 0x1c], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x1000169a
mov dword [esp + 0x8c], 0
jmp 0x100013b7
mov eax, dword [esp + 0x8c]
add eax, 1
mov dword [esp + 0x8c], eax
jmp 0x100013b7
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
jmp 0x10001373