Function at 0x405fc6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
xor eax, eax
mov ebx, ecx
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0xdc]
mov dword [ebp - 0x1c], eax
lea esi, [ebx + 0x50]
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.004019e0
test al, al
je 0x406024
mov ecx, dword [esi]
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x88], eax
mov ecx, dword [esi]
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x8c], eax
mov ecx, dword [esi]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x90], eax
mov ecx, dword [esi]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x94], eax
mov edx, 0x3f2
mov ecx, ebx
mov edi, esi
call fcn.0040ae8b
cmp eax, 0xffffffff
jne 0x4060f4
push 0x100
xor edi, edi
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.0041d760
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x100
push 0xd
push 0x3f2
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 1]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push str._x_:__d__y_:__d__c
push eax
call fcn.0041cfa0
add esp, 0x14
mov edi, esi
cmp eax, 2
jne 0x4060ba
mov ecx, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xa0], eax
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xa4], eax
jmp 0x4060f4
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push str.__d__c
push eax
call fcn.0041cfa0
add esp, 0x10
cmp eax, 1
jne 0x4060f4
mov ecx, dword [esi]
lea edi, [ebx + 0x50]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xa4], eax
mov ecx, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xa0], eax
mov edx, 0x3f3
mov ecx, ebx
call fcn.0040ae8b
cmp eax, 0xffffffff
jne 0x406171
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0041d760
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x100
push 0xd
push 0x3f3
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp - 8], 0
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x128]
push str.__d__c
push eax
call fcn.0041cfa0
add esp, 0x10
cmp eax, 1
jne 0x406171
mov ecx, dword [esi]
lea edi, [ebx + 0x50]
mov eax, dword [ebp - 8]
mov dword [ecx + 0x9c], eax
mov edx, 0x3f7
mov ecx, ebx
call fcn.0040ae8b
xor esi, esi
cmp eax, 0xffffffff
jne 0x4061ee
push 0x100
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0041d760
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x100
push 0xd
push 0x3f7
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 1]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x128]
push str.__d__c
push eax
call fcn.0041cfa0
add esp, 0x10
cmp eax, 1
jne 0x4061ee
mov eax, dword [ebp - 8]
lea edi, [ebx + 0x50]
mov ecx, dword [edi]
mov dword [ecx + 0xa8], eax
mov edx, 0x3f5
mov ecx, ebx
call fcn.0040ae8b
cmp eax, 0xffffffff
jne 0x406293
push 0x100
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0041d760
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x100
push 0xd
push 0x3f5
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x14]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00404ce4
test al, al
je 0x406293
mov ecx, dword [edi]
mov eax, dword [ebp - 8]
mov dword [ecx + 0xb4], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0xb8], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0xac], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xb0], eax
mov edx, 0x3f8
mov ecx, ebx
call fcn.0040ae8b
cmp eax, 0xffffffff
jne 0x40630f
push 0x100
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0041d760
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 0x100
push 0xd
push 0x3f8
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esi
push eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x128]
call fcn.0040ebac
pop ecx
test al, al
je 0x40630f
mov ecx, dword [edi]
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xd4], eax
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0xd8], eax
pop edi
pop esi
pop ebx
leave
ret