Function at 0x4363db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor edi, edi
push edi
push edi
push 0xce
push dword [0x50e688]
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x24]
push eax
push edi
push 0x4dd
push dword [0x50e688]
call esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xb0
push dword [0x50e688]
call esi
push edi
push edi
push 0xb
push dword [0x50e688]
call esi
mov ebx, 0x50fa18
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
mov eax, dword [0x50e660]
jae 0x43646c
shl eax, 2
push dword [eax + 0x50e1f8]
push dword [eax + 0x50e548]
push 0xffffffffffffffff
push edi
push dword [0x50e688]
call fcn.0042a92d
jmp 0x4365b7
shl eax, 2
push dword [eax + 0x50e1f8]
push dword [eax + 0x50e548]
push 0xffffffffffffffff
push edi
push dword [0x50e688]
call fcn.0042a92d
push dword [0x50e688]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x4365b7
xor eax, eax
push 0x7fe
mov word [ebp - 0x82c], ax
lea eax, [ebp - 0x82a]
push edi
push eax
call fcn.00449c78
mov edi, dword [ebp - 4]
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00449e38
add esp, 0x10
inc edi
push edi
push eax
push dword [0x50e688]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
push dword [ebp - 4]
jmp 0x43659b
mov edi, dword [ebp - 8]
sub edi, dword [ebp - 4]
push ebx
sar edi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push dword [0x50e688]
add eax, edi
mov dword [ebp - 0x14], eax
call fcn.0042a892
push 0
push edi
push 0xc9
push dword [0x50e688]
mov dword [ebp - 0x1c], eax
call esi
lea ecx, [ebp - 0x82c]
push ecx
push eax
push 0xc4
push dword [0x50e688]
mov dword [ebp - 0x82c], 0x3ff
call esi
cmp eax, 1
jle 0x436593
push 0x3a
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ecx, eax
lea edx, [ebp - 0x82c]
sub eax, edx
sar eax, 1
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [ebp - 0x1c], ecx
jle 0x436593
mov eax, dword [0x50e660]
shl eax, 2
push dword [eax + 0x4a5ae8]
push dword [eax + 0x4a5ae0]
push dword [ebp - 0x14]
push edi
push dword [0x50e688]
call fcn.0042a92d
mov eax, dword [ebp - 8]
push ebx
add eax, 2
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4364f3
push dword [ebp - 4]
call fcn.00449e73
pop ecx
xor edi, edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0xb1
push dword [0x50e688]
call esi
push edi
push edi
push 0xce
push dword [0x50e688]
call esi
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
je 0x4365f1
sub ecx, eax
push ecx
push edi
push 0xb6
push dword [0x50e688]
call esi
lea eax, [ebp - 0x2c]
push eax
push edi
push 0x4dd
push dword [0x50e688]
call esi
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2c], eax
je 0x436623
movzx eax, ax
push edi
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [0x50e688]
call esi
push edi
push 1
push 0xb
push dword [0x50e688]
call esi
push 5
push edi
push edi
push dword [0x50e688]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
leave
ret