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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.aecs_autosize
push dword [edi]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x467d38
push str.aecs_autosize
push dword [edi]
call dword [sym.imp.USER32.dll_RemovePropW]
mov cl, byte [edi + 7]
xor ebx, ebx
mov edi, SysReAllocString
mov edx, dword [sym.imp.USER32.dll_GetWindowRect]
mov byte [esp + 0xf], cl
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
cmp dword [esi + 0x10], ebx
jbe 0x467b3c
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x18]
cmp byte [edi + eax + 6], cl
jne 0x467b2f
lea ecx, [esp + 0x48]
push ecx
push dword [edi + eax]
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x50]
mov edx, dword [sym.imp.USER32.dll_GetWindowRect]
cmovl ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x54]
cmovl ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov cl, byte [esp + 0xf]
inc ebx
add edi, 0x14
cmp ebx, dword [esi + 0x10]
jb 0x467af0
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
push dword [ebx]
call edx
mov ecx, dword [esp + 0x18]
test cl, 1
je 0x467b65
cmp edi, 0x80000000
je 0x467b65
mov eax, dword [esi + 0x78]
add eax, 4
add eax, edi
mov dword [esp + 0x30], eax
test cl, 2
je 0x467b82
cmp edi, 0x80000000
je 0x467b82
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
add ecx, 4
add eax, ecx
mov dword [esp + 0x34], eax
push 2
lea eax, [esp + 0x2c]
push eax
push dword [esi + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push 0xfffffffffffffff0
push dword [ebx]
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov dword [esp + 0x20], eax
and ecx, 0x80
mov dword [esp + 0x24], ecx
neg ecx
sbb ecx, ecx
add ecx, 2
and ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
je 0x467bf2
test al, 2
jne 0x467bf2
push 0
push 0
push 0x132c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
jmp 0x467bfa
mov dword [esp + 0x18], 0
push 1
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esp + 0x1c], 0
je 0x467cd1
push 0
push 0
push 0x132c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], eax
je 0x467cd1
lea eax, [esp + 0x38]
push eax
push 0
push 0x130a
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
and ecx, 0x100
neg ecx
sbb ecx, ecx
sub edx, dword [esp + 0x18]
and ecx, 3
cmp dword [esp + 0x24], 0
je 0x467c95
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x10]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], eax
jmp 0x467cba
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x14]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
push 1
push dword [esp + 0x18]
push ecx
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [ebx]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x10]
mov dl, byte [esp + 0xf]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
cmp byte [eax + ecx*4 - 0xe], dl
je 0x467cec
cmp edi, 0x80000000
jne 0x467d38
mov eax, dword [esp + 0x28]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x8c], eax
mov eax, dword [esp + 0x30]
cmp dword [esi + 0x90], eax
jge 0x467d26
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x34]
cmp dword [esi + 0x94], eax
jge 0x467d38
mov dword [esi + 0x94], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4