Function at 0x406c70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x431008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, ecx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x40], esi
movlpd qword [ebp - 0x24], xmm0
mov eax, dword [esi]
movlpd qword [ebp - 0xc], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [eax]
push 8
push 0xd
push dword [eax + 0x3c]
call edi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
push 8
push 0xd
mov eax, dword [eax]
push dword [eax + 0x40]
call edi
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi]
push 8
push 0xd
mov eax, dword [eax]
push dword [eax + 0x16c]
call edi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 8
push 0xd
mov eax, dword [eax]
push dword [eax + 0x170]
call edi
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi]
push 8
push 0xd
mov eax, dword [eax]
push dword [eax + 0x174]
call edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi]
push 8
push 0xd
mov eax, dword [eax]
push dword [eax + 0x178]
call edi
push 0x10
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.00412dd9
push 0x10
mov edi, eax
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.00412dd9
push 0x10
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.00412dd9
mov esi, eax
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00412dd9
push 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00412dd9
push 0x10
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00412dd9
add esp, 0x48
mov dword [ebp - 0x44], eax
push dword [ebp - 0x3c]
push esi
push dword [ebp - 0x38]
push edi
push ebx
call dword [sym.imp.msdk.dll_M_SetNewVidPid]
push 0
test eax, eax
jne 0x406e62
mov esi, dword [ebp - 0x40]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0xf0
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 0x44]
call edi
test eax, eax
je 0x406e3c
mov eax, dword [ebp - 0x38]
inc eax
push eax
push str._04X
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.00401b10
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
push 0
push 0xc
mov eax, dword [eax]
push dword [eax + 0x40]
call edi
mov eax, dword [ebp - 0x3c]
inc eax
push eax
push str._04X
lea eax, [ebp - 0x14]
push 8
push eax
call fcn.00401b10
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push 0
push 0xc
mov eax, dword [eax]
push dword [eax + 0x170]
call edi
mov eax, dword [ebp - 0x44]
inc eax
push eax
push str._04X
lea eax, [ebp - 0x1c]
push 8
push eax
call fcn.00401b10
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi]
push 0
push 0xc
mov eax, dword [eax]
push dword [eax + 0x178]
call edi
mov eax, dword [esi]
push 0
push 0
push 0xf0
mov eax, dword [eax]
push dword [eax + 0x180]
call edi
test eax, eax
jne 0x406e74
push eax
push 0x42cc20
push 0x42d2c8
jmp 0x406e6c
push 0x42cc20
push 0x42d2e8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d5cc
mov esp, ebp
pop ebp
ret 4