Function at 0x45fd84
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, 0x4b9ebd
call fcn.00484f9f
cmp dword [ebp + 0x80c], 0x300
mov esi, ecx
jne 0x460018
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 0x460018
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.004840d0
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 0x45fe42
push 1
jmp 0x45fe43
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.0045fbe4
test eax, eax
je 0x45fefe
push 1
lea ecx, [esi + 0x19a]
call fcn.004515a9
lea edi, [esi + 0x9e3]
push 0xffffff
mov ecx, edi
call fcn.00446539
cmp dword [0x4ec658], 0
jne 0x45ff42
push dword [ebp]
mov ecx, 0x4ec5f8
call fcn.0046cfe4
test eax, eax
jne 0x45ff42
push dword [ebp]
mov ecx, 0x4ec5f8
call fcn.0046d01f
test eax, eax
je 0x45ff42
push 1
push dword [ebp]
lea ecx, [ebp - 0x10]
call fcn.0045e612
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push 0xc9
push eax
mov byte [ebp - 4], 2
call fcn.00455b29
add esp, 0xc
push 0x3af2ff
mov ecx, edi
call fcn.00446539
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
jmp 0x45ff42
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebp - 0x10]
je 0x45ff1e
push edi
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x10]
call fcn.0045483c
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x4ec658], edi
jne 0x45ff42
push edi
lea ecx, [esi + 0x19a]
call fcn.004515a9
push 0x3af2ff
lea ecx, [esi + 0x9e3]
call fcn.00446539
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jne 0x45fff0
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, 0x4c1f2c
push edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0042698e
push edi
lea ecx, [ebp - 0x10]
call fcn.00426931
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jge 0x45ff96
push 0x80070057
call fcn.0040dfb0
movzx eax, word [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, esi
call fcn.0045e7d5
push 0
push 0x800
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0045cbed
mov edi, dword [ebp - 0x18]
test eax, eax
jne 0x45ffd6
push edi
push dword [esi + 0xc19]
lea eax, [ebp - 0x14]
push 0x8b
push eax
call fcn.00455b29
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 0x460005
push edi
lea ecx, [esi + 0x9e3]
call fcn.00453130
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.004841c7
add ebp, 0x804
leave
ret 0xc