Function at 0x40e3f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8d4
mov eax, dword [0x427178]
xor eax, esp
mov dword [esp + 0x8d0], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0xc], ebx
push edi
cmp dword [esi + 0x2c], eax
je 0x40e7e7
push 0x7fe
push eax
mov word [esp + 0xe0], ax
lea eax, [esp + 0xe2]
push eax
call fcn.00418440
push 0x38
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00418440
push 0x38
lea eax, [esp + 0x34]
push 0
push eax
call fcn.00418440
add esp, 0x24
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xb8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [esp + 0xcc]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0xc4]
mov edi, ebx
sub eax, dword [esp + 0xbc]
push 1
push eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc0]
push eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
sub eax, dword [esp + 0xd0]
add eax, dword [esp + 0xc8]
cdq
sub eax, edx
sar eax, 1
add eax, 0x19
add eax, dword [esp + 0xd8]
push eax
mov eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
sub eax, dword [esp + 0xd0]
add eax, dword [esp + 0xc8]
cdq
sub eax, edx
sar eax, 1
add eax, 0x19
add eax, dword [esp + 0xd8]
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x30
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.00418440
mov ebx, dword [esp + 0x18]
add esp, 0xc
push 0
push ebx
push 0
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 1
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
mov edi, eax
lea eax, [esp + 0xdc]
push eax
push 0xb
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0xd8]
mov dword [esp + 0xa8], ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0xac], eax
lea eax, [esp + 0x98]
push eax
push edi
mov dword [esp + 0x90], 0x30
mov dword [esp + 0x94], 0x10
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], 1
call ebx
lea eax, [esp + 0x88]
push eax
push 0
push 0x432
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x10]
push 0x424
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 9
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
mov edi, eax
lea eax, [esp + 0xdc]
push eax
push 0xd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0xd8]
mov dword [esp + 0x90], edi
mov dword [esp + 0xac], eax
lea eax, [esp + 0x98]
push eax
push edi
mov dword [esp + 0x9c], 9
call ebx
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x88]
push eax
push 0
push 0x432
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x424
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3eb
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ebx, eax
push ebx
mov ecx, esi
call dword [edx + 0x34]
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esp + 0xc], 0
jbe 0x40e7d7
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
cmp dword [eax + edi + 8], 0
je 0x40e7bf
mov edx, dword [esi]
add eax, 0xc
add eax, edi
mov ecx, esi
push eax
push ebx
call dword [edx + 0x30]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40e6f3
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], 0xffff0003
mov dword [esp + 0x20], 0x23
mov ecx, dword [eax]
add ecx, 0x214
add ecx, edi
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
cmp dword [edi + eax], 0
jmp 0x40e76a
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x54], 0xffff0003
mov dword [esp + 0x58], 0x23
mov dword [esp + 0x50], 0xffff0000
mov eax, dword [eax]
add eax, 0xc
add eax, edi
mov dword [esp + 0x68], eax
movzx eax, byte [0x42935a]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x50]
push eax
push 0
push 0x1132
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x1c], 0xffff0003
mov dword [esp + 0x20], 0x23
mov dword [esp + 0x18], eax
mov ecx, dword [edx]
add ecx, 0x214
mov dword [esp + 0x14], eax
add ecx, edi
mov dword [esp + 0x30], ecx
mov ecx, dword [edx]
cmp dword [edi + ecx], 0
je 0x40e78b
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x34]
jae 0x40e78b
movzx eax, byte [0x42935b]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
mov dword [esi + 0x38], eax
jmp 0x40e79a
movzx eax, byte [0x429359]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x1132
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x14]
push 2
push 0x1102
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc]
add edi, 0x42c
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 0x30]
jb 0x40e6a0
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x10]
call dword [eax + 0x3c]
mov eax, 1
mov ecx, dword [esp + 0x8dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f324
mov esp, ebp
pop ebp
ret 0xc