Function at 0x4315c0
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 0x4315d9
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 0x431693
lea ecx, [ecx]
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
push dword [eax + 0x20]
call ecx
test eax, eax
je 0x431680
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + 0x5f]
test edi, edi
je 0x43167d
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431615
sub ecx, edx
lea eax, [ecx + 2]
push eax
push 1
call fcn.00452d0e
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 0x431630
push esi
call fcn.004539a0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + esi], 0x26
jne 0x43166a
mov cl, byte [eax + esi + 1]
cmp cl, 0x26
jne 0x431662
inc eax
jmp 0x43166a
cmp cl, bl
je 0x431722
inc eax
cmp byte [eax + esi], 0
jne 0x431650
push esi
call fcn.00452d4e
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 0x4315f0
xor edi, edi
mov dword [ebp + 8], edi
cmp dword [esi + 0x50], edi
jle 0x431793
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi*4]
push dword [eax + 0x20]
call ecx
test eax, eax
je 0x431771
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi*4]
mov edi, dword [eax + 0x5f]
test edi, edi
je 0x43176e
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4316d0
sub ecx, edx
lea eax, [ecx + 2]
push eax
push 1
call fcn.00452d0e
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 0x4316f0
push esi
call fcn.004539a0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + esi], 0x26
jne 0x43175b
mov cl, byte [eax + esi + 1]
cmp cl, 0x26
jne 0x431757
inc eax
jmp 0x43175b
push esi
call fcn.00452d4e
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.00431310
push eax
mov ecx, esi
call fcn.004393f0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp cl, bl
je 0x431785
inc eax
cmp byte [eax + esi], 0
jne 0x431710
push esi
call fcn.00452d4e
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 0x431793
mov ecx, dword [sym.imp.USER32.dll_IsWindowEnabled]
jmp 0x4316a1
push esi
call fcn.00452d4e
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x2c]
jmp 0x43172e
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [esi + 0x3c], eax
jle 0x43184a
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 0x43183a
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.00452d0e
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.004539a0
add esp, 4
xor eax, eax
lea esp, [esp]
cmp byte [eax + edi], 0x26
jne 0x43182a
mov cl, byte [eax + edi + 1]
cmp cl, 0x26
jne 0x431822
inc eax
jmp 0x43182a
cmp cl, bl
je 0x4318e2
inc eax
cmp byte [eax + edi], 0
jne 0x431810
push edi
call fcn.00452d4e
add esp, 4
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x3c]
jl 0x4317a1
xor eax, eax
mov dword [ebp + 8], eax
cmp dword [esi + 0x40], eax
jle 0x431957
jmp 0x431860
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 0x431947
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.00452d0e
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.004539a0
add esp, 4
xor eax, eax
nop
cmp byte [eax + edi], 0x26
jne 0x431937
mov cl, byte [eax + edi + 1]
cmp cl, 0x26
jne 0x431933
inc eax
jmp 0x431937
push edi
call fcn.00452d4e
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.00431310
push eax
mov ecx, esi
call fcn.004393f0
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 0x431962
inc eax
cmp byte [eax + edi], 0
jne 0x4318d0
push edi
call fcn.00452d4e
add esp, 4
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [esi + 0x40]
jl 0x431860
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.00452d4e
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.00431310
push eax
mov ecx, esi
call fcn.004393f0
mov eax, dword [esi + 0x1c]
jmp 0x431909