Function at 0x44d91b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a04ac
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4d5674]
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.00479b77
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 0x44e1e0
cmp dword [edi + 0x7c], 0
je 0x44d9a6
mov dword [esp + 0x1c], eax
call fcn.00464cca
xor esi, esi
inc esi
test eax, eax
je 0x44df2f
mov eax, dword [edi + 0x20]
push str.Button
push eax
mov dword [edi + 0x9c], esi
call dword [0x4da2f4]
test eax, eax
mov dword [esp + 0x18], eax
je 0x44df2f
lea ecx, [edi + 0x54]
mov dword [esp + 0x30], esi
call fcn.004600f3
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 0x44dac5
xor edx, edx
cmp dword [eax + 0x6c], edx
je 0x44dacc
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 0x44da58
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 [0x4da308]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
jne 0x44da91
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 0x44dad3
xor edi, edi
inc edi
xor edx, edx
jmp 0x44dacf
xor edi, edi
inc edi
mov esi, dword [esp + 0x30]
cmp dword [eax + 0x64], edx
je 0x44dae8
lea ecx, [eax + 0x58]
call fcn.004600f3
test eax, eax
mov eax, dword [esp + 0x14]
je 0x44db12
lea ecx, [eax + 0x58]
call fcn.004600f3
test eax, eax
jne 0x44db1e
mov eax, dword [esp + 0x14]
add eax, 0x54
mov eax, dword [eax]
cmp dword [eax - 0xc], 6
jl 0x44db1e
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x5c], edi
jne 0x44db22
cmp dword [eax + 0x60], 0
je 0x44db22
sub dword [esp + 0x44], 8
sub dword [esp + 0x4c], 8
jmp 0x44db22
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x2c]
test cl, 1
jne 0x44dc77
cmp dword [eax + 0xa4], 0
jne 0x44dc77
test cl, 0x40
jne 0x44dc32
cmp dword [eax + 0x98], 0
jne 0x44dc32
test cl, 0x10
mov eax, dword [ebx + 4]
je 0x44dba3
lea ecx, [esp + 0x34]
push ecx
push ecx
push 5
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4da304]
cmp dword [esp + 0x24], 0
je 0x44dcc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x44dcc9
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 5
jmp 0x44dcba
test cl, 6
lea ecx, [esp + 0x34]
push ecx
push ecx
jne 0x44dbef
push edi
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4da304]
cmp dword [esp + 0x24], 0
je 0x44dcc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x44dcc9
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push edi
jmp 0x44dcba
push 4
push edi
push eax
push dword [esp + 0x2c]
call dword [0x4da304]
cmp dword [esp + 0x24], 0
je 0x44dcc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x44dcc9
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 4
jmp 0x44dcba
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 [0x4da304]
cmp dword [esp + 0x24], 0
je 0x44dcc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x44dcc9
lea edx, [esp + 0x44]
push edx
push 0
or esi, 0x40024
push esi
push 0xffffffffffffffff
push ecx
push 2
jmp 0x44dcba
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 [0x4da304]
cmp dword [esp + 0x24], 0
je 0x44dcc9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xa8]
test ecx, ecx
je 0x44dcc9
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 [0x4da308]
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 0x44de33
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xac]
cmp ecx, edi
je 0x44dd1a
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 [0x4da308]
cmp dword [esi + 0x6c], edi
je 0x44df20
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 0x44dd72
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 [0x4da308]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
jne 0x44dda5
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 0x44ded5
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 0x44de0b
lea eax, [edx - 8]
cmp dword [esp + 0x28], edi
je 0x44dec1
mov edx, dword [esi + 0x70]
cmp edx, edi
je 0x44dec1
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push edx
push eax
jmp 0x44df15
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x6c]
cmp edx, edi
mov dword [esp + 0x2c], edx
je 0x44df20
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 0x44de8d
add esi, 0xfffffff8
lea edx, [eax - 8]
jmp 0x44de91
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x28], edi
je 0x44deaf
mov ecx, dword [ecx + 0x70]
cmp ecx, edi
je 0x44deaf
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push ecx
push edx
push esi
jmp 0x44df16
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esp + 0x40]
jmp 0x44deab
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push dword [esi + 0x6c]
jmp 0x44de2d
mov edx, dword [esi + 0x88]
sar eax, 1
cmp dword [esi + 0x7c], edi
lea edx, [edx + eax - 0xf]
je 0x44dee9
lea edx, [eax - 8]
cmp dword [esp + 0x28], edi
je 0x44df05
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x44df05
push 3
push edi
push edi
push dword [esp + 0x28]
push dword [esp + 0x2c]
push eax
jmp 0x44df14
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 [0x4da2f8]
jmp 0x44e1e0
mov eax, dword [esp + 0x2c]
and eax, esi
mov dword [esp + 0x28], eax
jne 0x44df44
cmp dword [edi + 0xa4], 0
je 0x44df4c
mov dword [esp + 0x30], 0x210
mov eax, dword [esp + 0x2c]
and eax, 0x10
mov dword [esp + 0x24], eax
je 0x44dfb7
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.00479e4c
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.00417550
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 0x44dfdf
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.004794f0
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 0x44e03b
mov eax, dword [esi + 0x5c]
cmp eax, edi
jne 0x44e02b
mov eax, dword [esp + 0x34]
add eax, 8
mov dword [esp + 0x44], eax
jmp 0x44e03b
cmp eax, 2
jne 0x44e03b
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff8
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x64], edi
je 0x44e050
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], ecx
call fcn.004600f3
test eax, eax
je 0x44e074
lea ecx, [esi + 0x58]
mov dword [esp + 0x28], ecx
call fcn.004600f3
test eax, eax
jne 0x44e07e
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], 6
jl 0x44e07e
cmp dword [esi + 0x5c], 1
jne 0x44e07e
cmp dword [esi + 0x60], edi
je 0x44e07e
sub dword [esp + 0x44], 8
sub dword [esp + 0x4c], 8
test byte [esp + 0x2c], 4
je 0x44e0f0
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 0x44e0f9
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.004600f3
test eax, eax
jne 0x44e1ac
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 0x44e1e0
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