Function at 0x464b9e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], 0
jne 0x464bf6
push 0x63
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push esi
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call fcn.004e5890
mov edi, eax
cmp edi, 1
jne 0x464bef
cmp dword [esi + 8], 1
je 0x464bef
cmp dword [esi + 8], 2
je 0x464bef
cmp dword [esi + 8], 3
je 0x464bef
push 6
push dword [ebp + 0x1c]
push esi
call fcn.00479a18
jmp 0x46556b
mov eax, edi
jmp 0x46556b
cmp dword [esi + 0x40], 0
jne 0x464c06
mov eax, 2
jmp 0x46556b
cmp dword [esi + 8], 2
jl 0x464c1f
mov edx, dword [esi + 0x40]
cmp dword [edx + 0x40], 0
jne 0x464c1f
mov eax, 2
jmp 0x46556b
cmp dword [esi + 8], 3
jne 0x464c3b
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0x40]
cmp dword [ecx + 0x40], 0
jne 0x464c3b
mov eax, 2
jmp 0x46556b
mov edx, dword [esi + 0x40]
cmp dword [edx + 0x1c], 1
je 0x464c4e
mov eax, 1
jmp 0x46556b
cmp dword [esi + 8], 2
jl 0x464c6a
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0x40]
cmp dword [ecx + 0x1c], 1
je 0x464c6a
mov eax, 1
jmp 0x46556b
cmp dword [esi + 8], 3
jne 0x464c89
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0x40]
mov eax, dword [ecx + 0x40]
cmp dword [eax + 0x1c], 1
je 0x464c89
mov eax, 1
jmp 0x46556b
mov edx, dword [esi + 0x40]
cmp dword [edx + 0xc], 0
jne 0x46555b
cmp dword [esi + 8], 2
jl 0x464cac
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x40]
cmp dword [eax + 0xc], 0
jne 0x46555b
mov eax, dword [esi + 8]
cmp eax, 3
jne 0x464cc7
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0x40]
mov edx, dword [ecx + 0x40]
cmp dword [edx + 0xc], 0
jne 0x46555b
dec eax
jne 0x465272
mov eax, dword [esi + 0x40]
push dword [eax]
call fcn.004e54ab
test eax, eax
je 0x464cf8
mov ecx, dword [esi + 0x40]
push dword [ecx]
call fcn.005570e0
pop ecx
mov edi, eax
cmp edi, 0x270e
jle 0x464cfd
mov edi, 0x270e
jmp 0x464cfd
mov edi, 0x270f
test edi, edi
jg 0x464d2e
xor edi, edi
mov ebx, dword [0x563368]
test ebx, ebx
je 0x464d18
inc edi
mov ebx, dword [ebx + 0x1018]
test ebx, ebx
jne 0x464d0d
push edi
push 0x56390a
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
mov ebx, dword [0x563368]
test ebx, ebx
je 0x464d69
cmp edi, 0x270f
jne 0x464d56
push ebx
mov eax, dword [esi + 0x40]
push dword [eax]
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464d5f
xor edi, edi
jmp 0x464d69
dec edi
test edi, edi
jg 0x464d5f
xor edi, edi
jmp 0x464d69
mov ebx, dword [ebx + 0x1018]
test ebx, ebx
jne 0x464d38
test ebx, ebx
je 0x46555b
test edi, edi
jne 0x46555b
cmp dword [esi + 0x10], 0
je 0x465247
push 0x2e
push dword [esi]
call fcn.0054e574
add esp, 8
mov edi, eax
test eax, eax
je 0x465247
push 0x56390e
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464dd2
lea edx, [ebp - 0x10]
push edx
push dword [ebx + 0xc8]
call sub.USER32.dll_GetWindowRect
push dword [ebp - 0x10]
push 0x563912
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x563916
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464e0b
lea ecx, [ebp - 0x10]
push ecx
push dword [ebx + 0xc8]
call sub.USER32.dll_GetWindowRect
push dword [ebp - 0xc]
push 0x56391a
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x56391e
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464e48
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0xc8]
call sub.USER32.dll_GetWindowRect
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
push 0x563922
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x563926
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464e85
lea ecx, [ebp - 0x10]
push ecx
push dword [ebx + 0xc8]
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push 0x56392a
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x56392e
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464ec2
lea edx, [ebp - 0x10]
push edx
push dword [ebx + 0xc8]
call sub.USER32.dll_GetClientRect
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
push 0x563933
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x563937
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464eff
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0xc8]
call sub.USER32.dll_GetClientRect
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
push 0x56393c
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x563940
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464f29
push 0x180
push dword [ebp + 0x14]
push dword [ebx + 0xc8]
call sub.USER32.dll_GetWindowTextA
jmp 0x46555b
push str..modal
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464f71
cmp dword [ebx + 0x158], 0
je 0x464f5a
mov ecx, dword [ebp + 0x14]
push esi
mov esi, 0x563950
mov edi, ecx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x46555b
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x563957
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46555b
push str..table
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464fb1
add ebx, 0x64
mov eax, dword [ebp + 0x14]
push esi
mov edi, ebx
mov esi, eax
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
jmp 0x46555b
push 0x563967
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x464ff7
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x46555b
mov edi, eax
add edi, 0xffffe890
test edi, edi
jle 0x46555b
push edi
push 0x56396c
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push str..cancel
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x46503d
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x46555b
mov edi, eax
add edi, 0xffffe890
test edi, edi
jle 0x46555b
push edi
push 0x563979
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push str..result
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x465083
mov eax, dword [ebx + 0xe8]
test eax, eax
je 0x46555b
mov edi, eax
add edi, 0xffffe890
test edi, edi
jle 0x46555b
push edi
push 0x563986
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push str..focus
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x465122
call sub.USER32.dll_GetFocus
mov edi, eax
test edi, edi
je 0x46555b
push edi
call sub.USER32.dll_GetParent
cmp eax, dword [ebx + 0xc8]
jne 0x46555b
push edi
call sub.USER32.dll_GetDlgCtrlID
mov edi, eax
test edi, edi
je 0x46555b
cmp dword [ebx + 0x1a8], 0
je 0x465106
cmp edi, 0x68
jne 0x465106
imul eax, dword [ebx + 0xfdc], 0x17
push dword [ebx + eax*4 + 0x1a8]
call sub.USER32.dll_GetDlgCtrlID
add eax, 0xffffe890
push eax
push 0x563992
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
add edi, 0xffffe890
push edi
push 0x563996
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push str..active
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x4651c9
call sub.USER32.dll_GetFocus
mov edi, eax
test edi, edi
je 0x465167
push edi
call sub.USER32.dll_GetParent
cmp eax, dword [ebx + 0xc8]
jne 0x465167
mov eax, dword [ebp + 0x14]
push esi
mov esi, 0x5639a3
mov edi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x46555b
test edi, edi
je 0x465189
cmp edi, dword [ebx + 0xc8]
jne 0x465189
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x5639aa
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x46555b
call sub.USER32.dll_GetActiveWindow
mov edi, eax
test edi, edi
je 0x4651b2
cmp edi, dword [ebx + 0xc8]
jne 0x4651b2
mov eax, dword [ebp + 0x14]
push esi
mov esi, 0x5639b1
mov edi, eax
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
jmp 0x46555b
mov edx, dword [ebp + 0x14]
push esi
mov esi, 0x5639b8
mov edi, edx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46555b
push str..tab
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x465216
cmp dword [ebx + 0x1a8], 0
je 0x46555b
imul edx, dword [ebx + 0xfdc], 0x17
push dword [ebx + edx*4 + 0x1a8]
call sub.USER32.dll_GetDlgCtrlID
add eax, 0xffffe890
push eax
push 0x5639c6
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
push 0x5639ca
push edi
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x46555b
push dword [ebx + 0xc8]
push 0x5639d1
push dword [ebp + 0x14]
call sub.USER32.dll_wsprintfA
add esp, 0xc
jmp 0x46555b
mov ecx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov edi, ebx
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
jmp 0x46555b
cmp dword [ebp + 0x20], 0
je 0x46528e
push 0x5803c4
push 0x67f
call fcn.0042c771
xor eax, eax
jmp 0x46556b
mov edx, dword [esi + 0x40]
push dword [edx]
call fcn.0054e28c
pop ecx
cmp eax, 0x5a
jbe 0x4652a7
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
mov byte [eax + 0x5a], 0
mov edx, dword [esi + 0x40]
push dword [edx]
call fcn.004e54ab
test eax, eax
je 0x4652db
mov ecx, dword [esi + 0x40]
push dword [ecx]
push 0
push 0x680
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x46556b
mov edx, dword [esi + 0x40]
push dword [edx]
call fcn.0045d623
mov ebx, eax
test ebx, ebx
je 0x465311
mov eax, dword [esi + 0x40]
push dword [eax]
push 0
push 0x681
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x46556b
call fcn.0045d314
mov ebx, eax
test ebx, ebx
jne 0x46532c
push 8
push dword [ebp + 0x1c]
push esi
call fcn.00479a18
jmp 0x46556b
cmp dword [esi + 8], 1
jne 0x465387
mov eax, dword [esi + 0x40]
mov edx, dword [eax]
push esi
mov edi, edx
mov esi, ebx
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
lea eax, [ebx + 0x64]
mov edx, dword [esi + 0x40]
mov ecx, dword [edx]
push esi
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 esi
jmp 0x465402
cmp dword [esi + 8], 2
jl 0x465402
mov eax, dword [esi + 0x40]
mov edx, dword [eax]
push esi
mov edi, edx
mov esi, ebx
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
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x40]
push dword [edx]
call fcn.0054e28c
pop ecx
cmp eax, 0x5a
jbe 0x4653d4
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax]
mov byte [edx + 0x5a], 0
lea ecx, [ebx + 0x64]
mov eax, dword [esi + 0x40]
mov edx, dword [eax + 0x40]
mov eax, dword [edx]
push esi
mov esi, ecx
mov edi, eax
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 [ebx + 0xc8], eax
mov edx, dword [ebp + 0x24]
mov dword [ebx + 0xffc], edx
mov ecx, dword [ebp + 0x28]
mov dword [ebx + 0x1004], ecx
push ebx
call fcn.0045ed46
test eax, eax
jne 0x46544c
push ebx
call fcn.0045d4b1
cmp byte [0x5803c4], 0
jne 0x465445
push 6
push dword [ebp + 0x1c]
push esi
call fcn.00479a18
jmp 0x46556b
xor eax, eax
jmp 0x46556b
cmp dword [esi + 8], 3
jne 0x4654ee
mov edx, dword [esi + 0x40]
mov ecx, dword [edx + 0x40]
mov eax, dword [ecx + 0x40]
push dword [eax]
call fcn.005570e0
pop ecx
mov edi, eax
cmp edi, 0xffffffff
jne 0x465478
call sub.USER32.dll_GetDesktopWindow
mov dword [ebp + 8], eax
jmp 0x4654ee
cmp edi, 0xfffffffe
jne 0x465487
mov eax, dword [0x56f018]
mov dword [ebp + 8], eax
jmp 0x4654ee
cmp edi, 0xfffffffd
jne 0x4654a6
mov edx, dword [0x56f024]
mov dword [ebp + 8], edx
cmp dword [ebp + 8], 0
jne 0x4654ee
mov ecx, dword [0x56f018]
mov dword [ebp + 8], ecx
jmp 0x4654ee
cmp edi, 0xfffffffc
jne 0x4654d2
call sub.USER32.dll_GetActiveWindow
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x4654c1
mov eax, dword [0x56f024]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x4654ee
mov edx, dword [0x56f018]
mov dword [ebp + 8], edx
jmp 0x4654ee
push dword [ebp + 0x28]
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + 0x40]
push dword [edx]
call fcn.00412c63
test eax, eax
je 0x4654ee
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0xcc], eax
mov edx, dword [ebp + 0x14]
mov dword [ebx + 0xec], edx
push ebx
call fcn.0045ea47
mov edi, eax
test edi, edi
jg 0x46553e
push ebx
call fcn.0045d4b1
cmp byte [0x5803c4], 0
jne 0x46553a
mov eax, dword [esi + 0x40]
push dword [eax]
push 0
push 0x682
call fcn.0042c771
push eax
push 0x5803c4
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor eax, eax
jmp 0x46556b
push ebx
call fcn.0045d4b1
jmp 0x46555b
push dword [esi + 0x40]
mov edx, dword [ebp + 0xc]
push dword [edx]
call fcn.004c6c7e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
dec dword [esi + 8]
cmp dword [esi + 8], 0
jg 0x465546
xor eax, eax
mov dword [esi + 8], eax
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24