Function at 0x463cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x463cf0
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call esi
push 0xffffffffffffffec
push dword [ebx + 0x1c]
mov dword [ebx + 0x68], eax
call esi
mov dword [ebx + 0x6c], eax
mov esi, dword [ebp + 8]
mov edx, dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
movzx eax, word [esi]
mov dword [esp + 0x38], edx
mov edx, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], edx
test ax, ax
je 0x46471d
mov ecx, eax
mov eax, dword [sym.imp.USER32.dll_IsWindow]
mov dword [esp + 0x4c], eax
mov eax, dword [sym.imp.USER32.dll_SetParent]
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x30], eax
nop dword [eax]
cmp cx, 0x2d
jne 0x463d6d
mov byte [esp + 0xf], 0
jmp 0x463d7b
mov byte [esp + 0xf], 1
movzx eax, cx
cmp cx, 0x2b
jne 0x463d82
movzx eax, word [esi + 2]
add esi, 2
test ax, ax
je 0x464715
mov dword [esp + 0x20], esi
test esi, esi
je 0x463ddc
movzx edi, ax
nop word [eax + eax]
mov ecx, 0x4c678c
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x463e7f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x463db0
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
movzx eax, word [eax]
mov edi, eax
test ax, ax
jne 0x463da0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463de1
sub ecx, edx
sar ecx, 1
lea eax, [esi + ecx*2]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x463eae
movzx ecx, word [eax]
push 5
mov dword [esp + 0x14], ecx
xor ecx, ecx
push str.Owner
push esi
mov word [eax], cx
call fcn.00497b0e
add esp, 0xc
test eax, eax
sete cl
mov byte [esp + 0x17], cl
test eax, eax
je 0x464591
push 6
push str.Parent
push esi
call fcn.00497b0e
add esp, 0xc
test eax, eax
je 0x46458d
push str.AlwaysOnTop
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463ec6
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x463e8d
push 0x13
push eax
push eax
push eax
push eax
movzx eax, byte [esp + 0x23]
sub eax, 2
push eax
push ecx
call dword [esp + 0x60]
cmp byte [esp + 0xf], 0
je 0x463e88
or dword [esp + 0x24], 8
jmp 0x463e8d
mov eax, dword [esp + 0x20]
jmp 0x463df7
and dword [esp + 0x24], 0xfffffff7
mov ecx, dword [ebx + 0x6c]
mov eax, ecx
and eax, 0xfffffff7
or ecx, 8
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x6c], ecx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov word [eax], di
mov esi, eax
movzx eax, word [esi]
cmp eax, 0x20
je 0x463ec1
cmp eax, 9
jne 0x46470a
add esi, 2
jmp 0x463eb0
push str.Border
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463ef5
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xff7fffff
or ecx, 0x800000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.Caption
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463f27
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xff3fffff
or ecx, 0xc00000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.Disabled
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463f87
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x463f67
movzx eax, byte [esp + 0xf]
xor eax, 1
push eax
push ecx
call dword [esp + 0x50]
cmp byte [esp + 0xf], 0
je 0x463f5f
or dword [esp + 0x2c], 0x8000000
jmp 0x463f67
and dword [esp + 0x2c], 0xf7ffffff
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xf7ffffff
or ecx, 0x8000000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.LastFound
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463fa4
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x463ea3
push str.MaximizeBox
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x463fd6
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xfffeffff
or ecx, 0x90000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.MinimizeBox
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x464008
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xfffdffff
or ecx, 0xa0000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push 7
push str.MinSize
push esi
call fcn.00497b0e
add esp, 0xc
test eax, eax
jne 0x4641c2
add esi, 0xe
cmp byte [esp + 0xf], al
je 0x4641a9
movzx eax, word [esi]
mov cl, byte [ebx + 0xc1]
mov edx, eax
test ax, ax
je 0x46415f
test cl, cl
je 0x46405b
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
jmp 0x4640a8
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x3c]
lea eax, [esp + 0x90]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x98]
sub edx, dword [esp + 0x9c]
sub ecx, dword [esp + 0x50]
movzx eax, word [esi]
sub edx, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
test ax, ax
je 0x464123
movzx edi, ax
nop dword [eax + eax]
mov ecx, 0x4cfff0
mov edx, 0x58
nop word [eax + eax]
cmp di, dx
je 0x4640ea
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4640c0
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov edi, eax
test ax, ax
jne 0x4640b0
jmp 0x464127
mov edi, dword [esp + 0x18]
cmp word [edi + 2], 0
lea eax, [edi + 2]
je 0x464129
push eax
call fcn.0049974b
add esp, 4
cmp byte [ebx + 0xc6], 0
je 0x464117
push 0x60
push dword [0x4dcd38]
push eax
call dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
mov dword [ebx + 0xb0], eax
jmp 0x464129
mov dword [esp + 0x28], ecx
xor edi, edi
cmp edi, esi
je 0x463ea3
push esi
call fcn.0049974b
add esp, 4
cmp byte [ebx + 0xc6], 0
je 0x464150
push 0x60
push dword [0x4dcd38]
push eax
call dword [esp + 0x3c]
add eax, dword [esp + 0x28]
mov dword [ebx + 0xac], eax
jmp 0x463ea3
test cl, cl
je 0x46417c
mov dword [ebx + 0xac], VariantCopy
mov dword [ebx + 0xb0], VariantCopy
jmp 0x463ea3
lea eax, [esp + 0x60]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
mov dword [ebx + 0xac], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov dword [ebx + 0xb0], eax
jmp 0x463ea3
mov dword [ebx + 0xac], VariantCopy
mov dword [ebx + 0xb0], VariantCopy
jmp 0x463ea3
push 7
push str.MaxSize
push esi
call fcn.00497b0e
add esp, 0xc
test eax, eax
jne 0x464391
add esi, 0xe
cmp byte [esp + 0xf], al
je 0x464378
movzx eax, word [esi]
mov cl, byte [ebx + 0xc1]
mov edx, eax
test ax, ax
je 0x46431f
test cl, cl
je 0x464215
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], esi
jmp 0x464266
lea eax, [esp + 0x70]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x3c]
lea eax, [esp + 0xa0]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub ecx, dword [esp + 0xa8]
sub edx, dword [esp + 0xac]
sub ecx, dword [esp + 0x70]
movzx eax, word [esi]
sub edx, dword [esp + 0x74]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
test ax, ax
je 0x4642e3
movzx edi, ax
nop dword [eax]
mov ecx, 0x4cfff0
mov edx, 0x58
nop word [eax + eax]
cmp di, dx
je 0x4642aa
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x464280
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov edi, eax
test ax, ax
jne 0x464270
jmp 0x4642e7
mov edi, dword [esp + 0x18]
cmp word [edi + 2], 0
lea eax, [edi + 2]
je 0x4642e9
push eax
call fcn.0049974b
add esp, 4
cmp byte [ebx + 0xc6], 0
je 0x4642d7
push 0x60
push dword [0x4dcd38]
push eax
call dword [esp + 0x3c]
add eax, dword [esp + 0x1c]
mov dword [ebx + 0xb8], eax
jmp 0x4642e9
mov dword [esp + 0x28], ecx
xor edi, edi
cmp edi, esi
je 0x463ea3
push esi
call fcn.0049974b
add esp, 4
cmp byte [ebx + 0xc6], 0
je 0x464310
push 0x60
push dword [0x4dcd38]
push eax
call dword [esp + 0x3c]
add eax, dword [esp + 0x28]
mov dword [ebx + 0xb4], eax
jmp 0x463ea3
test cl, cl
je 0x46433c
mov dword [ebx + 0xb4], VariantCopy
mov dword [ebx + 0xb8], VariantCopy
jmp 0x463ea3
lea eax, [esp + 0x80]
push eax
push dword [ebx + 0x1c]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x80]
mov dword [ebx + 0xb4], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov dword [ebx + 0xb8], eax
jmp 0x463ea3
mov dword [ebx + 0xb4], VariantCopy
mov dword [ebx + 0xb8], VariantCopy
jmp 0x463ea3
push str.OwnDialogs
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x4643b6
movzx eax, byte [esp + 0xf]
mov ecx, dword [ebp + 0x10]
xor eax, 1
inc eax
mov dword [ecx], eax
jmp 0x463ea3
push str.Resize
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x4643e8
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xfffaffff
or ecx, 0x50000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.SysMenu
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x46441a
mov ecx, dword [ebx + 0x68]
mov eax, ecx
and eax, 0xfff7ffff
or ecx, 0x80000
cmp byte [esp + 0xf], 0
cmove ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
push str.Theme
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x46443b
mov al, byte [esp + 0xf]
mov byte [ebx + 0xc0], al
jmp 0x463ea3
push str.ToolWindow
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x464462
mov ecx, dword [ebx + 0x6c]
mov eax, ecx
and eax, 0xffffff7f
or ecx, 0x80
jmp 0x463e98
push str.DPIScale
push esi
call fcn.004979b3
add esp, 8
test eax, eax
jne 0x464483
mov al, byte [esp + 0xf]
mov byte [ebx + 0xc6], al
jmp 0x463ea3
movzx edi, word [esi]
test edi, 0xffffff80
jne 0x46449e
push edi
call fcn.00498650
add esp, 4
test eax, eax
je 0x46449e
and edi, 0xffffffdf
xor edx, edx
push ecx
push edx
cmp di, 0x45
jne 0x4644e8
push edx
lea ecx, [esi + 2]
call fcn.0047a5e0
add esp, 0xc
test eax, eax
je 0x463ea3
lea ecx, [esi + 2]
call fcn.0047b060
cmp byte [esp + 0xf], 0
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x10]
je 0x4644dc
or ecx, eax
mov dword [ebx + 0x6c], ecx
jmp 0x463ea7
not eax
and eax, ecx
mov dword [ebx + 0x6c], eax
jmp 0x463ea7
push 1
mov ecx, esi
call fcn.0047a5e0
add esp, 0xc
test eax, eax
je 0x46451f
mov ecx, esi
call fcn.0047b060
cmp byte [esp + 0xf], 0
mov ecx, dword [ebx + 0x68]
je 0x464513
or ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
not eax
and ecx, eax
mov dword [ebx + 0x68], ecx
jmp 0x463ea3
mov ecx, dword [esp + 0x20]
mov eax, dword [0x4d78c8]
mov edi, dword [esp + 0x10]
mov word [ecx], di
xor ecx, ecx
mov eax, dword [eax + 0x34]
cmp eax, 8
jne 0x46456c
mov eax, dword [0x4dd3ac]
test eax, eax
je 0x464544
mov ecx, eax
push 9
push ecx
push esi
push 0
push str.Invalid_option.
mov ecx, 0x4dcd68
call fcn.004287a0
test eax, eax
jne 0x463ea7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test eax, eax
jne 0x464544
cmp dword [0x4dd3e0], ecx
jne 0x464544
push eax
push esi
push 9
push str.Invalid_option.
mov ecx, 0x4dcd68
call fcn.00428bd0
jmp 0x464559
mov cl, byte [esp + 0x17]
cmp byte [esp + 0xf], 0
jne 0x4645f2
xor ecx, ecx
mov edi, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
lea esi, [ebx + 0x28]
mov eax, esi
mov dword [eax], ecx
je 0x4646d5
mov eax, dword [ebx + 0x68]
test eax, 0x40000000
je 0x4645d9
and eax, 0x3fffffff
or eax, 0x80000000
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x463ea7
push 0
push eax
call dword [esp + 0x48]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x463ea7
push dword [esi]
push 0xfffffffffffffff8
push eax
call dword [esp + 0x44]
jmp 0x463ea7
movzx eax, cl
xor eax, 1
cmp word [esi + eax*2 + 0xa], 0
lea edi, [esi + eax*2]
jne 0x464617
test cl, cl
je 0x464617
mov eax, dword [0x4dbc70]
lea esi, [ebx + 0x28]
mov edi, dword [esp + 0x10]
mov dword [esi], eax
jmp 0x4645b0
push ecx
push 0
push 0
mov edx, 1
mov dword [esp + 0x28], 0
lea ecx, [edi + 0xa]
call fcn.0047a5e0
add esp, 0xc
cmp eax, 1
jne 0x46465f
lea ecx, [edi + 0xa]
call fcn.0047b060
mov edi, eax
push edi
call dword [esp + 0x50]
test eax, eax
je 0x46465f
mov ecx, edi
mov dword [esp + 0x1c], ecx
test edi, edi
je 0x46465f
cmp edi, dword [ebx + 0x1c]
jne 0x46459a
mov ecx, dword [esp + 0x20]
xor edx, edx
mov eax, dword [0x4d78c8]
test esi, esi
mov edi, dword [esp + 0x10]
mov word [ecx], di
mov ecx, 0x4b431c
mov eax, dword [eax + 0x34]
cmovne ecx, esi
cmp eax, 8
jne 0x4646b4
mov eax, dword [0x4dd3ac]
test eax, eax
je 0x46468e
mov edx, eax
push 9
push edx
push ecx
push 0
push str.Invalid_or_nonexistent_owner_or_parent_window.
mov ecx, 0x4dcd68
call fcn.004287a0
test eax, eax
je 0x464561
mov ecx, dword [esp + 0x1c]
jmp 0x46459e
test eax, eax
jne 0x46468e
cmp dword [0x4dd3e0], edx
jne 0x46468e
push eax
push ecx
push 9
push str.Invalid_or_nonexistent_owner_or_parent_window.
mov ecx, 0x4dcd68
call fcn.00428bd0
jmp 0x4646a3
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x4646e3
push dword [esi]
push eax
call dword [esp + 0x48]
mov eax, dword [ebx + 0x68]
and eax, 0x3fffffff
cmp dword [esi], 0
je 0x4646fd
or eax, 0x40000000
mov dword [ebx + 0x68], eax
jmp 0x463ea7
or eax, 0x80000000
mov dword [ebx + 0x68], eax
jmp 0x463ea7
mov ecx, eax
test ax, ax
jne 0x463d60
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x46479b
cmp dword [ebx + 0x68], edi
jne 0x46472e
cmp dword [ebx + 0x6c], ecx
je 0x46479b
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46474b
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x464750
mov byte [esp + 0x17], 0
mov eax, dword [ebx + 0x68]
mov esi, dword [esp + 0x38]
cmp eax, edi
je 0x464763
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x1c]
call esi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [esp + 0x24]
je 0x464774
push eax
push 0xffffffffffffffec
push dword [ebx + 0x1c]
call esi
cmp byte [esp + 0x17], 0
je 0x46479b
push 0x37
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 0x1c]
call dword [esp + 0x60]
push 1
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc