Function at 0x4301b8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.0051dd0a
mov esi, eax
test esi, esi
je 0x4305db
push dword [esi + 0xb6c]
call fcn.00412773
test eax, eax
jne 0x4301f2
push 0
call fcn.0042c4bf
jmp 0x4305db
cmp dword [esi + 0x684], 0
jne 0x430207
push 0
call fcn.0042c4bf
jmp 0x4305db
push dword [esi + 0xb6c]
push 0x57fe40
lea eax, [esi + 8]
push eax
call fcn.004c80e4
push 0x57fe40
call fcn.0042c8a8
test eax, eax
jne 0x430235
push 0
call fcn.0042c4bf
jmp 0x4305db
push esi
mov esi, 0x58695b
mov edi, 0x581538
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x57fe40
push 0x58695b
call fcn.0054c1f4
add esp, 8
push 7
push 0
push 0
push 0xe7f
call fcn.0042c564
push eax
push 3
push ebx
call fcn.00505500
test eax, eax
je 0x4305db
push esi
call fcn.0051df69
test eax, eax
je 0x4302aa
push dword [esi + 0xb6c]
call fcn.00412773
test eax, eax
jne 0x4302b6
push 0
call fcn.0042c4bf
jmp 0x4305db
push 0x2e
push 0x586adb
call fcn.0054c230
add esp, 8
test eax, eax
jne 0x4302db
push 0x55eab4
push 0x586adb
call fcn.0054c1f4
add esp, 8
push esi
lea esi, [ebp - 0x3f0]
mov edi, 0x58695b
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x586adb
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054c1f4
add esp, 8
push esi
mov esi, 0x57fe40
mov edi, 0x586adb
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
mov dword [ebp - 8], eax
push 0x180
push 0x40
push 0x4901
lea edx, [ebp - 0x3f0]
push edx
call fcn.00552270
add esp, 0x10
mov edi, eax
test edi, edi
jge 0x43036f
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x4304e9
push 0
call fcn.0055aa70
pop ecx
push eax
call fcn.00510ea8
push eax
lea eax, [esi + 8]
push eax
push 0
push 0xe80
call fcn.0042c564
push eax
lea edx, [ebp - 0x3f0]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.0054c2d0
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00551d70
add esp, 0xc
cmp ebx, eax
je 0x4303d3
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x4304e9
cmp dword [esi + 0x6bc], 2
jne 0x430489
cmp dword [esi + 0x6c0], 1
jne 0x430489
push 0
push 0xe81
call fcn.0042c564
push eax
lea edx, [ebp - 0x3f0]
push edx
call sub.USER32.dll_wsprintfA
add esp, 8
push 0x104
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.0054c2d0
pop ecx
lea edx, [ebp - 0x3f0]
add eax, edx
push eax
push dword [esi]
call sub.USER32.dll_GetWindowTextA
push 0x40
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054c230
add esp, 8
test eax, eax
je 0x430489
push 0x55eaba
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.0054c1f4
add esp, 8
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054c2d0
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00551d70
add esp, 0xc
cmp ebx, eax
je 0x430489
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x4304e9
mov eax, dword [esi + 0x684]
test eax, eax
je 0x4304e9
mov edx, dword [eax + 0x40]
mov dword [ebp - 4], edx
push dword [eax]
push 0x55eabd
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054c2d0
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00551d70
add esp, 0xc
cmp ebx, eax
je 0x4304e2
mov dword [ebp - 8], 1
jmp 0x4304e9
mov eax, dword [ebp - 4]
test eax, eax
jne 0x430499
push 0
call fcn.0055aa70
pop ecx
push eax
call fcn.00510ea8
push eax
lea edx, [esi + 8]
push edx
push 0
push 0xe82
call fcn.0042c564
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054c2d0
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00551d70
add esp, 0xc
cmp ebx, eax
je 0x430543
mov dword [ebp - 8], 1
push edi
call fcn.0054f720
pop ecx
xor edx, edx
mov dword [0x56ac00], edx
cmp dword [ebp - 8], 0
je 0x43059c
push 0x57fe40
push 0
push 0xe83
call fcn.0042c564
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [0x55f8a0]
lea eax, [ebp - 0x3f0]
push eax
mov edx, dword [esi + 0xb6c]
push dword [edx]
call fcn.004ef100
push 0
call fcn.0042c4bf
jmp 0x4305db
push 0x57fe40
lea ecx, [esi + 8]
push ecx
push 0
push 0xe84
call fcn.0042c564
push eax
lea eax, [ebp - 0x3f0]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [0x55f8a0]
lea edx, [ebp - 0x3f0]
push edx
mov ecx, dword [esi + 0xb6c]
push dword [ecx]
call fcn.004ef100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4