Function at 0x4244f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x63a0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebp, ebp
push ebp
mov esi, ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
push ebp
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.005f2e55
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.005f2c2f
mov dword [esp + 0x50], ebp
push edi
lea ecx, [esp + 0x28]
call fcn.005f2f54
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
xor bl, bl
call fcn.005ea6d5
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, ebp
jle 0x424606
add edi, 3
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e9aa7
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x424604
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edi
push ebp
push eax
call fcn.005ea6d5
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4245f3
mov eax, ebp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4245d0
sub eax, edx
lea edx, [esp + 0x18]
push edx
sar eax, 1
push eax
mov eax, dword [esp + 0x30]
push ebp
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov bl, 1
push ebp
call fcn.005e9ab2
add esp, 4
test bl, bl
jne 0x4246dd
xor ebp, ebp
lea ecx, [esp + 0x14]
call fcn.00402500
mov byte [esp + 0x50], 1
mov edx, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.005ea6d5
mov ecx, eax
call fcn.005efa6e
cmp dword [0x753630], ebp
je 0x4246ab
mov ecx, dword [esp + 0x14]
push ebp
xor eax, eax
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], ebp
mov word [esp + 0x44], ax
call fcn.00401980
mov byte [esp + 0x50], 2
mov edx, dword [esp + 0x38]
mov eax, edx
cmp edx, ebp
jne 0x424665
lea eax, [esp + 0x3c]
lea esi, [eax + 2]
jmp 0x424670
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x424670
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebp
jne 0x424689
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x38]
call fcn.00401210
jmp 0x4246cf
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4246b4
lea ecx, [esp + 0x18]
push ecx
sub eax, esi
push eax
push edx
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x14]
call fcn.00402570
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.005f2f54
mov esi, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.005f2c83
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.006157d3
add esp, 0x40
ret