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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, esp
mov eax, 4
call fcn.10611720
mov eax, esp
mov ecx, 8
mov dword [esi + 0x7c], eax
mov eax, ecx
call fcn.10611720
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0x100], 0
mov dword [esi + 0x78], eax
jmp 0x1000152c
mov word [esi + 0x9e], 0x58
movzx eax, word [esi + 0x9e]
sub esp, 4
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.USER32.dll_IsCharAlphaW]
call eax
mov ecx, dword [esi + 0x100]
mov edx, 0xcc29786d
mov dword [esi + 0x74], eax
mov eax, ecx
mul edx
shr edx, 8
imul eax, edx, 0x141
sub ecx, eax
mov eax, ecx
sub eax, 1
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
je 0x1000154c
jmp 0x100013d3
mov eax, dword [esi + 0x70]
sub eax, 0x45
mov dword [esi + 0x68], eax
je 0x10001499
jmp 0x1000163e
jmp 0x10001662
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x3e4
mov dword [eax], 0xf1f370
mov eax, dword [sym.imp.GDI32.dll_SetTextCharacterExtra]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0xc8c72
mov ecx, dword [sym.imp.GDI32.dll_GetPixelFormat]
mov dword [esi + 0x64], eax
call ecx
mov dword [esi + 0x60], eax
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0xfae
mov dword [eax + 4], 0xfae
mov dword [eax], 0x8f403a
mov eax, dword [sym.imp.GDI32.dll_CreateDiscardableBitmap]
call eax
sub esp, 0x10
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 [esi + 0x5c], eax
call ecx
mov dword [esi + 0xec], 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], edx
jmp 0x100015b0
mov eax, dword [esi + 0xec]
add eax, 1
mov dword [esi + 0xec], eax
jmp 0x100015b0
jmp 0x10001671
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0xc2b
mov dword [eax], 0x94512
mov eax, dword [sym.imp.USER32.dll_GetGuiResources]
call eax
lea ecx, [esi + 0x88]
xor edx, edx
mov edi, 0x14
mov ebx, ecx
sub esp, 0xc
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], edi
call fcn.10611750
add esp, 0xc
mov eax, dword [esi + 0x4c]
sub esp, 4
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
call eax
sub esp, 0x10
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 [esi + 0x40], eax
call ecx
mov dword [esi + 0x3c], eax
jmp 0x1000154c
cmp dword [esi + 0x100], 0xe5
setne al
mov byte [esi + 0x3b], al
mov al, byte [esi + 0x3b]
test al, 1
jne 0x100013ec
jmp 0x100016b1
mov eax, dword [sym.imp.ADVAPI32.dll_RevertToSelf]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x804c13
mov ecx, dword [sym.imp.ADVAPI32.dll_IsTokenRestricted]
mov dword [esi + 0x34], eax
call ecx
mov dword [esi + 0x84], 0xc84
mov dword [esi + 0x80], 0x835
sub esp, 0x10
mov ecx, esp
lea edx, [esi + 0x80]
mov dword [ecx + 0xc], edx
lea edx, [esi + 0x84]
mov dword [ecx + 8], edx
mov dword [ecx + 4], edx
mov dword [ecx], 0xf3d85b
mov ecx, dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [esi + 0x30], eax
call ecx
mov dword [esi + 0x2c], eax
jmp 0x10001671
cmp dword [esi + 0xec], 0x143
je 0x10001385
mov eax, dword [esi + 0xec]
mov ecx, 0x38e38e39
mov dword [esi + 0x28], eax
mul ecx
shr edx, 2
imul eax, edx, 0x12
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], eax
je 0x10001615
jmp 0x100015ea
mov eax, dword [esi + 0x24]
sub eax, 5
mov dword [esi + 0x1c], eax
jne 0x10001639
jmp 0x100015f7
sub esp, 8
mov eax, esp
lea ecx, [esi + 0xa8]
mov dword [eax + 4], ecx
mov dword [eax], 0x9bf7e0
mov eax, dword [sym.imp.USER32.dll_BeginPaint]
call eax
mov dword [esi + 0x18], eax
sub esp, 4
mov eax, esp
lea ecx, [esi + 0xa0]
mov dword [eax], ecx
mov eax, dword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
call eax
mov ecx, dword [sym.imp.USER32.dll_WaitMessage]
mov dword [esi + 0x14], eax
call ecx
mov dword [esi + 0x10], eax
jmp 0x10001639
jmp 0x1000147e
mov eax, dword [esi + 0x7c]
mov dword [eax], 0
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, dword [esi + 0xc]
cmp eax, 0xa
jne 0x100013e7
jmp 0x10001494
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x10001647
sub esp, 0x14
mov eax, esp
mov ecx, dword [esi + 0x78]
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
mov dword [esi + 8], eax
mov eax, dword [esi + 0x100]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
mov dword [esi + 0x100], eax
jmp 0x1000152c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret