Function at 0x417958
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x562100
call fcn.0052a208
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.004178ea
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push 0
push 0xf2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xd
mov ecx, 0x647e2c
movsd dword es:[edi], dword [esi]
inc dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
add eax, 0xd
mov dword [ebp - 0x20], eax
call fcn.0041e6da
test eax, eax
je 0x417a73
mov esi, dword [ebp - 0x10]
xor edi, edi
push edi
push edi
push 0xf0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
mov ecx, esi
je 0x417a0c
call fcn.0054a341
test eax, eax
jne 0x4179f1
push 8
jmp 0x417a25
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x4179ff
push 7
jmp 0x417a25
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
add eax, 5
jmp 0x417a31
call fcn.0054a341
test eax, eax
jne 0x417a19
push 4
jmp 0x417a25
mov eax, dword [ebp - 0x14]
and eax, 4
cmp al, 4
jne 0x417a28
push 3
pop edi
jmp 0x417a33
xor eax, eax
cmp dword [esi + 0x40], edi
setne al
inc eax
mov edi, eax
lea ecx, [ebp - 0x1c]
call fcn.0041c8e3
and dword [ebp - 4], 0
push str.Button
push dword [esi + 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.0041c985
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push 3
push dword [ebx + 4]
call fcn.0041ca0a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041c92c
jmp 0x417aa1
mov eax, dword [ebp - 0x10]
xor esi, esi
push esi
push esi
push 0xf0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, esi
je 0x417a91
mov esi, 0x400
push esi
lea eax, [ebp - 0x2c]
push 4
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFrameControl]
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x643788]
mov dword [ebp + 8], eax
mov esi, dword [ebp - 0x10]
push 1
pop edi
lea eax, [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00547e3c
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x417b3c
push edi
mov ecx, ebx
call fcn.0054e781
push dword [esi + 0x3c]
mov edi, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [ebx]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
call fcn.00403932
push eax
mov eax, dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x28]
mov edx, dword [ebx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x4c]
push 0x8024
push esi
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov eax, dword [ebx]
push dword [ebp - 0x10]
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
push dword [ebp - 0x18]
mov ecx, ebx
call dword [eax + 0x30]
push edi
mov ecx, ebx
call fcn.0054e781
test byte [ebp - 0x14], 8
je 0x417b63
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec eax
movsd dword es:[edi], dword [esi]
dec dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DrawFocusRect]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00546968
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4