Function at 0x488a30
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.ahk_autosize
push dword [edi]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x488cd8
push str.ahk_autosize
push dword [edi]
call dword [sym.imp.USER32.dll_RemovePropW]
mov cl, byte [edi + 7]
xor ebx, ebx
mov edi, connect
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 0x488adc
xor edi, edi
nop word [eax + eax]
mov eax, dword [esi + 0x18]
cmp byte [edi + eax + 6], cl
jne 0x488acf
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, 0x40
cmp ebx, dword [esi + 0x10]
jb 0x488a90
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 0x488b05
cmp edi, 0x80000000
je 0x488b05
mov eax, dword [esi + 0x78]
add eax, 4
add eax, edi
mov dword [esp + 0x30], eax
test cl, 2
je 0x488b22
cmp edi, 0x80000000
je 0x488b22
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 0x488b92
test al, 2
jne 0x488b92
push 0
push 0
push 0x132c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
jmp 0x488b9a
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 0x488c71
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 0x488c71
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 0x488c35
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 0x488c5a
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 ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov dl, byte [esp + 0xf]
shl ecx, 6
cmp byte [ecx + eax - 0x3a], dl
je 0x488c8c
cmp edi, 0x80000000
jne 0x488cd8
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 0x488cc6
mov dword [esi + 0x90], eax
mov eax, dword [esp + 0x34]
cmp dword [esi + 0x94], eax
jge 0x488cd8
mov dword [esi + 0x94], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4