Function at 0x4577e5
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
lea ebp, [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebp
call fcn.00415440
mov ecx, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x64
push 0
push 0x406
push 0x3e8
push ecx
call edi
mov edx, dword [ebp]
push 0x64
push 0
push 0x406
push 0x3f1
push edx
call edi
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push eax
call ebx
mov edx, dword [esi + 0x22c]
lea edi, [esi + 0x22c]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
push edi
mov ecx, edi
call eax
push eax
lea ecx, [edi + 8]
call fcn.00415d30
test eax, eax
je 0x457881
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x457881
mov edx, dword [esp + 0x10]
mov dword [edi + 0x20], eax
mov dword [edi + 4], edx
mov eax, dword [ebp]
push 0x3ed
push eax
call ebx
mov edx, dword [esi + 0x26c]
lea edi, [esi + 0x26c]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
push edi
mov ecx, edi
call eax
push eax
lea ecx, [edi + 8]
call fcn.00415d30
test eax, eax
je 0x4578d0
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x4578d0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x20], eax
mov dword [edi + 4], edx
mov eax, dword [ebp]
push 0x3ec
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x228], eax
mov ecx, dword [esi + 0x224]
push ecx
push 0
push 0x1003
mov edx, eax
push edx
call edi
mov eax, dword [esi + 0x224]
mov ecx, dword [esi + 0x228]
push eax
push 1
push 0x1003
push ecx
call edi
mov edx, dword [esi + 0x228]
push 0x20
push 0
push 0x1036
push edx
call edi
xor eax, eax
mov dword [esp + 0x18], eax
push 0x74
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x1c], eax
call fcn.00443150
add esp, 4
push eax
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x228]
push 0x1057
push eax
call edi
mov edx, dword [esi + 0x228]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x1061
add eax, 0xf
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0
call edi
mov eax, dword [esi + 0x228]
push 0x46
push 0
push 0x101e
push eax
call edi
xor eax, eax
mov dword [esp + 0x18], eax
push 0x75
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x1c], eax
call fcn.00443150
mov ecx, dword [esi + 0x228]
add esp, 4
push eax
push 0
push 0x1057
mov dword [esp + 0x2c], eax
push ecx
call edi
lea edx, [esp + 0x14]
push edx
add eax, 0xf
push 1
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x228]
push 0x1061
push eax
mov dword [esp + 0x38], 1
call edi
mov ecx, dword [esi + 0x228]
push 0x96
push 1
push 0x101e
push ecx
call edi
mov edx, dword [ebp]
push 1
push edx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 4]
lea ecx, [esi + 0x20]
push 0
call edx
mov ecx, esi
call fcn.00456d70
cmp byte [esi + 0x2b0], 0
jne 0x457ab1
mov eax, dword [esi + 0x2bc]
test eax, eax
je 0x457a65
push eax
call fcn.0049119f
add esp, 4
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490ef9
mov dword [esi + 0x2bc], eax
mov eax, dword [ebp]
add esp, 4
push eax
call ebx
mov ecx, dword [esi + 0x2bc]
push edi
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0x10