Function at 0x10010e20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100a7914]
xor eax, ebp
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x130], 0
push 0x90
push 0
lea ecx, [ebp - 0x12c]
push ecx
call fcn.10029e70
add esp, 0xc
mov dword [ebp - 0x130], 0x94
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.10015900
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x1024
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x12c], 5
jne 0x10010ebc
cmp dword [ebp - 0x128], 1
jae 0x10010ec9
cmp dword [ebp - 0x12c], 6
jne 0x10010f81
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x10010f81
push str.IsAppThemed
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
push str.IsThemeActive
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x80], 0
je 0x10010f81
cmp dword [ebp - 0x4c], 0
je 0x10010f81
call dword [ebp - 0x80]
test eax, eax
je 0x10010f77
call dword [ebp - 0x4c]
test eax, eax
je 0x10010f77
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x10010f77
push str.DllGetVersion
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10010f6d
mov dword [ebp - 0x1c], 0x14
lea ecx, [ebp - 0x1c]
push ecx
call dword [ebp - 0x40]
test eax, eax
jne 0x10010f6d
cmp dword [ebp - 0x18], 6
jb 0x10010f6d
mov dword [0x100abef8], 1
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10ac], 0
jne 0x10010f9b
call fcn.10015430
mov edx, dword [ebp - 8]
mov dword [edx + 0x10ac], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10b0], 0
jne 0x10010fb5
call fcn.10015430
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10b0], eax
push 0
push 0
push 0x31
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x34], 0
jmp 0x10010fdd
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1001150e
cmp dword [ebp - 0x12c], 6
jne 0x100110f4
cmp dword [ebp - 0x128], 0
jne 0x100110f4
cmp dword [0x100abef8], 1
jne 0x100110f4
cmp dword [ebp + 0xc], 0x110
jne 0x100110ef
push 0
push 3
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
movzx eax, word [edx + ecx*8 + 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [ebp - 0x138], eax
push 0
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + eax*8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100110c2
push 0
push 0
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
push 1
push 0xf7
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + edx*8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x100110ef
push 0
push 3
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
push 1
push 0xf7
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + ecx*8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x10011509
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + edx*8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx*4 + 0x100abcf8], 0
jne 0x1001114a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + edx*8 + 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx*4 + 0x100abcf8], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx*4 + 0x100abcf8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10ac]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x70]
push ecx
push 0x18
mov edx, dword [ebp - 0x34]
mov eax, dword [edx*4 + 0x100abcf8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x6c]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
cmp eax, dword [edx + ecx*8]
jne 0x10011212
mov eax, dword [ebp + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
cmp ecx, 0x201
jne 0x10011204
cmp dword [0x100abef8], 0
jne 0x100111f4
mov edx, dword [ebp - 0x34]
mov dword [edx*4 + 0x100abaf8], 1
jmp 0x10011202
mov eax, dword [ebp - 0x34]
mov dword [eax*4 + 0x100abaf8], 0
jmp 0x10011212
mov ecx, dword [ebp - 0x34]
mov dword [ecx*4 + 0x100abaf8], 0
push 0x100
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + eax*8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea ecx, [ebp - 0x70]
push ecx
push 0x18
mov edx, dword [ebp - 0x34]
mov eax, dword [edx*4 + 0x100abcf8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x6c]
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x58]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ebp - 0x78]
sub eax, 2
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x13c], eax
cmp dword [0x100abef8], 0
jne 0x100113a0
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x8c], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10b0]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10b0]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x44]
add eax, 1
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 1
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10b0]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x90]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10b0]
push ecx
mov edx, dword [ebp - 0x44]
add edx, 1
push edx
mov eax, dword [ebp - 0x78]
add eax, 1
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + ecx*8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1001145e
push 0x8800c6
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10ac]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x13c]
add edx, dword [ecx*4 + 0x100abaf8]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x84]
add ecx, dword [eax*4 + 0x100abaf8]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x660046
push 0
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10ac]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x13c]
add edx, dword [ecx*4 + 0x100abaf8]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x84]
add ecx, dword [eax*4 + 0x100abaf8]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x100114f8
push 0x8800c6
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10ac]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x13c]
add eax, dword [edx*4 + 0x100abaf8]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x84]
add edx, dword [ecx*4 + 0x100abaf8]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x660046
push 0
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10ac]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x13c]
add ecx, dword [eax*4 + 0x100abaf8]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x84]
add eax, dword [edx*4 + 0x100abaf8]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x10010fd4
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.10029d6b
mov esp, ebp
pop ebp
ret