Function at 0x40f430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b4275
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4dd070]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x4dd070]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
xor edi, edi
push esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
call fcn.0040e710
pop ecx
test eax, eax
jne 0x40f4f2
cmp dword [ebx + 0x38], edi
jne 0x40f6c7
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], ax
lea eax, [esp + 0x20]
push eax
push edi
push 0xd
push edi
push esi
lea eax, [esp + 0x88]
push eax
mov dword [esp + 0x140], edi
call fcn.0040e8d8
push edi
push 1
lea esi, [esp + 0x28]
call fcn.00402bb8
push edi
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebx]
push 0x530
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esp + 0x74]
call fcn.0040f9a2
jmp 0x40f6c7
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], ax
mov dword [esp + 0x128], 1
cmp dword [ebx + 0x34], 3
jne 0x40f5b2
call fcn.00425ac6
push eax
push str._08x
lea esi, [esp + 0x60]
call fcn.00427967
pop ecx
pop ecx
mov byte [esp + 0x128], 2
call fcn.00425ac6
push eax
call fcn.00425ac6
push eax
push str._08x_08x
lea esi, [esp + 0x2c]
call fcn.00427967
add esp, 0xc
lea edi, [esp + 0x74]
call fcn.0040bf56
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, esi
push eax
lea eax, [esp + 0x64]
push eax
mov edx, ecx
mov byte [esp + 0x138], 4
call fcn.0044bdf4
add esp, 0x10
mov esi, edi
mov dword [esp + 0x1c], eax
call fcn.0040bf72
xor edi, edi
push 0
inc edi
push edi
lea ecx, [esp + 0x28]
call fcn.00402abb
push 0
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x130], 1
call fcn.00402abb
jmp 0x40f5ef
lea edi, [esp + 0x74]
call fcn.0040bf56
lea ecx, [esp + 0x3c]
push ecx
push eax
push esi
mov edx, 0x4b9f28
mov ecx, esi
mov byte [esp + 0x134], 5
call fcn.0044c227
add esp, 0xc
mov esi, edi
mov dword [esp + 0x1c], eax
mov byte [esp + 0x128], 1
call fcn.0040bf72
xor edi, edi
inc edi
cmp dword [esp + 0x1c], 0
push dword [esp + 0x18]
jne 0x40f617
lea esi, [esp + 0x24]
call fcn.00402703
mov eax, esi
mov byte [esp + 0x128], 6
push eax
mov dword [esp + 0x18], edi
lea eax, [ebx + 4]
jmp 0x40f639
lea esi, [esp + 0x5c]
call fcn.00402703
mov eax, esi
mov dword [esp + 0x128], 7
push eax
mov dword [esp + 0x18], 2
lea eax, [ebx + 0x1c]
call fcn.0040f9bc
test byte [esp + 0x14], 2
je 0x40f656
and dword [esp + 0x14], 0xfffffffd
push 0
push edi
lea esi, [esp + 0x60]
call fcn.00402bb8
mov dword [esp + 0x128], edi
test byte [esp + 0x14], 1
je 0x40f670
push 0
push edi
lea esi, [esp + 0x28]
call fcn.00402bb8
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xd8]
push dword [ebx + 0x38]
push dword [esp + 0x28]
push eax
call fcn.0040e8d8
push 0
lea eax, [esp + 0xd0]
push eax
mov eax, dword [ebx]
push 0x530
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esp + 0xcc]
call fcn.0040f9a2
push 0
push 1
lea esi, [esp + 0x44]
call fcn.00402bb8
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0048ff11
mov esp, ebp
pop ebp
ret