Function at 0x45b66d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, 1
push 0x20
mov eax, dword [ebx]
push dword [eax + 0xc]
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45beb1
inc eax
cmp byte [eax], 0
je 0x45beb1
mov edx, dword [ebx]
mov dword [edx + 0xc], eax
test esi, esi
je 0x45b6b6
test esi, esi
je 0x45b6c3
cmp dword [esi + 0x6bc], 2
jne 0x45b6c3
test byte [0x5685e4], 0x20
jne 0x45beb1
test esi, esi
je 0x45b8d2
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [0x56acb4], 0
je 0x45b6f8
push 0
lea eax, [ebp - 4]
push eax
push 1
push 5
push 0x56107c
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
mov edi, eax
test edi, edi
je 0x45b844
push esi
call fcn.0051df69
test eax, eax
je 0x45b844
xor eax, eax
mov dword [0x56ac00], eax
mov dword [0x56ac04], 2
mov dword [0x56ac08], 1
mov dword [0x56ac0c], 1
mov dword [0x56ac10], 1
mov dword [0x56ac14], 1
cmp dword [ebx + 0x404], 0
je 0x45b7e4
mov edi, dword [0x55f8a8]
push dword [ebx + 0xef0]
mov eax, dword [ebx]
push dword [eax]
push 2
push esi
call fcn.0043fa52
push eax
push 0x561084
lea edx, [ebx + 0x720]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
test byte [ebx + 0x404], 2
je 0x45b79e
push 0x56108b
lea ecx, [ebx + 0x720]
push ecx
call fcn.0054c1f4
add esp, 8
test byte [ebx + 0x404], 4
je 0x45b7bb
push 0x56108e
lea eax, [ebx + 0x720]
push eax
call fcn.0054c1f4
add esp, 8
mov edx, dword [ebx]
push dword [edx + 8]
push 0x561091
lea ecx, [ebx + 0x720]
push ecx
call fcn.0054c2d0
pop ecx
add eax, ebx
add eax, 0x720
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x45b811
mov edi, dword [0x55f894]
push dword [ebx + 0xef0]
mov eax, dword [ebx]
push dword [eax]
push 2
push esi
call fcn.0043fa52
push eax
push 0x561096
lea edx, [ebx + 0x720]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
lea ecx, [ebx + 0x720]
push ecx
push 3
call fcn.004e45c5
mov dword [0x56ac24], 1
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [0x56457c], edx
push edi
lea ecx, [ebx + 0x720]
push ecx
push dword [esi]
call fcn.004ee447
push esi
call fcn.0051df69
test eax, eax
je 0x45b8a3
cmp dword [esi + 0x6bc], 1
jne 0x45b87e
cmp dword [0x55c5e4], 0
je 0x45b8a3
push 1
push esi
call fcn.00409764
test eax, eax
je 0x45b8a3
push 0
push dword [ebx + 0xef0]
push 2
push ebx
call fcn.00409a7e
jmp 0x45b8a3
cmp dword [0x55c608], 0
je 0x45b8a3
push 2
push esi
call fcn.00409764
test eax, eax
je 0x45b8a3
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a7e
cmp dword [0x56acb4], 0
je 0x45beb1
push 0
lea eax, [ebp - 4]
push eax
push 0
push 5
push 0x56109d
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
jmp 0x45beb1
cmp dword [0x56a1c4], 0
je 0x45ba4d
cmp dword [0x56a1c8], 0
je 0x45b90e
push dword [ebx + 0xef0]
push dword [ebx + 0x3f8]
mov edx, dword [ebx]
push dword [edx]
call fcn.004d6f34
test eax, eax
je 0x45b90e
cmp dword [eax + 0x29c], 1
je 0x45ba4d
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [0x56acb4], 0
je 0x45b93b
push 0
lea eax, [ebp - 4]
push eax
push 1
push 5
push 0x5610a5
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
mov edi, eax
test edi, edi
je 0x45b9e8
push ebx
call fcn.004beb1b
test eax, eax
je 0x45beb1
xor eax, eax
mov dword [0x56ac00], eax
mov dword [0x56ac04], 2
mov dword [0x56ac08], 1
mov dword [0x56ac0c], 1
mov dword [0x56ac10], 1
mov dword [0x56ac14], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 2
push 0
call fcn.0043fa52
push eax
push 0x5610ad
lea esi, [ebx + 0x720]
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push esi
push 3
call fcn.004e45c5
mov dword [0x56ac24], 1
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [0x56457c], edx
push dword [0x55f894]
push esi
mov ecx, dword [ebx + 0xef0]
push dword [ecx + 0x1b78]
call fcn.004ee447
cmp dword [0x55c608], 0
je 0x45ba1e
push 2
mov eax, dword [ebx + 0xef0]
push dword [eax + 0x1b78]
call fcn.0051dd0a
push eax
call fcn.00409764
test eax, eax
je 0x45ba1e
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a7e
cmp dword [0x56acb4], 0
je 0x45beb1
push 0
lea edx, [ebp - 4]
push edx
push 0
push 5
push 0x5610b4
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
jmp 0x45beb1
cmp dword [0x56a208], 0
je 0x45bbb2
push dword [0x56cef4]
call fcn.0051dd0a
mov esi, eax
test esi, esi
je 0x45bbb2
mov eax, dword [esi + 0xb6c]
cmp eax, dword [ebx + 0xef0]
jne 0x45bbb2
cmp dword [esi + 0x6bc], 1
jne 0x45bbb2
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [0x56acb4], 0
je 0x45babb
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 5
push 0x5610bc
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
mov edi, eax
test edi, edi
je 0x45bb5e
push esi
call fcn.0051df69
test eax, eax
je 0x45bb5e
xor eax, eax
mov dword [0x56ac00], eax
mov dword [0x56ac04], 2
mov dword [0x56ac08], 1
mov dword [0x56ac0c], 1
mov dword [0x56ac10], 1
mov dword [0x56ac14], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 1
push 0
call fcn.0043fa52
push eax
push 0x5610c4
lea edi, [ebx + 0x720]
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push edi
push 3
call fcn.004e45c5
mov dword [0x56ac24], 1
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [0x56457c], edx
push dword [0x55f8a8]
push edi
push dword [esi]
call fcn.004ee447
cmp dword [0x55c608], 0
je 0x45bb83
push 2
push esi
call fcn.00409764
test eax, eax
je 0x45bb83
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a7e
cmp dword [0x56acb4], 0
je 0x45beb1
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 5
push 0x5610cb
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
jmp 0x45beb1
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x56acb4], 0
je 0x45bbeb
push 0
lea edx, [ebp - 4]
push edx
push 1
push 0x2d
push 0x5610d3
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
test eax, eax
jne 0x45bbe3
xor edi, edi
test edi, edi
je 0x45beb1
lea eax, [ebx + 0x720]
mov edx, dword [ebx]
mov ecx, dword [edx]
push edi
mov esi, eax
mov edi, ecx
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
push dword [ebx + 0xef0]
lea eax, [ebx + 0x720]
push eax
call fcn.00412db7
mov esi, eax
test esi, esi
jne 0x45bc6c
push dword [ebx + 0xef0]
push 0
push 1
push 2
lea eax, [ebx + 0x720]
push eax
call fcn.00524566
test eax, eax
je 0x45beb1
push dword [ebx + 0xef0]
lea edx, [ebx + 0x720]
push edx
call fcn.00412db7
mov esi, eax
test esi, esi
je 0x45beb1
push ebx
push esi
call fcn.004bcf81
cmp dword [esi + 0x6bc], 2
jne 0x45bce4
cmp dword [esi + 0x6c0], 1
jne 0x45bce4
lea eax, [ebx + 0xb07]
push eax
push 0x641
call fcn.0042c564
push 0x104
lea edx, [ebx + 0xb07]
push edx
call fcn.0054c2d0
pop ecx
add eax, ebx
add eax, 0xb07
push eax
push dword [esi]
call sub.USER32.dll_GetWindowTextA
push 0x40
lea ecx, [ebx + 0xb07]
push ecx
call fcn.0054c230
add esp, 8
test eax, eax
je 0x45bce4
cmp dword [esi + 0x66c], 0
je 0x45bce4
push 0
lea eax, [ebx + 0xb07]
push eax
push esi
call fcn.004c8710
cmp dword [0x56a1a8], 0
je 0x45bd3f
cmp dword [0x561078], 0
je 0x45bd02
push 5
push ebx
call fcn.0045b568
test eax, eax
je 0x45bd3f
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push dword [esi]
call fcn.004bdd0c
mov ecx, dword [ebx]
push dword [ecx]
push 0x5610d9
lea eax, [ebx + 0x720]
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx + 0xef0]
push 1
lea edx, [ebx + 0x720]
push edx
call fcn.00525f63
cmp dword [0x56a1d4], 0
je 0x45bd7e
cmp dword [0x569de8], 1
jne 0x45bd5e
push dword [0x56a1e0]
call fcn.0042c48d
jmp 0x45bd7e
cmp dword [0x569de8], 2
jne 0x45bd7e
push dword [ebx + 0xef0]
push 1
push 0
push 0
call fcn.00477d00
push eax
call fcn.0050b5a6
cmp dword [0x56acb4], 0
je 0x45bda4
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2d
push 0x5610e4
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x56acb4], 0
je 0x45bdd1
push 0
lea edx, [ebp - 4]
push edx
push 1
push 5
push 0x5610ea
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
mov edi, eax
test edi, edi
je 0x45be66
xor eax, eax
mov dword [0x56ac00], eax
mov dword [0x56ac04], 2
mov dword [0x56ac08], 1
mov dword [0x56ac0c], 1
mov dword [0x56ac10], 1
mov dword [0x56ac14], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 2
push 0
call fcn.0043fa52
push eax
push 0x5610f2
lea edi, [ebx + 0x720]
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push edi
push 3
call fcn.004e45c5
mov dword [0x56ac24], 1
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [0x56457c], edx
push dword [0x55f894]
push edi
push dword [esi]
call fcn.004ee447
cmp dword [0x55c608], 0
je 0x45be8b
push 2
push esi
call fcn.00409764
test eax, eax
je 0x45be8b
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a7e
cmp dword [0x56acb4], 0
je 0x45beb1
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 5
push 0x5610f9
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fd2f4
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8