Function at 0x42ba44
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x4e3328
mov esi, 1
push 1
mov eax, dword [edi + 0xc]
inc eax
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x42ba6d
mov byte [eax], 0
mov edx, dword [edi + 0xc]
push edx
call fcn.004bceac
pop ecx
cmp eax, 8
jbe 0x42bfa7
push 0x20
mov ecx, dword [edi + 0xc]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x42bfa7
inc eax
cmp byte [eax], 0
je 0x42bfa7
mov dword [edi + 0xc], eax
test ebx, ebx
je 0x42bbf1
cmp dword [0x4d2374], 0
je 0x42bac4
push 1
push 5
push 0x4cbea8
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x42bbd1
push ebx
call fcn.004b5f30
test eax, eax
je 0x42bbd1
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 [0x4cb058]
mov dword [0x4d0304], edx
mov ecx, dword [ebx]
mov dword [0x4d0310], ecx
cmp dword [0x4d0318], 0
je 0x42bbb5
mov eax, dword [edi]
push eax
push 0x4cbeb0
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
test byte [0x4d0318], 2
je 0x42bb5a
push 0x4cbeb7
push 0x4e3928
call fcn.004bcdd0
add esp, 8
test byte [0x4d0318], 4
je 0x42bb75
push 0x4cbeba
push 0x4e3928
call fcn.004bcdd0
add esp, 8
test byte [0x4d0318], 8
je 0x42bb90
push 0x4cbebd
push 0x4e3928
call fcn.004bcdd0
add esp, 8
mov edx, dword [edi + 8]
push edx
push 0x4cbec0
push 0x4e3928
call fcn.004bceac
pop ecx
add eax, 0x4e3928
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x42bbca
mov ecx, dword [edi]
push ecx
push 0x4cbec4
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [0x4d2374], 0
je 0x42bfa7
push 0
push 5
push 0x4cbeca
call fcn.0049a318
jmp 0x42bfa7
cmp dword [0x4d1c20], 0
je 0x42bc99
cmp dword [0x4d2374], 0
je 0x42bc17
push 1
push 5
push 0x4cbed2
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x42bc79
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 [0x4cb058]
mov dword [0x4d0304], edx
mov ecx, dword [edi]
push ecx
push 0x4cbeda
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [0x4d2374], 0
je 0x42bfa7
push 0
push 5
push 0x4cbee0
call fcn.0049a318
jmp 0x42bfa7
cmp dword [0x4d1c70], 0
je 0x42bd6e
mov eax, dword [0x4d42a8]
push eax
call fcn.004b7934
mov ebx, eax
test ebx, ebx
je 0x42bd6e
cmp byte [ebx + 0x4cc], 1
jne 0x42bd6e
cmp dword [0x4d2374], 0
je 0x42bce1
push 1
push 5
push 0x4cbee8
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x42bd4e
push ebx
call fcn.004b5f30
test eax, eax
je 0x42bd4e
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 [edi]
push eax
push 0x4cbef0
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [0x4d2374], 0
je 0x42bfa7
push 0
push 5
push 0x4cbef6
call fcn.0049a318
jmp 0x42bfa7
cmp dword [0x4d2374], 0
je 0x42bda2
xor edx, edx
mov dword [0x4cd180], edx
push 1
push 0x25
push 0x4cbefe
call fcn.0049a318
test eax, eax
jne 0x42bd93
xor esi, esi
xor eax, eax
mov dword [0x4cd180], eax
test esi, esi
je 0x42bfa7
mov edx, dword [edi]
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 0x42bde5
mov eax, dword [ebx]
mov dword [0x4d0310], eax
jmp 0x42be05
push 0
push 1
push 2
push 0x4e3928
call fcn.004baa48
mov ebx, eax
mov dword [0x4d0310], ebx
test ebx, ebx
je 0x42bfa7
mov eax, dword [0x4d0310]
push eax
call fcn.004b7934
mov ebx, eax
test ebx, ebx
je 0x42be79
push ebx
call fcn.004675d8
cmp byte [ebx + 0x4cc], 2
jne 0x42be79
cmp byte [ebx + 0x4cd], 1
jne 0x42be79
push 0x4e3d41
push 0x641
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 0x42be79
push 0
push 0x4e3d41
push ebx
call fcn.00470b30
cmp dword [0x4d1c08], 0
je 0x42beb7
push 0x4e3928
mov edx, dword [edi]
push edx
mov ecx, dword [0x4d0310]
push ecx
call fcn.00463f10
mov eax, dword [edi]
push eax
push 0x4cbf04
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x4e3928
call fcn.004bc170
cmp dword [0x4d1c34], 0
je 0x42bef6
cmp dword [0x4d1c88], 1
jne 0x42bed7
mov edx, dword [0x4d1c40]
push edx
call fcn.0040ace4
jmp 0x42bef6
cmp dword [0x4d1c88], 2
jne 0x42bef6
push 1
push 0x4e3d41
push 0
push 0
call fcn.0043d4c4
push eax
call fcn.004a56c4
cmp dword [0x4d2374], 0
je 0x42bf1c
xor ecx, ecx
mov dword [0x4cd180], ecx
push 0
push 0x25
push 0x4cbf0f
call fcn.0049a318
xor eax, eax
mov dword [0x4cd180], eax
cmp dword [0x4d2374], 0
je 0x42bf35
push 1
push 5
push 0x4cbf15
call fcn.0049a318
mov esi, eax
test esi, esi
je 0x42bf90
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 [0x4cb058]
mov dword [0x4d0304], edx
mov ecx, dword [edi]
push ecx
push 0x4cbf1d
push 0x4e3928
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.00464410
cmp dword [0x4d2374], 0
je 0x42bfa7
push 0
push 5
push 0x4cbf23
call fcn.0049a318
pop edi
pop esi
pop ebx
pop ebp
ret 4