Function at 0x45abf5
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.0054e1ec
add esp, 8
test eax, eax
je 0x45b449
inc eax
cmp byte [eax], 0
je 0x45b449
mov edx, dword [ebx]
mov dword [edx + 0xc], eax
test esi, esi
je 0x45ac3e
test esi, esi
je 0x45ac4b
cmp dword [esi + 0x6bc], 2
jne 0x45ac4b
test byte [0x56a69c], 0x20
jne 0x45b449
test esi, esi
je 0x45ae5e
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [0x56cdd8], 0
je 0x45ac80
push 0
lea eax, [ebp - 4]
push eax
push 1
push 5
push 0x563094
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
mov edi, eax
test edi, edi
je 0x45add0
push esi
call fcn.0051fd59
test eax, eax
je 0x45add0
xor eax, eax
mov dword [0x56cd18], eax
mov dword [0x56cd1c], 2
mov dword [0x56cd20], 1
mov dword [0x56cd24], 1
mov dword [0x56cd28], 1
mov dword [0x56cd2c], 1
cmp dword [ebx + 0x404], 0
je 0x45ad6c
mov edi, dword [0x5618f4]
push dword [ebx + 0xef0]
mov eax, dword [ebx]
push dword [eax]
push 2
push esi
call fcn.0043fe56
push eax
push 0x56309c
lea edx, [ebx + 0x720]
push edx
call sub.USER32.dll_wsprintfA
add esp, 0xc
test byte [ebx + 0x404], 2
je 0x45ad26
push 0x5630a3
lea ecx, [ebx + 0x720]
push ecx
call fcn.0054e1b0
add esp, 8
test byte [ebx + 0x404], 4
je 0x45ad43
push 0x5630a6
lea eax, [ebx + 0x720]
push eax
call fcn.0054e1b0
add esp, 8
mov edx, dword [ebx]
push dword [edx + 8]
push 0x5630a9
lea ecx, [ebx + 0x720]
push ecx
call fcn.0054e28c
pop ecx
add eax, ebx
add eax, 0x720
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x45ad99
mov edi, dword [0x5618e0]
push dword [ebx + 0xef0]
mov eax, dword [ebx]
push dword [eax]
push 2
push esi
call fcn.0043fe56
push eax
push 0x5630ae
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.004e56b5
mov dword [0x56cd3c], 1
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [0x56cd40], eax
mov dword [0x56cd44], eax
push edi
lea edx, [ebx + 0x720]
push edx
push dword [esi]
call fcn.004ef55b
push esi
call fcn.0051fd59
test eax, eax
je 0x45ae2f
cmp dword [esi + 0x6bc], 1
jne 0x45ae0a
cmp dword [0x55e5e4], 0
je 0x45ae2f
push 1
push esi
call fcn.0040976c
test eax, eax
je 0x45ae2f
push 0
push dword [ebx + 0xef0]
push 2
push ebx
call fcn.00409a86
jmp 0x45ae2f
cmp dword [0x55e608], 0
je 0x45ae2f
push 2
push esi
call fcn.0040976c
test eax, eax
je 0x45ae2f
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a86
cmp dword [0x56cdd8], 0
je 0x45b449
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 5
push 0x5630b5
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
jmp 0x45b449
cmp dword [0x56c2dc], 0
je 0x45afdd
cmp dword [0x56c2e0], 0
je 0x45ae9a
push dword [ebx + 0xef0]
push dword [ebx + 0x3f8]
mov eax, dword [ebx]
push dword [eax]
call fcn.004d7d20
test eax, eax
je 0x45ae9a
cmp dword [eax + 0x29c], 1
je 0x45afdd
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [0x56cdd8], 0
je 0x45aec7
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 5
push 0x5630bd
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
mov edi, eax
test edi, edi
je 0x45af78
push ebx
call fcn.004be9cc
test eax, eax
je 0x45b449
xor eax, eax
mov dword [0x56cd18], eax
mov dword [0x56cd1c], 2
mov dword [0x56cd20], 1
mov dword [0x56cd24], 1
mov dword [0x56cd28], 1
mov dword [0x56cd2c], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 2
push 0
call fcn.0043fe56
push eax
push 0x5630c5
lea esi, [ebx + 0x720]
push esi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push esi
push 3
call fcn.004e56b5
mov dword [0x56cd3c], 1
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [0x56cd40], eax
mov dword [0x56cd44], eax
push dword [0x5618e0]
push esi
mov edx, dword [ebx + 0xef0]
push dword [edx + 0x1b78]
call fcn.004ef55b
cmp dword [0x55e608], 0
je 0x45afae
push 2
mov ecx, dword [ebx + 0xef0]
push dword [ecx + 0x1b78]
call fcn.0051fafa
push eax
call fcn.0040976c
test eax, eax
je 0x45afae
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a86
cmp dword [0x56cdd8], 0
je 0x45b449
push 0
lea eax, [ebp - 4]
push eax
push 0
push 5
push 0x5630cc
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
jmp 0x45b449
cmp dword [0x56c320], 0
je 0x45b146
push dword [0x56f024]
call fcn.0051fafa
mov esi, eax
test esi, esi
je 0x45b146
mov eax, dword [esi + 0xb6c]
cmp eax, dword [ebx + 0xef0]
jne 0x45b146
cmp dword [esi + 0x6bc], 1
jne 0x45b146
xor edx, edx
mov dword [ebp - 4], edx
cmp dword [0x56cdd8], 0
je 0x45b04b
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 5
push 0x5630d4
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
mov edi, eax
test edi, edi
je 0x45b0f2
push esi
call fcn.0051fd59
test eax, eax
je 0x45b0f2
xor eax, eax
mov dword [0x56cd18], eax
mov dword [0x56cd1c], 2
mov dword [0x56cd20], 1
mov dword [0x56cd24], 1
mov dword [0x56cd28], 1
mov dword [0x56cd2c], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 1
push 0
call fcn.0043fe56
push eax
push 0x5630dc
lea edi, [ebx + 0x720]
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push edi
push 3
call fcn.004e56b5
mov dword [0x56cd3c], 1
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [0x56cd40], eax
mov dword [0x56cd44], eax
push dword [0x5618f4]
push edi
push dword [esi]
call fcn.004ef55b
cmp dword [0x55e608], 0
je 0x45b117
push 2
push esi
call fcn.0040976c
test eax, eax
je 0x45b117
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a86
cmp dword [0x56cdd8], 0
je 0x45b449
push 0
lea edx, [ebp - 4]
push edx
push 0
push 5
push 0x5630e3
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
jmp 0x45b449
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [0x56cdd8], 0
je 0x45b17f
push 0
lea eax, [ebp - 4]
push eax
push 1
push 0x2d
push 0x5630eb
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
test eax, eax
jne 0x45b177
xor edi, edi
test edi, edi
je 0x45b449
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.00412c63
mov esi, eax
test esi, esi
jne 0x45b200
push dword [ebx + 0xef0]
push 0
push 1
push 2
lea eax, [ebx + 0x720]
push eax
call fcn.0052637f
test eax, eax
je 0x45b449
push dword [ebx + 0xef0]
lea edx, [ebx + 0x720]
push edx
call fcn.00412c63
mov esi, eax
test esi, esi
je 0x45b449
push ebx
push esi
call fcn.004bce01
cmp dword [esi + 0x6bc], 2
jne 0x45b278
cmp dword [esi + 0x6c0], 1
jne 0x45b278
lea eax, [ebx + 0xb07]
push eax
push 0x641
call fcn.0042c771
push 0x104
lea edx, [ebx + 0xb07]
push edx
call fcn.0054e28c
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.0054e1ec
add esp, 8
test eax, eax
je 0x45b278
cmp dword [esi + 0x66c], 0
je 0x45b278
push 0
lea eax, [ebx + 0xb07]
push eax
push esi
call fcn.004c86d8
cmp dword [0x56c2c0], 0
je 0x45b2d3
cmp dword [0x563090], 0
je 0x45b296
push 5
push ebx
call fcn.0045aaf0
test eax, eax
je 0x45b2d3
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push dword [esi]
call fcn.004bdbbd
mov ecx, dword [ebx]
push dword [ecx]
push 0x5630f1
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.00527eaf
cmp dword [0x56c2ec], 0
je 0x45b312
cmp dword [0x56bef4], 1
jne 0x45b2f2
push dword [0x56c2f8]
call fcn.0042c69a
jmp 0x45b312
cmp dword [0x56bef4], 2
jne 0x45b312
push dword [ebx + 0xef0]
push 1
push 0
push 0
call fcn.00477504
push eax
call fcn.0050d13a
cmp dword [0x56cdd8], 0
je 0x45b338
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2d
push 0x5630fc
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x56cdd8], 0
je 0x45b365
push 0
lea edx, [ebp - 4]
push edx
push 1
push 5
push 0x563102
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
mov edi, eax
test edi, edi
je 0x45b3fe
xor eax, eax
mov dword [0x56cd18], eax
mov dword [0x56cd1c], 2
mov dword [0x56cd20], 1
mov dword [0x56cd24], 1
mov dword [0x56cd28], 1
mov dword [0x56cd2c], 1
push dword [ebx + 0xef0]
mov edx, dword [ebx]
push dword [edx]
push 2
push 0
call fcn.0043fe56
push eax
push 0x56310a
lea edi, [ebx + 0x720]
push edi
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebx]
push edi
push 3
call fcn.004e56b5
mov dword [0x56cd3c], 1
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [0x56cd40], eax
mov dword [0x56cd44], eax
push dword [0x5618e0]
push edi
push dword [esi]
call fcn.004ef55b
cmp dword [0x55e608], 0
je 0x45b423
push 2
push esi
call fcn.0040976c
test eax, eax
je 0x45b423
push 0
push dword [ebx + 0xef0]
push 4
push ebx
call fcn.00409a86
cmp dword [0x56cdd8], 0
je 0x45b449
push 0
lea edx, [ebp - 4]
push edx
push 0
push 5
push 0x563111
push ebx
push 0
push dword [ebx + 0xef0]
call fcn.004fecf0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8