Function at 0x439ae0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d423d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x517b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], 0
push 0x4e70ec
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004a2650
push 0
push 0x410
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x439b5e
call fcn.004a2a20
push 0x4e70fc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x405
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x439ba2
call fcn.004a2a20
push 0x4e7110
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x406
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x439be6
call fcn.004a2a20
push 0x4e7120
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x411
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x439c2a
call fcn.004a2a20
push 0x4e7138
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x412
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x439c6e
call fcn.004a2a20
push 0x4e714c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x403
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x439cb2
call fcn.004a2a20
push 0x4e715c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004a2650
push 0
push 0x404
push dword [ebx + 4]
lea eax, [ebp - 0x24]
push eax
call fcn.00468fe0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.004a25e0
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x439cf6
call fcn.004a2a20
push 0x3f9
push dword [ebx + 4]
mov byte [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x439e0f
lfence
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push esi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x439db7
cmp eax, 0x7fffffff
ja 0x439e51
lea ebx, [eax + eax]
cmp ebx, 0x1000
jb 0x439d85
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x439e56
push eax
lfence
call fcn.004a71b8
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x439e5b
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x439d99
test ebx, ebx
je 0x439d97
push ebx
lfence
call fcn.004a71b8
add esp, 4
jmp 0x439d99
xor eax, eax
push ebx
lea edi, [ebx + eax]
mov dword [ebp - 0x20], eax
push 0
push eax
mov dword [ebp - 0x18], edi
call fcn.004aa220
mov ecx, dword [ebp - 0x20]
add esp, 0xc
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
sub edi, ecx
mov byte [ebp - 4], 0xf
sar edi, 1
push edi
push ecx
push esi
lfence
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.004a2650
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x439e0f
mov eax, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x439e05
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439e5b
push edx
push ecx
call fcn.004a71e8
add esp, 8
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call fcn.00466c80
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0x10
test ecx, ecx
je 0x439e31
call fcn.004a2a20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a71aa
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040dbf0
call fcn.00404d40
call fcn.004aeb2f
int3