Function at 0x45ea00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541db3
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 0x45ea26
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
jg 0x45ed55
je 0x45eccc
dec eax
cmp eax, 6
ja case.default.0x45ed63
jmp dword [eax*4 + 0x45f030]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
test esi, esi
je 0x45ea72
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.00502f4a
add esp, 4
mov edx, dword [ebp + 0xc]
push 0
push eax
push edx
lea ecx, [ebp - 0xf4]
call fcn.00443480
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.0051a0bf
mov eax, dword [ebp - 0x58]
cmp eax, 0xfffffffe
je 0x45eae8
test esi, esi
je 0x45eae8
push eax
lea eax, [ebp - 0x48]
push 0x5747b4
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.00517665
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0051705e
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0xffffffff
call fcn.00519cf5
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.0x45ed63
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.00458370
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.0051a9cd
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.0x45ed63
push edi
push eax
lea ecx, [esi + 0x304]
mov dword [esi + 0x808], edi
call fcn.004c8be0
push edi
push 0x599280
mov ecx, esi
mov dword [esi + 0x80c], edi
call fcn.00463480
jmp case.default.0x45ed63
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push 0
push edx
push eax
lea ecx, [esi + 0x304]
call fcn.004d2a60
test eax, eax
je case.default.0x45ed63
mov ecx, dword [ebp + 0x10]
push 0
add ecx, 0x14
call fcn.004d30c0
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.004d2a60
test eax, eax
je case.default.0x45ed63
mov edx, dword [ebp + 0xc]
mov edi, dword [ebx + 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edx + 0x14]
call fcn.004d30c0
test edi, edi
jl case.default.0x45ed63
cmp edi, eax
jge case.default.0x45ed63
mov eax, dword [ebp + 8]
push 0
add edi, eax
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 0x14]
call fcn.004d2250
mov esi, eax
add esi, 0x18
push esi
call fcn.00474090
add esi, eax
push esi
call fcn.00474090
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.00502d90
mov ecx, dword [ebp + 0xc]
add esp, 0x14
add ecx, 0x14
push edi
call fcn.004d22a0
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.0x45ed63
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x45ed3f
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x45ed35
mov ecx, eax
test ecx, ecx
jne 0x45ecf5
xor ecx, ecx
jmp 0x45ecfb
mov ecx, dword [esi + 0x1e8]
push 1
push eax
push ecx
call fcn.004dce60
mov dword [esi + 0x3a8], eax
mov ecx, dword [esi + 0x1f0]
mov eax, ecx
add esp, 0xc
test eax, eax
jne 0x45ed1d
xor eax, eax
jmp 0x45ed23
mov eax, dword [esi + 0x1e8]
push 0
push ecx
push eax
call fcn.004dce60
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.0x45ed63
add eax, 0xfffffc17
cmp eax, 0xd
ja case.default.0x45ed63
jmp dword [eax*4 + 0x45f04c]
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.00450780
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 0x45eeb9
cmp eax, 0x3e8
jbe 0x45eeae
cmp eax, 0x3ee
ja 0x45eeae
cmp eax, 0x3e9
jne 0x45ee10
mov eax, str.samples
jmp 0x45ee4b
cmp eax, 0x3ea
jne 0x45ee1e
mov eax, 0x573480
jmp 0x45ee4b
cmp eax, 0x3eb
jne 0x45ee2c
mov eax, str.help
jmp 0x45ee4b
cmp eax, 0x3ec
jne 0x45ee3a
mov eax, str.ecom
jmp 0x45ee4b
cmp eax, 0x3ed
mov eax, 0x573c74
je 0x45ee4b
mov eax, str.setup
add esi, 0x894
push eax
lea ecx, [ebp - 0x10]
push esi
push ecx
call fcn.0051985f
push 0x57347c
lea edx, [ebp - 0x14]
push eax
push edx
mov dword [ebp - 4], 3
call fcn.0051985f
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.00519616
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519616
jmp case.default.0x45ed63
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
jmp case.default.0x45ed63
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.0x45ed63
mov edi, dword [ebp + 0xc]
test edi, edi
je case.default.0x45ed63
push 0x3c
call fcn.0051a4c6
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x45ef10
mov ecx, eax
call fcn.0051ab7f
mov esi, eax
jmp 0x45ef12
xor esi, esi
push edi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0051afe5
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.0x45ed63
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp case.default.0x45ed63
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je case.default.0x45ed63
call fcn.0051b01e
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.0x45ed63
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.0x45ed63
push esi
call fcn.0051afc7
test eax, eax
jne case.default.0x45ed63
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.default.0x45ed63
mov eax, dword [ecx + 0x1c]
test eax, eax
jne case.default.0x45ed63
push esi
call fcn.0051afe5
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.0x45ed63
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.0045e830
jmp case.default.0x45ed63
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0045e8b0
jmp case.default.0x45ed63
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
call fcn.0045e950
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc