Function at 0x430258
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.0051fafa
mov esi, eax
test esi, esi
je 0x43067b
push dword [esi + 0xb6c]
call fcn.0041261f
test eax, eax
jne 0x430292
push 0
call fcn.0042c6cc
jmp 0x43067b
cmp dword [esi + 0x684], 0
jne 0x4302a7
push 0
call fcn.0042c6cc
jmp 0x43067b
push dword [esi + 0xb6c]
push 0x582088
lea eax, [esi + 8]
push eax
call fcn.004c80ac
push 0x582088
call fcn.0042cab5
test eax, eax
jne 0x4302d5
push 0
call fcn.0042c6cc
jmp 0x43067b
push esi
mov esi, 0x5887bf
mov edi, 0x583780
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 0x582088
push 0x5887bf
call fcn.0054e1b0
add esp, 8
push 7
push 0
push 0
push 0xe7f
call fcn.0042c771
push eax
push 3
push ebx
call fcn.0050704c
test eax, eax
je 0x43067b
push esi
call fcn.0051fd59
test eax, eax
je 0x43034a
push dword [esi + 0xb6c]
call fcn.0041261f
test eax, eax
jne 0x430356
push 0
call fcn.0042c6cc
jmp 0x43067b
push 0x2e
push 0x58893f
call fcn.0054e1ec
add esp, 8
test eax, eax
jne 0x43037b
push 0x560ae4
push 0x58893f
call fcn.0054e1b0
add esp, 8
push esi
lea esi, [ebp - 0x3f0]
mov edi, 0x5887bf
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 0x58893f
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054e1b0
add esp, 8
push esi
mov esi, 0x582088
mov edi, 0x58893f
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.0055422c
add esp, 0x10
mov edi, eax
test edi, edi
jge 0x43040f
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x430589
push 0
call fcn.0055ca2c
pop ecx
push eax
call fcn.00512a24
push eax
lea eax, [esi + 8]
push eax
push 0
push 0xe80
call fcn.0042c771
push eax
lea edx, [ebp - 0x3f0]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.0054e28c
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00553d2c
add esp, 0xc
cmp ebx, eax
je 0x430473
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x430589
cmp dword [esi + 0x6bc], 2
jne 0x430529
cmp dword [esi + 0x6c0], 1
jne 0x430529
push 0
push 0xe81
call fcn.0042c771
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.0054e28c
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.0054e1ec
add esp, 8
test eax, eax
je 0x430529
push 0x560aea
lea ecx, [ebp - 0x3f0]
push ecx
call fcn.0054e1b0
add esp, 8
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054e28c
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00553d2c
add esp, 0xc
cmp ebx, eax
je 0x430529
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x430589
mov eax, dword [esi + 0x684]
test eax, eax
je 0x430589
mov edx, dword [eax + 0x40]
mov dword [ebp - 4], edx
push dword [eax]
push 0x560aed
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054e28c
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00553d2c
add esp, 0xc
cmp ebx, eax
je 0x430582
mov dword [ebp - 8], 1
jmp 0x430589
mov eax, dword [ebp - 4]
test eax, eax
jne 0x430539
push 0
call fcn.0055ca2c
pop ecx
push eax
call fcn.00512a24
push eax
lea edx, [esi + 8]
push edx
push 0
push 0xe82
call fcn.0042c771
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0x10
lea eax, [ebp - 0x3f0]
push eax
call fcn.0054e28c
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x3f0]
push eax
push edi
call fcn.00553d2c
add esp, 0xc
cmp ebx, eax
je 0x4305e3
mov dword [ebp - 8], 1
push edi
call fcn.005516dc
pop ecx
xor edx, edx
mov dword [0x56cd18], edx
cmp dword [ebp - 8], 0
je 0x43063c
push 0x582088
push 0
push 0xe83
call fcn.0042c771
push eax
lea ecx, [ebp - 0x3f0]
push ecx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [0x5618ec]
lea eax, [ebp - 0x3f0]
push eax
mov edx, dword [esi + 0xb6c]
push dword [edx]
call fcn.004f0245
push 0
call fcn.0042c6cc
jmp 0x43067b
push 0x582088
lea ecx, [esi + 8]
push ecx
push 0
push 0xe84
call fcn.0042c771
push eax
lea eax, [ebp - 0x3f0]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0x10
push dword [0x5618ec]
lea edx, [ebp - 0x3f0]
push edx
mov ecx, dword [esi + 0xb6c]
push dword [ecx]
call fcn.004f0245
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4