Function at 0x46e910
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x884
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov al, byte [edi + 0x494]
test al, al
jne 0x46ec75
mov ecx, dword [edi + 0x44c]
lea eax, [ebp - 0x290]
push 0x104
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x46ec75
lea edx, [ebp - 0x290]
lea ecx, [edi + 0x46c]
push edx
call fcn.00402b60
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, dword [edi + 0x6c]
jge 0x46ec75
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
mov eax, dword [edi + 0x68]
lea esi, [esi + esi*2]
shl esi, 4
mov byte [ebp - 4], 1
mov eax, dword [esi + eax + 8]
add eax, 0x54
mov ecx, dword [eax]
cmp ecx, ebx
je 0x46e9b5
mov eax, ecx
jmp 0x46e9b8
add eax, 4
lea ecx, [ebp - 0x490]
lea edx, [ebp - 0x690]
push ecx
push edx
lea ecx, [ebp - 0x890]
lea edx, [ebp - 0x70]
push ecx
push edx
push eax
call fcn.0054fba9
lea eax, [ebp - 0x290]
push eax
call fcn.0054e46e
add esp, 0x18
cmp word [ebp + eax*2 - 0x292], 0x5c
mov ebx, 0x63e044
je 0x46e9fb
mov ebx, 0x615f1c
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x46eb92
lea edx, [ebp - 0x290]
test edx, edx
je 0x46eb92
test ebx, ebx
je 0x46eb92
lea eax, [ebp - 0x690]
test eax, eax
je 0x46eb92
lea ecx, [ebp - 0x490]
test ecx, ecx
je 0x46eb92
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x38]
push edx
call fcn.004034d0
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004034d0
lea eax, [ebp - 0x690]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 3
call fcn.004034d0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x50]
call fcn.004034d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x44]
call fcn.00403500
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 6
test eax, eax
je 0x46eaa5
mov dword [ebp - 0x24], eax
jmp 0x46eaab
lea edx, [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x50]
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [ebp - 0x5c]
mov ebx, eax
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [ebp - 0x68]
add ebx, eax
call fcn.00403580
push eax
call fcn.0054e46e
mov dword [ebp - 0x28], ebx
mov ebx, eax
mov eax, dword [ebp - 0x24]
add ebx, edi
push eax
call fcn.0054e46e
mov ecx, dword [ebp - 0x28]
add ebx, ecx
add eax, ebx
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46eb53
lea ecx, [ebp - 0x50]
call fcn.00403580
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x68]
call fcn.00403580
push eax
lea ecx, [ebp - 0x38]
call fcn.00403580
push eax
lea ecx, [ebp - 0x44]
call fcn.00403580
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0054e46e
add esp, 0x1c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov edi, dword [ebp - 0x2c]
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x60]
push 0
mov eax, dword [esi + edx + 0x18]
lea edx, [ebp - 0x20]
push eax
push ecx
mov ecx, dword [0x63e3c8]
push edx
call fcn.00454930
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46ebb9
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x68]
mov ecx, dword [esi + eax + 8]
call fcn.005225b0
mov ecx, dword [edi + 0x68]
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + ecx + 8]
lea ecx, [ebp - 0x88]
push ecx
push 0xffffffffffffffff
mov byte [edx + 0x16e], 1
mov edx, dword [edi + 0x42c]
push 0x100d
push edx
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x80], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jl 0x46ec53
mov eax, dword [0x63e51c]
test eax, eax
je 0x46ec36
mov eax, dword [0x63e3d0]
test eax, eax
mov ecx, eax
jne 0x46ec1e
mov ecx, 0x63e3d4
mov eax, dword [0x63e3e0]
test eax, eax
jne 0x46ec2c
mov eax, 0x63e3e4
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00429df0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x46ec40
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [edi + 0x42c]
push esi
push 4
push eax
call fcn.004315d0
add esp, 0x10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp - 0x14]
inc eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov esi, eax
jmp 0x46e984
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret