Function at 0x45ef80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542223
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 0x45efa6
mov eax, dword [ebp + 8]
cmp eax, 0x3e8
jg 0x45f2d5
je 0x45f24c
dec eax
cmp eax, 6
ja case.default.0x45f2e3
jmp dword [eax*4 + 0x45f5b0]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
test esi, esi
je 0x45eff2
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.0050334a
add esp, 4
mov edx, dword [ebp + 0xc]
push 0
push eax
push edx
lea ecx, [ebp - 0xf4]
call fcn.00443980
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0
call fcn.0051a4af
mov eax, dword [ebp - 0x58]
cmp eax, 0xfffffffe
je 0x45f068
test esi, esi
je 0x45f068
push eax
lea eax, [ebp - 0x48]
push 0x574800
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.00517a55
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.0051744e
lea ecx, [ebp - 0xf4]
mov dword [ebp - 4], 0xffffffff
call fcn.0051a0e5
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.0x45f2e3
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.004588f0
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.0051adbc
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.0x45f2e3
push edi
push eax
lea ecx, [esi + 0x304]
mov dword [esi + 0x808], edi
call fcn.004c9050
push edi
push 0x599360
mov ecx, esi
mov dword [esi + 0x80c], edi
call fcn.00463a00
jmp case.default.0x45f2e3
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push 0
push edx
push eax
lea ecx, [esi + 0x304]
call fcn.004d2e80
test eax, eax
je case.default.0x45f2e3
mov ecx, dword [ebp + 0x10]
push 0
add ecx, 0x14
call fcn.004d34e0
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.004d2e80
test eax, eax
je case.default.0x45f2e3
mov edx, dword [ebp + 0xc]
mov edi, dword [ebx + 4]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edx + 0x14]
call fcn.004d34e0
test edi, edi
jl case.default.0x45f2e3
cmp edi, eax
jge case.default.0x45f2e3
mov eax, dword [ebp + 8]
push 0
add edi, eax
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [eax + 0x14]
call fcn.004d2670
mov esi, eax
add esi, 0x18
push esi
call fcn.00474320
add esi, eax
push esi
call fcn.00474320
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.00503190
mov ecx, dword [ebp + 0xc]
add esp, 0x14
add ecx, 0x14
push edi
call fcn.004d26c0
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.0x45f2e3
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x45f2bf
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x45f2b5
mov ecx, eax
test ecx, ecx
jne 0x45f275
xor ecx, ecx
jmp 0x45f27b
mov ecx, dword [esi + 0x1e8]
push 1
push eax
push ecx
call fcn.004dd280
mov dword [esi + 0x3a8], eax
mov ecx, dword [esi + 0x1f0]
mov eax, ecx
add esp, 0xc
test eax, eax
jne 0x45f29d
xor eax, eax
jmp 0x45f2a3
mov eax, dword [esi + 0x1e8]
push 0
push ecx
push eax
call fcn.004dd280
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.0x45f2e3
add eax, 0xfffffc17
cmp eax, 0xd
ja case.default.0x45f2e3
jmp dword [eax*4 + 0x45f5cc]
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.00450cd0
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 0x45f439
cmp eax, 0x3e8
jbe 0x45f42e
cmp eax, 0x3ee
ja 0x45f42e
cmp eax, 0x3e9
jne 0x45f390
mov eax, 0x573cb8
jmp 0x45f3cb
cmp eax, 0x3ea
jne 0x45f39e
mov eax, 0x573480
jmp 0x45f3cb
cmp eax, 0x3eb
jne 0x45f3ac
mov eax, 0x573708
jmp 0x45f3cb
cmp eax, 0x3ec
jne 0x45f3ba
mov eax, 0x5899b8
jmp 0x45f3cb
cmp eax, 0x3ed
mov eax, 0x573cc0
je 0x45f3cb
mov eax, 0x58a674
add esi, 0x894
push eax
lea ecx, [ebp - 0x10]
push esi
push ecx
call fcn.00519c4f
push 0x57347c
lea edx, [ebp - 0x14]
push eax
push edx
mov dword [ebp - 4], 3
call fcn.00519c4f
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.00519a06
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00519a06
jmp case.default.0x45f2e3
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
jmp case.default.0x45f2e3
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.0x45f2e3
mov edi, dword [ebp + 0xc]
test edi, edi
je case.default.0x45f2e3
push 0x3c
call fcn.0051a8b5
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x45f490
mov ecx, eax
call fcn.0051af6e
mov esi, eax
jmp 0x45f492
xor esi, esi
push edi
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0051b3d4
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.0x45f2e3
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp case.default.0x45f2e3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je case.default.0x45f2e3
call fcn.0051b40d
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.0x45f2e3
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.0x45f2e3
push esi
call fcn.0051b3b6
test eax, eax
jne case.default.0x45f2e3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je case.default.0x45f2e3
mov eax, dword [ecx + 0x1c]
test eax, eax
jne case.default.0x45f2e3
push esi
call fcn.0051b3d4
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.0x45f2e3
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.0045edb0
jmp case.default.0x45f2e3
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0045ee30
jmp case.default.0x45f2e3
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edx
call fcn.0045eed0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc