Function at 0x41f2e3
Capabilities:
Get graphical window text

Disassembly:
push 0x24
mov eax, 0x45f0e3
call fcn.004497b9
mov ecx, esi
call fcn.00426478
call fcn.00421f68
push eax
lea ecx, [ebp - 0x10]
call fcn.00401abe
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 0xffffffff
je 0x41f326
lea ecx, [eax + 1]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f597
jmp 0x41f338
push 0xff
lea ecx, [ebp - 0x10]
call fcn.00401c37
push 0x100
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004143f6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x41f35c
lea ecx, [eax - 0x10]
jmp 0x41f520
call fcn.00421f68
push eax
lea ecx, [ebp - 0x14]
call fcn.00401abe
mov byte [ebp - 4], 1
call fcn.00421f68
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401abe
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0042ffe7
mov byte [ebp - 4], 3
xor edi, edi
cmp dword [esi + 0x58], ebx
jle 0x41f3f0
push edi
lea eax, [ebp - 0x14]
push str.String__d
push eax
call fcn.0040190e
add esp, 0xc
call fcn.0042ac69
mov eax, dword [eax + 4]
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push dword [esi + 0x54]
push ecx
mov ecx, eax
call fcn.00423708
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004017c8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401b3a
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
call fcn.004302bd
inc edi
cmp edi, dword [esi + 0x58]
jl 0x41f393
xor edi, edi
cmp dword [ebp - 0x28], ebx
jle 0x41f427
cmp edi, ebx
jl 0x41f55d
cmp edi, dword [ebp - 0x28]
jge 0x41f55d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + edi*4]
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00409f1e
test eax, eax
je 0x41f52b
inc edi
cmp edi, dword [ebp - 0x28]
jl 0x41f3f7
mov edi, dword [ebp - 0x28]
dec edi
cmp edi, ebx
jle 0x41f45c
lea ebx, [edi - 1]
test ebx, ebx
jl 0x41f55d
cmp ebx, dword [ebp - 0x28]
jge 0x41f55d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + edi*4 - 4]
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.0041f572
dec edi
dec ebx
test edi, edi
jg 0x41f432
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
jle 0x41f55d
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
call fcn.004017c8
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x28], 0
jle 0x41f4de
test ebx, ebx
jl 0x41f55d
cmp ebx, dword [ebp - 0x28]
jge 0x41f55d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + ebx*4]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x41f4d8
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str.String__d
push eax
call fcn.0040190e
add esp, 0xc
inc dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x28]
jge 0x41f55d
mov eax, dword [ebp - 0x2c]
lea eax, [eax + ebx*4]
mov edi, dword [eax]
call fcn.0042ac69
mov eax, dword [eax + 4]
push edi
push dword [ebp - 0x14]
mov ecx, eax
push dword [esi + 0x54]
call fcn.00423670
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x41f47b
call fcn.0042ac69
push dword [esi + 0x58]
mov eax, dword [eax + 4]
push str.Max_number_of_strings
push dword [esi + 0x54]
mov ecx, eax
call fcn.004235e7
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004301c4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401b3a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401b3a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401b3a
call fcn.00449891
ret
cmp edi, ebx
mov eax, edi
jle 0x41f45c
lea edi, [eax - 1]
cmp edi, ebx
jl 0x41f55d
cmp edi, dword [ebp - 0x28]
jge 0x41f55d
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx + eax*4 - 4]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0041f572
mov eax, edi
cmp eax, ebx
jg 0x41f535
jmp 0x41f45c
call fcn.00421e8c
int3