Function at 0x45ed80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542173
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 0x45eda6
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
jg 0x45f0d5
je 0x45f04c
dec eax
cmp eax, 6
ja case.default.0x45f0e3
jmp dword [eax*4 + 0x45f3b0]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
test esi, esi
je 0x45edf2
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.005032aa
add esp, 4
mov edx, dword [ebp + 0xc]
push 0
push eax
push edx
lea ecx, [ebp - 0xf4]
call fcn.004437d0
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.0051a41f
mov eax, dword [ebp - 0x58]
cmp eax, 0xfffffffe
je 0x45ee68
test esi, esi
je 0x45ee68
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.005179c5
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.005173be
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0xffffffff
call fcn.0051a055
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.0x45f0e3
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.004586f0
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.0051ad2d
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.0x45f0e3
push edi
push eax
lea ecx, [esi + 0x304]
mov dword [esi + 0x808], edi
call fcn.004c8f70
push edi
push 0x599310
mov ecx, esi
mov dword [esi + 0x80c], edi
call fcn.00463800
jmp case.default.0x45f0e3
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push 0
push edx
push eax
lea ecx, [esi + 0x304]
call fcn.004d2df0
test eax, eax
je case.default.0x45f0e3
mov ecx, dword [ebp + 0x10]
push 0
add ecx, 0x14
call fcn.004d3450
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.004d2df0
test eax, eax
je case.default.0x45f0e3
mov edx, dword [ebp + 0xc]
mov edi, dword [ebx + 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edx + 0x14]
call fcn.004d3450
test edi, edi
jl case.default.0x45f0e3
cmp edi, eax
jge case.default.0x45f0e3
mov eax, dword [ebp + 8]
push 0
add edi, eax
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 0x14]
call fcn.004d25e0
mov esi, eax
add esi, 0x18
push esi
call fcn.00474410
add esi, eax
push esi
call fcn.00474410
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.005030f0
mov ecx, dword [ebp + 0xc]
add esp, 0x14
add ecx, 0x14
push edi
call fcn.004d2630
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.0x45f0e3
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x45f0bf
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x45f0b5
mov ecx, eax
test ecx, ecx
jne 0x45f075
xor ecx, ecx
jmp 0x45f07b
mov ecx, dword [esi + 0x1e8]
push 1
push eax
push ecx
call fcn.004dd1f0
mov dword [esi + 0x3a8], eax
mov ecx, dword [esi + 0x1f0]
mov eax, ecx
add esp, 0xc
test eax, eax
jne 0x45f09d
xor eax, eax
jmp 0x45f0a3
mov eax, dword [esi + 0x1e8]
push 0
push ecx
push eax
call fcn.004dd1f0
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.0x45f0e3
add eax, 0xfffffc17
cmp eax, 0xd
ja case.default.0x45f0e3
jmp dword [eax*4 + 0x45f3cc]
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.00450af0
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 0x45f239
cmp eax, 0x3e8
jbe 0x45f22e
cmp eax, 0x3ee
ja 0x45f22e
cmp eax, 0x3e9
jne 0x45f190
mov eax, str.samples
jmp 0x45f1cb
cmp eax, 0x3ea
jne 0x45f19e
mov eax, 0x573480
jmp 0x45f1cb
cmp eax, 0x3eb
jne 0x45f1ac
mov eax, str.help
jmp 0x45f1cb
cmp eax, 0x3ec
jne 0x45f1ba
mov eax, str.ecom
jmp 0x45f1cb
cmp eax, 0x3ed
mov eax, 0x573c74
je 0x45f1cb
mov eax, str.setup
add esi, 0x894
push eax
lea ecx, [ebp - 0x10]
push esi
push ecx
call fcn.00519bbf
push 0x57347c
lea edx, [ebp - 0x14]
push eax
push edx
mov dword [ebp - 4], 3
call fcn.00519bbf
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.00519976
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519976
jmp case.default.0x45f0e3
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
jmp case.default.0x45f0e3
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.0x45f0e3
mov edi, dword [ebp + 0xc]
test edi, edi
je case.default.0x45f0e3
push 0x3c
call fcn.0051a826
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x45f290
mov ecx, eax
call fcn.0051aedf
mov esi, eax
jmp 0x45f292
xor esi, esi
push edi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0051b345
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.0x45f0e3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp case.default.0x45f0e3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je case.default.0x45f0e3
call fcn.0051b37e
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.0x45f0e3
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.0x45f0e3
push esi
call fcn.0051b327
test eax, eax
jne case.default.0x45f0e3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.default.0x45f0e3
mov eax, dword [ecx + 0x1c]
test eax, eax
jne case.default.0x45f0e3
push esi
call fcn.0051b345
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.0x45f0e3
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.0045ebb0
jmp case.default.0x45f0e3
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0045ec30
jmp case.default.0x45f0e3
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
call fcn.0045ecd0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc