Function at 0x411e1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, ebp
adc esp, 0xfffffdd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 4], ecx
mov ebx, eax
lea edi, [ebp - 0x202]
xor eax, eax
push ebp
push 0x4120e7
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push edx
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x4120c1
push 0xff
lea eax, [ebp - 0x103]
push eax
push esi
call sub.user32.dll_GetClassNameA
push 0xff
push edi
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 4]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.00404100
push edi
push 0xff
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 4]
call fcn.0040b4bc
cmp dword [ebp - 0x208], 0
jne 0x411f10
push edi
push 0xff
push 0x189
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0040b4bc
cmp dword [ebp - 0x20c], 0
jne 0x411f47
push edi
push 0xff
push 0x148
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0040b4bc
cmp dword [ebp - 0x210], 0
jne 0x411f7e
push edi
push 0xff
push 0x141
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0040b4bc
cmp dword [ebp - 0x214], 0
jne 0x411fb5
push edi
push 0xff
push 0xc5
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0040b4bc
cmp dword [ebp - 0x218], 0
jne 0x411fec
push edi
push 0xff
push 0xd5
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
test bl, bl
jne 0x412048
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.00404100
mov eax, dword [ebp - 0x21c]
mov edx, 0x412100
call fcn.00404278
jne 0x4120a1
lea eax, [ebp - 0x220]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
mov eax, dword [ebp - 0x220]
mov edx, 0x412110
call fcn.00404278
jne 0x4120a1
mov eax, dword [ebp + 8]
mov dword [eax - 4], esi
jmp 0x4120c1
cmp bl, 1
jne 0x4120a1
lea eax, [ebp - 0x224]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.00404100
mov eax, dword [ebp - 0x224]
mov edx, 0x412100
call fcn.00404278
jne 0x4120a1
lea eax, [ebp - 0x228]
mov edx, edi
mov ecx, 0xff
call fcn.00404100
mov eax, dword [ebp - 0x228]
mov edx, 0x412120
call fcn.00404278
jne 0x4120a1
mov eax, dword [ebp + 8]
mov dword [eax - 4], esi
jmp 0x4120c1
mov eax, dword [ebp + 8]
push eax
mov edx, esi
mov eax, ebx
call fcn.00411e1c
pop ecx
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
seto dl
std
invalid
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4120ee
lea eax, [ebp - 0x228]
mov edx, 9
call fcn.00403f0c
lea eax, [ebp - 4]
call fcn.00403ee8
ret