Function at 0x444aef
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495b26
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4c7674]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
call ebx
lea eax, [esi + 0x1c]
push eax
lea eax, [esp + 0x58]
push eax
call ebx
push dword [esi + 0x18]
call fcn.0046f37e
and dword [esp + 0x28], 0
mov ebx, eax
test ebx, ebx
mov eax, dword [esi + 0x10]
push 0x10
mov dword [esp + 0x30], eax
pop eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], 0x20
je 0x4453b4
cmp dword [edi + 0x7c], 0
je 0x444b7a
mov dword [esp + 0x1c], eax
call fcn.0045a351
xor esi, esi
inc esi
test eax, eax
je 0x445103
mov eax, dword [edi + 0x20]
push 0x4ae0a8
push eax
mov dword [edi + 0x9c], esi
call dword [0x4cc294]
test eax, eax
mov dword [esp + 0x18], eax
je 0x445103
lea ecx, [edi + 0x54]
mov dword [esp + 0x30], esi
call fcn.00456b20
lea esi, [esp + 0x34]
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
neg eax
sbb eax, eax
movsd dword es:[edi], dword [esi]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
je 0x444c99
xor edx, edx
cmp dword [eax + 0x6c], edx
je 0x444ca0
mov ecx, dword [eax + 0xa8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
lea esi, [esp + 0x74]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
inc edi
cmp ecx, edx
je 0x444c2c
mov eax, dword [ebx + 4]
lea esi, [esp + 0x54]
push esi
push edx
push 0x420
push 0xffffffffffffffff
push ecx
push 3
push edi
push eax
push dword [esp + 0x38]
call dword [0x4cc2a8]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
jne 0x444c65
mov eax, dword [ebx]
push 0xc
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx]
push 0x420
add eax, 0x54
mov eax, dword [eax]
lea ecx, [esp + 0x58]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 0x80]
add eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x3c]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub eax, ecx
add eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
xor edx, edx
xor esi, esi
jmp 0x444ca7
xor edi, edi
inc edi
xor edx, edx
jmp 0x444ca3
xor edi, edi
inc edi
mov esi, dword [esp + 0x30]
cmp dword [eax + 0x64], edx
je 0x444cbc
lea ecx, [eax + 0x58]
call fcn.00456b20
test eax, eax
mov eax, dword [esp + 0x14]
je 0x444ce6
lea ecx, [eax + 0x58]
call fcn.00456b20
test eax, eax
jne 0x444cf2
mov eax, dword [esp + 0x14]
add eax, 0x54
mov eax, dword [eax]
cmp dword [eax - 0xc], 6
jl 0x444cf2
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x5c], edi
jne 0x444cf6
cmp dword [eax + 0x60], 0
je 0x444cf6
sub dword [esp + 0x44], 8
sub dword [esp + 0x4c], 8
jmp 0x444cf6
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x2c]
test cl, 1
jne 0x444e4b
cmp dword [eax + 0xa4], 0
jne 0x444e4b
test cl, 0x40
jne 0x444e06
cmp dword [eax + 0x98], 0
jne 0x444e06
test cl, 0x10
mov eax, dword [ebx + 4]
je 0x444d77
lea ecx, [esp + 0x34]
push ecx
push ecx
push 5
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4cc2a4]
cmp dword [esp + 0x24], 0
je 0x444e9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x444e9d
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 5
jmp 0x444e8e
test cl, 6
lea ecx, [esp + 0x34]
push ecx
push ecx
jne 0x444dc3
push edi
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4cc2a4]
cmp dword [esp + 0x24], 0
je 0x444e9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x444e9d
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push edi
jmp 0x444e8e
push 4
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4cc2a4]
cmp dword [esp + 0x24], 0
je 0x444e9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x444e9d
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 4
jmp 0x444e8e
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x34]
push ecx
push ecx
push 2
push edi
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x40], edi
call dword [0x4cc2a4]
cmp dword [esp + 0x24], 0
je 0x444e9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x444e9d
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 2
jmp 0x444e8e
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x34]
push ecx
push ecx
push 3
push edi
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x40], edi
call dword [0x4cc2a4]
cmp dword [esp + 0x24], 0
je 0x444e9d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x444e9d
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 3
mov eax, dword [ebx + 4]
push edi
push eax
push dword [esp + 0x38]
call dword [0x4cc2a8]
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x34]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [esp + 0x24], edi
lea ecx, [eax - 8]
mov dword [esp + 0x6c], ecx
je 0x445007
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xac]
cmp ecx, edi
je 0x444eee
mov eax, dword [ebx + 4]
lea edx, [esp + 0x64]
push edx
push edi
push 0x40026
push 0xffffffffffffffff
push ecx
push 4
push 1
push eax
push dword [esp + 0x38]
call dword [0x4cc2a8]
cmp dword [esi + 0x6c], edi
je 0x4450f4
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
lea esi, [esp + 0x74]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xa8]
xor edi, edi
cmp ecx, edi
je 0x444f46
mov eax, dword [ebx + 4]
lea edx, [esp + 0x54]
push edx
push edi
push 0x420
push 0xffffffffffffffff
push ecx
push 3
push 1
push eax
push dword [esp + 0x38]
call dword [0x4cc2a8]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
jne 0x444f79
mov eax, dword [ebx]
push 0xc
mov ecx, ebx
call dword [eax + 0x24]
mov eax, dword [esi + 0x54]
mov edx, dword [ebx]
push 0x420
lea ecx, [esp + 0x58]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov eax, dword [esi + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x30], eax
lea eax, [ecx + edx]
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x30]
sar ecx, 1
sub ecx, eax
mov eax, dword [esp + 0x40]
add eax, edx
cdq
sub eax, edx
cmp dword [esi + 0x84], edi
jle 0x4450a9
mov dword [esp + 0x2c], eax
sar dword [esp + 0x2c], 1
mov eax, dword [esi + 0x88]
add eax, dword [esi + 0x84]
cmp dword [esi + 0x7c], edi
mov edx, dword [esp + 0x2c]
lea eax, [eax + edx - 0xf]
je 0x444fdf
lea eax, [edx - 8]
cmp dword [esp + 0x28], edi
je 0x445095
mov edx, dword [esi + 0x70]
cmp edx, edi
je 0x445095
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push edx
push eax
jmp 0x4450e9
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x6c]
cmp edx, edi
mov dword [esp + 0x2c], edx
je 0x4450f4
mov edx, dword [esp + 0x34]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [ecx + 0x8c]
sar esi, 1
lea eax, [eax + esi - 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
add eax, edx
cdq
sub eax, edx
mov edx, dword [ecx + 0x88]
add edx, dword [ecx + 0x84]
sar eax, 1
cmp dword [ecx + 0x7c], edi
lea edx, [edx + eax - 0xf]
je 0x445061
add esi, 0xfffffff8
lea edx, [eax - 8]
jmp 0x445065
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
je 0x445083
mov ecx, dword [ecx + 0x70]
cmp ecx, edi
je 0x445083
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push ecx
push edx
push esi
jmp 0x4450ea
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esp + 0x40]
jmp 0x44507f
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esi + 0x6c]
jmp 0x445001
mov edx, dword [esi + 0x88]
sar eax, 1
cmp dword [esi + 0x7c], edi
lea edx, [edx + eax - 0xf]
je 0x4450bd
lea edx, [eax - 8]
cmp dword [esp + 0x28], edi
je 0x4450d9
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x4450d9
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push eax
jmp 0x4450e8
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esi + 0x6c]
push edx
push ecx
mov ebx, dword [ebx + 4]
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x18]
call dword [0x4cc298]
jmp 0x4453b4
mov eax, dword [esp + 0x2c]
and eax, esi
mov dword [esp + 0x28], eax
jne 0x445118
cmp dword [edi + 0xa4], 0
je 0x445120
mov dword [esp + 0x30], 0x210
mov eax, dword [esp + 0x2c]
and eax, 0x10
mov dword [esp + 0x24], eax
je 0x44518b
and dword [esp + 0x20], 0
mov edi, vtable.CBrush.0
mov dword [esp + 0x1c], edi
and dword [esp + 0x90], 0
push 0x15
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea ecx, [esp + 0x20]
call fcn.0046f653
push dword [esp + 0x20]
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_FrameRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
or dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004172c3
push dword [esp + 0x30]
lea eax, [esp + 0x38]
push 4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFrameControl]
cmp dword [esp + 0x28], 0
je 0x4451b3
push esi
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebx]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebx
call dword [edi + 0x30]
push esi
mov ecx, ebx
call fcn.0046ecf7
mov eax, dword [ebx]
push 0xc
mov ecx, ebx
call dword [eax + 0x24]
lea esi, [esp + 0x34]
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x60], edi
je 0x44520f
mov eax, dword [esi + 0x5c]
cmp eax, edi
jne 0x4451ff
mov eax, dword [esp + 0x34]
add eax, 8
mov dword [esp + 0x44], eax
jmp 0x44520f
cmp eax, 2
jne 0x44520f
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff8
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x64], edi
je 0x445224
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], ecx
call fcn.00456b20
test eax, eax
je 0x445248
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], ecx
call fcn.00456b20
test eax, eax
jne 0x445252
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], 6
jl 0x445252
cmp dword [esi + 0x5c], 1
jne 0x445252
cmp dword [esi + 0x60], edi
je 0x445252
sub dword [esp + 0x44], 8
sub dword [esp + 0x4c], 8
test byte [esp + 0x2c], 4
je 0x4452c4
push 1
push 1
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [ebx]
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebx
call dword [edi + 0x30]
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x54]
mov edx, dword [ebx]
mov edi, 0x824
or ecx, edi
push ecx
lea ecx, [esp + 0x48]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx]
push 0x11
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [esp + 0x34]
mov ecx, ebx
call dword [eax + 0x30]
mov ecx, dword [esi + 0x5c]
or ecx, edi
jmp 0x4452cd
mov ecx, dword [esi + 0x5c]
or ecx, 0x824
mov eax, dword [esi + 0x54]
mov edx, dword [ebx]
push ecx
lea ecx, [esp + 0x48]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
mov ecx, dword [esp + 0x28]
call fcn.00456b20
test eax, eax
jne 0x445380
mov eax, dword [esp + 0x3c]
lea esi, [esp + 0x34]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xfffffff8
push 1
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], eax
push 1
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [ebx]
push 0x14
call edi
push eax
mov ecx, ebx
call dword [esi + 0x30]
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, dword [ebx]
mov esi, 0x826
push esi
lea ecx, [esp + 0x68]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx]
push 0x11
mov dword [esp + 0x34], eax
call edi
push eax
mov eax, dword [esp + 0x34]
mov ecx, ebx
call dword [eax + 0x30]
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov edx, dword [ebx]
push esi
lea ecx, [esp + 0x68]
push ecx
push dword [eax - 0xc]
mov ecx, ebx
push eax
call dword [edx + 0x68]
cmp dword [esp + 0x24], 0
je 0x4453b4
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [ebx]
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, ebx
call dword [esi + 0x30]
lea eax, [esp + 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4