Function at 0x467680
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x4d2374
mov esi, 1
test ebx, ebx
je 0x46773c
cmp dword [edi], 0
je 0x4676b0
push 1
push 0x33
push 0x4d0715
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x467720
push ebx
call fcn.004b5f30
test eax, eax
je 0x467720
xor eax, eax
mov dword [0x4d22f4], eax
mov dword [0x4d22f8], 2
mov dword [0x4d22fc], 1
mov dword [0x4d2300], 1
mov dword [0x4d2304], 1
mov edx, dword [0x4cb070]
mov dword [0x4d0304], edx
mov ecx, dword [ebx]
mov dword [0x4d0310], ecx
mov eax, dword [0x4e3328]
push eax
push 0x4d071b
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [edi], 0
je 0x467ae8
push 0
push 0x33
push 0x4d0721
call fcn.0049a318
jmp 0x467ae8
cmp dword [0x4d1c20], 0
je 0x4677e0
cmp dword [edi], 0
je 0x46775e
push 1
push 0x33
push 0x4d0727
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x4677c4
push 0
call fcn.004674d8
xor eax, eax
mov dword [0x4d22f4], eax
mov dword [0x4d22f8], 2
mov dword [0x4d22fc], 1
mov dword [0x4d2300], 1
mov dword [0x4d2304], 1
mov edx, dword [0x4cb070]
mov dword [0x4d0304], edx
mov ecx, dword [0x4e3328]
push ecx
push 0x4d072d
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [edi], 0
je 0x467ae8
push 0
push 0x33
push 0x4d0733
call fcn.0049a318
jmp 0x467ae8
cmp dword [0x4d1c70], 0
je 0x4678b0
mov eax, dword [0x4d42a8]
push eax
call fcn.004b7934
mov ebx, eax
test ebx, ebx
je 0x4678b0
cmp byte [ebx + 0x4cc], 1
jne 0x4678b0
cmp dword [edi], 0
je 0x467824
push 1
push 0x33
push 0x4d0739
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x467894
push ebx
call fcn.004b5f30
test eax, eax
je 0x467894
xor eax, eax
mov dword [0x4d22f4], eax
mov dword [0x4d22f8], 2
mov dword [0x4d22fc], 1
mov dword [0x4d2300], 1
mov dword [0x4d2304], 1
mov edx, dword [0x4cb060]
mov dword [0x4d0304], edx
mov ecx, dword [ebx]
mov dword [0x4d0310], ecx
mov eax, dword [0x4e3328]
push eax
push str._s
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [edi], 0
je 0x467ae8
push 0
push 0x33
push 0x4d0745
call fcn.0049a318
jmp 0x467ae8
cmp dword [edi], 0
je 0x4678e0
xor edx, edx
mov dword [0x4cd180], edx
push 1
push 0x25
push 0x4d074b
call fcn.0049a318
test eax, eax
jne 0x4678d1
xor esi, esi
xor eax, eax
mov dword [0x4cd180], eax
test esi, esi
je 0x467ae8
mov edx, dword [0x4e3328]
push esi
push edi
mov esi, 0x4e3928
mov edi, edx
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 edi
pop esi
push 0x4e3928
call fcn.004b78d4
mov ebx, eax
test ebx, ebx
je 0x467927
mov eax, dword [ebx]
mov dword [0x4d0310], eax
jmp 0x467947
push 0
push 1
push 2
push 0x4e3928
call fcn.004baa48
mov ebx, eax
mov dword [0x4d0310], ebx
test ebx, ebx
je 0x467ae8
mov eax, dword [0x4d0310]
push eax
call fcn.004b7934
mov ebx, eax
test ebx, ebx
je 0x4679bb
push ebx
call fcn.004675d8
cmp byte [ebx + 0x4cc], 2
jne 0x4679bb
cmp byte [ebx + 0x4cd], 1
jne 0x4679bb
push 0x4e3d41
push 0xdca
call fcn.0040a8fc
push 0x64
push 0x4e3d41
call fcn.004bceac
pop ecx
add eax, 0x4e3d41
push eax
mov eax, dword [ebx]
push eax
call sub.USER32.dll_GetWindowTextA
push 0x40
push 0x4e3d41
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x4679bb
push 0
push 0x4e3d41
push ebx
call fcn.00470b30
cmp dword [0x4d1c08], 0
je 0x467a00
push 0x4e3928
mov edx, dword [0x4e3328]
push edx
mov ecx, dword [0x4d0310]
push ecx
call fcn.00463f10
mov eax, dword [0x4e3328]
push eax
push 0x4d0751
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x4e3928
call fcn.004bc170
cmp dword [0x4d1c34], 0
je 0x467a3f
cmp dword [0x4d1c88], 1
jne 0x467a20
mov edx, dword [0x4d1c40]
push edx
call fcn.0040ace4
jmp 0x467a3f
cmp dword [0x4d1c88], 2
jne 0x467a3f
push 1
push 0x4e3d41
push 0
push 0
call fcn.0043d4c4
push eax
call fcn.004a56c4
cmp dword [edi], 0
je 0x467a61
xor ecx, ecx
mov dword [0x4cd180], ecx
push 0
push 0x25
push 0x4d075c
call fcn.0049a318
xor eax, eax
mov dword [0x4cd180], eax
cmp dword [edi], 0
je 0x467a76
push 1
push 0x33
push 0x4d0762
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x467ad5
xor eax, eax
mov dword [0x4d22f4], eax
mov dword [0x4d22f8], 2
mov dword [0x4d22fc], 1
mov dword [0x4d2300], 1
mov dword [0x4d2304], 1
mov edx, dword [0x4cb070]
mov dword [0x4d0304], edx
mov ecx, dword [0x4e3328]
push ecx
push 0x4d0768
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [edi], 0
je 0x467ae8
push 0
push 0x33
push 0x4d076e
call fcn.0049a318
pop edi
pop esi
pop ebx
pop ebp
ret 4