Function at 0x409ae0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x4358ec]
mov esi, dword [esp + 0x3c]
push 0
push eax
push 0
push esi
push closesocket
push closesocket
push closesocket
push closesocket
push 1
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x4306c0], eax
jne 0x409b30
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x4358ec]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 3
push esi
mov dword [esp + 0x14], 0x2c
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edx
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
push edx
push 0
mov ecx, dword [eax + 4]
mov eax, dword [0x4306c0]
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409b9a
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 4
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 8]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409bd0
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 5
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0xc]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409c06
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 6
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409c3a
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 7
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x14]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409c70
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 8
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x18]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409ca6
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 9
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409cda
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xa
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x20]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409d10
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xb
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x24]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409d46
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xc
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x28]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409d7a
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xd
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409db0
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xe
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x30]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409de6
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0xf
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x34]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409e1a
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x10
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x38]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409e50
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x11
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x3c]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409e86
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x12
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x40]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409eba
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x13
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x44]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409ef0
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x14
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x48]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409f26
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x15
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x4c]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x409f5a
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x16
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
test eax, eax
jne 0x409f90
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x3f0
push esi
call edi
mov edx, dword [0x422828]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
push ecx
mov eax, dword [edx + 0x54]
mov edx, dword [0x4306c0]
push 0
push 0x404
push edx
mov dword [esp + 0x40], eax
call ebx
test eax, eax
jne 0x409fc9
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 0x40e
push esi
call edi
mov dword [esp + 0x18], eax
mov eax, dword [0x422828]
lea edx, [esp + 0xc]
mov ecx, dword [eax + 0x138]
mov eax, dword [0x4306c0]
push edx
push 0
push 0x404
push eax
mov dword [esp + 0x40], ecx
call ebx
test eax, eax
jne 0x40a003
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push 2
push esi
call edi
mov ecx, dword [0x422828]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x58]
mov ecx, dword [0x4306c0]
push eax
push 0
push 0x404
push ecx
mov dword [esp + 0x40], edx
call ebx
mov ecx, dword [0x4306c0]
pop edi
neg eax
sbb eax, eax
pop esi
and eax, ecx
pop ebx
add esp, 0x2c
ret