Function at 0x45ca10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cab3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
push esi
push edi
mov esi, ecx
jmp 0x45ca36
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
jg 0x45cd65
je 0x45ccdc
dec eax
cmp eax, 6
ja case.default.0x45cd73
jmp dword [eax*4 + 0x45d040]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
test esi, esi
je 0x45ca82
lea eax, [ebp - 0x48]
push 0x32
push eax
push esi
mov byte [ebp - 0x48], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x48]
push ecx
call fcn.004ffcfa
add esp, 4
mov edx, dword [ebp + 0xc]
push 0
push eax
push edx
lea ecx, [ebp - 0xf4]
call fcn.004412d0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.00514ddf
mov eax, dword [ebp - 0x58]
cmp eax, 0xfffffffe
je 0x45caf8
test esi, esi
je 0x45caf8
push eax
lea eax, [ebp - 0x48]
push 0x56d7b4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call edi
push 0
push 0
push 0xb7
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x58]
mov esi, eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 2
call fcn.00512385
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00511d7e
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0xffffffff
call fcn.00514a15
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esi + 0x8ac]
test esi, esi
je case.default.0x45cd73
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push 0xf
push ecx
mov ecx, esi
call fcn.00456420
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x8ac]
push 1
call fcn.005156ec
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x80c]
xor edi, edi
cmp eax, edi
je case.default.0x45cd73
push edi
push eax
lea ecx, [esi + 0x304]
mov dword [esi + 0x808], edi
call fcn.004c6650
push edi
push 0x591750
mov ecx, esi
mov dword [esi + 0x80c], edi
call fcn.00460fe0
jmp case.default.0x45cd73
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push 0
push edx
push eax
lea ecx, [esi + 0x304]
call fcn.004d0460
test eax, eax
je case.default.0x45cd73
mov ecx, dword [ebp + 0x10]
push 0
add ecx, 0x14
call fcn.004d0ac0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
lea edx, [ebp + 0xc]
push 0
push edx
mov eax, dword [ebx]
lea ecx, [esi + 0x304]
push eax
call fcn.004d0460
test eax, eax
je case.default.0x45cd73
mov edx, dword [ebp + 0xc]
mov edi, dword [ebx + 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edx + 0x14]
call fcn.004d0ac0
test edi, edi
jl case.default.0x45cd73
cmp edi, eax
jge case.default.0x45cd73
mov eax, dword [ebp + 8]
push 0
add edi, eax
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 0x14]
call fcn.004cfc50
mov esi, eax
add esi, 0x18
push esi
call fcn.00471ab0
add esi, eax
push esi
call fcn.00471ab0
mov ecx, dword [esi + eax + 4]
lea eax, [esi + eax + 4]
add eax, 4
mov dword [ebx + 0x10c], ecx
push 0xfa
mov edx, dword [eax]
add eax, 4
not edx
push eax
lea eax, [ebx + 8]
and edx, 1
push eax
mov dword [ebx + 0x110], edx
call fcn.004ffb40
mov ecx, dword [ebp + 0xc]
add esp, 0x14
add ecx, 0x14
push edi
call fcn.004cfca0
pop edi
mov dword [ebx + 0x108], eax
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0xc]
test edi, edi
je case.default.0x45cd73
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x45cd4f
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x45cd45
mov ecx, eax
test ecx, ecx
jne 0x45cd05
xor ecx, ecx
jmp 0x45cd0b
mov ecx, dword [esi + 0x1e8]
push 1
push eax
push ecx
call fcn.004da860
mov dword [esi + 0x3a8], eax
mov ecx, dword [esi + 0x1f0]
mov eax, ecx
add esp, 0xc
test eax, eax
jne 0x45cd2d
xor eax, eax
jmp 0x45cd33
mov eax, dword [esi + 0x1e8]
push 0
push ecx
push eax
call fcn.004da860
add esp, 0xc
mov dword [esi + 0x3ac], eax
mov dword [esi + 0x3a4], 1
mov edx, dword [esi + 0x3a8]
mov dword [edi], edx
mov eax, dword [esi + 0x3ac]
mov dword [edi + 4], eax
jmp case.default.0x45cd73
add eax, 0xfffffc17
cmp eax, 0xd
ja case.default.0x45cd73
jmp dword [eax*4 + 0x45d05c]
lea eax, [esi + 0x304]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
push 0
push ecx
lea ecx, [esi + 0xc0]
call fcn.0044e840
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
call dword [esi + 0x844]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x45cec9
cmp eax, 0x3e8
jbe 0x45cebe
cmp eax, 0x3ee
ja 0x45cebe
cmp eax, 0x3e9
jne 0x45ce20
mov eax, str.samples
jmp 0x45ce5b
cmp eax, 0x3ea
jne 0x45ce2e
mov eax, str.tools
jmp 0x45ce5b
cmp eax, 0x3eb
jne 0x45ce3c
mov eax, str.help
jmp 0x45ce5b
cmp eax, 0x3ec
jne 0x45ce4a
mov eax, str.ecom
jmp 0x45ce5b
cmp eax, 0x3ed
mov eax, 0x56cc74
je 0x45ce5b
mov eax, str.setup
add esi, 0x894
push eax
lea ecx, [ebp - 0x10]
push esi
push ecx
call fcn.0051457f
push 0x56c47c
lea edx, [ebp - 0x14]
push eax
push edx
mov dword [ebp - 4], 3
call fcn.0051457f
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
call fcn.00514336
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00514336
jmp case.default.0x45cd73
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
jmp case.default.0x45cd73
mov edi, dword [esi + 0x894]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp case.default.0x45cd73
mov edi, dword [ebp + 0xc]
test edi, edi
je case.default.0x45cd73
push 0x3c
call fcn.005151e5
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x45cf20
mov ecx, eax
call fcn.0051589e
mov esi, eax
jmp 0x45cf22
xor esi, esi
push edi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00515d04
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je case.default.0x45cd73
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp case.default.0x45cd73
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je case.default.0x45cd73
call fcn.00515d3d
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
je case.default.0x45cd73
mov eax, dword [eax + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0xc]
test esi, esi
je case.default.0x45cd73
push esi
call fcn.00515ce6
test eax, eax
jne case.default.0x45cd73
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.default.0x45cd73
mov eax, dword [ecx + 0x1c]
test eax, eax
jne case.default.0x45cd73
push esi
call fcn.00515d04
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
test eax, eax
je case.default.0x45cd73
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0045c840
jmp case.default.0x45cd73
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0045c8c0
jmp case.default.0x45cd73
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
call fcn.0045c960
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc