Function at 0x4312f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
cmp bl, 0x61
jl 0x431309
add bl, 0xe0
mov ecx, dword [sym.imp.USER32.dll_IsWindowEnabled]
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x4c], edi
jle 0x4313c3
lea ecx, [ecx]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
push dword [eax + 0x20]
call ecx
test eax, eax
je 0x4313b0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + 0x5f]
test edi, edi
je 0x4313ad
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431345
sub ecx, edx
lea eax, [ecx + 2]
push eax
push 1
call fcn.00453d4e
add esp, 8
mov esi, eax
mov edi, edi
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x431360
push esi
call fcn.004549e0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + esi], 0x26
jne 0x43139a
mov cl, byte [eax + esi + 1]
cmp cl, 0x26
jne 0x431392
inc eax
jmp 0x43139a
cmp cl, bl
je 0x431452
inc eax
cmp byte [eax + esi], 0
jne 0x431380
push esi
call fcn.00453d8e
mov esi, dword [ebp - 4]
add esp, 4
mov edi, dword [ebp + 8]
mov ecx, dword [sym.imp.USER32.dll_IsWindowEnabled]
inc edi
mov dword [ebp + 8], edi
cmp edi, dword [esi + 0x4c]
jl 0x431320
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x50], edi
jle 0x4314c3
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x20]
call ecx
test eax, eax
je 0x4314a1
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + 0x5f]
test edi, edi
je 0x43149e
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431400
sub ecx, edx
lea eax, [ecx + 2]
push eax
push 1
call fcn.00453d4e
add esp, 8
mov esi, eax
lea esp, [esp]
mov cl, byte [edi]
lea edi, [edi + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x431420
push esi
call fcn.004549e0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + esi], 0x26
jne 0x43148b
mov cl, byte [eax + esi + 1]
cmp cl, 0x26
jne 0x431487
inc eax
jmp 0x43148b
push esi
call fcn.00453d8e
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [eax + ecx*4]
mov ecx, esi
push dword [eax + 0x20]
call fcn.00431040
push eax
mov ecx, esi
call fcn.00439150
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp cl, bl
je 0x4314b5
inc eax
cmp byte [eax + esi], 0
jne 0x431440
push esi
call fcn.00453d8e
mov esi, dword [ebp - 4]
add esp, 4
mov edi, dword [ebp + 8]
inc edi
mov dword [ebp + 8], edi
cmp edi, dword [esi + 0x50]
jge 0x4314c3
mov ecx, dword [sym.imp.USER32.dll_IsWindowEnabled]
jmp 0x4313d1
push esi
call fcn.00453d8e
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x2c]
jmp 0x43145e
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [esi + 0x3c], eax
jle 0x43157a
lea edi, [eax*4]
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], edi
mov eax, dword [eax + edi]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43156a
mov eax, dword [esi + 0x18]
push 0
push 0
push 0xe
mov eax, dword [eax + edi]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea ecx, [esi + 2]
push ecx
push 1
call fcn.00453d4e
add esp, 8
lea ecx, [esi + 1]
mov esi, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push ecx
mov ecx, dword [esi + 0x18]
push 0xd
mov ecx, dword [ecx + eax]
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call fcn.004549e0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + edi], 0x26
jne 0x43155a
mov cl, byte [eax + edi + 1]
cmp cl, 0x26
jne 0x431552
inc eax
jmp 0x43155a
cmp cl, bl
je 0x431612
inc eax
cmp byte [eax + edi], 0
jne 0x431540
push edi
call fcn.00453d8e
add esp, 4
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x3c]
jl 0x4314d1
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [esi + 0x40], eax
jle 0x431687
jmp 0x431590
lea edi, [eax*4]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 8], edi
mov eax, dword [edi + eax]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x431677
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xe
mov eax, dword [edi + eax]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
lea ecx, [esi + 2]
push ecx
push 1
call fcn.00453d4e
add esp, 8
lea ecx, [esi + 1]
mov esi, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push ecx
mov ecx, dword [esi + 0x1c]
push 0xd
mov ecx, dword [eax + ecx]
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call fcn.004549e0
add esp, 4
xor eax, eax
nop
cmp byte [eax + edi], 0x26
jne 0x431667
mov cl, byte [eax + edi + 1]
cmp cl, 0x26
jne 0x431663
inc eax
jmp 0x431667
push edi
call fcn.00453d8e
mov eax, dword [esi + 0x18]
add esp, 4
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [eax + edi*4]
push dword [eax + 0x10]
call fcn.00431040
push eax
mov ecx, esi
call fcn.00439150
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + edi*4]
push dword [ecx + 0x10]
movzx eax, word [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
push 0x111
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp cl, bl
je 0x431692
inc eax
cmp byte [eax + edi], 0
jne 0x431600
push edi
call fcn.00453d8e
add esp, 4
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x40]
jl 0x431590
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00453d8e
mov eax, dword [esi + 0x1c]
add esp, 4
mov edi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [eax + edi*4]
push dword [eax + 0x10]
call fcn.00431040
push eax
mov ecx, esi
call fcn.00439150
mov eax, dword [esi + 0x1c]
jmp 0x431639