Function at 0x45ff5c
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x4ba380
call fcn.00485421
cmp dword [ebp + 0x80c], 0x300
mov esi, ecx
jne 0x4601f0
push 0x415
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x4601f0
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00484550
add esp, 0xc
push 0x3ff
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, 0x4ecda4
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040ba90
push dword [esi + 0x2c8]
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b680
push dword [0x4ec640]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00417fa1
test eax, eax
je 0x46001a
push 1
jmp 0x46001b
push edi
push dword [esi + 0xabf]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0045fdbc
test eax, eax
je 0x4600d6
push 1
lea ecx, [esi + 0x19a]
call fcn.00451610
lea edi, [esi + 0x9e3]
push 0xffffff
mov ecx, edi
call fcn.004465a2
cmp dword [0x4ec658], 0
jne 0x46011a
push dword [ebp]
mov ecx, 0x4ec5f8
call fcn.0046d478
test eax, eax
jne 0x46011a
push dword [ebp]
mov ecx, 0x4ec5f8
call fcn.0046d4b3
test eax, eax
je 0x46011a
push 1
push dword [ebp]
lea ecx, [ebp - 0x10]
call fcn.0045e782
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0xc9
push eax
mov byte [ebp - 4], 2
call fcn.00455b90
add esp, 0xc
push 0x3af2ff
mov ecx, edi
call fcn.004465a2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
jmp 0x46011a
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x10]
je 0x4600f6
push edi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x10]
call fcn.004548a3
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x4ec658], edi
jne 0x46011a
push edi
lea ecx, [esi + 0x19a]
call fcn.00451610
push 0x3af2ff
lea ecx, [esi + 0x9e3]
call fcn.004465a2
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jne 0x4601c8
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040ba90
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040b680
mov edi, 0x4c1f94
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004269e3
push edi
lea ecx, [ebp - 0x10]
call fcn.00426986
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jge 0x46016e
push 0x80070057
call fcn.0040dfb0
movzx eax, word [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.0045e945
push 0
push 0x800
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0045cd5d
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x4601ae
push edi
push dword [esi + 0xc19]
lea eax, [ebp - 0x14]
push 0x8b
push eax
call fcn.00455b90
add esp, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040dd20
mov edi, dword [ebp - 0x14]
cmp dword [0x4ec658], 0
jne 0x4601dd
push edi
lea ecx, [esi + 0x9e3]
call fcn.00453197
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040dd20
lea ecx, [edi - 0x10]
call fcn.0040dd20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00484647
add ebp, 0x804
leave
ret 0xc